/* ==========================================================================
   DeutschDreams — Study in Germany from Pakistan
   Design system + components. No framework, no build step.
   ========================================================================== */

:root {
  --ink: #0e1430;
  --ink-2: #1b2350;
  --ink-3: #26306b;
  --cream: #fff8ee;
  --cream-2: #fdf0dc;
  --paper: #ffffff;
  --gold: #ffc83d;
  --gold-deep: #f2a900;
  --coral: #ff7a59;
  --red: #e5484d;
  --green: #0e9f6e;
  --green-soft: #d8f5e9;
  --sky: #7aa7ff;
  --text: #1a1f3a;
  --muted: #5b6383;
  --muted-light: #aab1d6;
  --line: rgba(14, 20, 48, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);

  --grad-warm: linear-gradient(120deg, #ffc83d 0%, #ff7a59 50%, #e5484d 100%);
  --grad-ink: linear-gradient(160deg, #26306b 0%, #0e1430 70%);
  --grad-flag: linear-gradient(90deg, #111 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(14, 20, 48, 0.06);
  --shadow: 0 18px 50px -18px rgba(14, 20, 48, 0.25);
  --shadow-lg: 0 40px 90px -30px rgba(14, 20, 48, 0.45);
  --shadow-glow: 0 18px 40px -12px rgba(255, 122, 89, 0.55);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.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: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-dark { background: var(--ink); color: #e8eaf6; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-cream2 { background: var(--cream-2); }
.section-white { background: var(--paper); }
.center { text-align: center; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--grad-flag); }
.section-dark .eyebrow { color: var(--gold); }
.h-display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.03em; }
.h-xl { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.025em; }
.h-lg { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-dark .lead { color: var(--muted-light); }
.center .lead { margin-inline: auto; }
.accent { font-style: italic; font-weight: 500; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.underline-swash { position: relative; white-space: nowrap; }
.underline-swash::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.08em; height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 50 2, 120 2, 198 10' fill='none' stroke='%23FFC83D' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) 0.4s;
}
.is-visible .underline-swash::after, .underline-swash.is-visible::after { transform: scaleX(1); }
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center .lead { margin-inline: auto; }
.urdu { font-family: var(--font-urdu); direction: rtl; line-height: 2.2; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; letter-spacing: 0.005em;
  background: var(--bg); color: var(--fg); isolation: isolate; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { --bg: transparent; background: var(--grad-warm); background-size: 160% 160%; color: var(--ink); box-shadow: var(--shadow-glow); animation: gradientShift 6s ease infinite; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-dark { --bg: var(--ink); --fg: #fff; box-shadow: var(--shadow); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.section-dark .btn-ghost, .hero .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.section-dark .btn-ghost:hover, .hero .btn-ghost:hover { --bg: #fff; --fg: var(--ink); }
.btn-whatsapp { --bg: #25d366; --fg: #06301a; box-shadow: 0 16px 36px -14px rgba(37,211,102,.7); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 18px; height: 18px; flex: none; }
.section-dark .link-arrow { color: #fff; }

@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Page curtain + progress ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink); display: grid; place-items: center;
  transition: clip-path 0.9s var(--ease), visibility 0s linear 0.9s; clip-path: inset(0 0 0 0);
}
.curtain img { width: 76px; height: 76px; animation: curtainPulse 1.2s var(--ease) infinite alternate; }
.curtain-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: var(--grad-flag); transform-origin: left; animation: curtainBar 0.8s var(--ease) forwards; }
.is-loaded .curtain { clip-path: inset(0 0 100% 0); visibility: hidden; }
.is-leaving .curtain { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.5s var(--ease); }
@keyframes curtainPulse { from { transform: scale(0.92) rotate(-4deg); } to { transform: scale(1.05) rotate(3deg); } }
@keyframes curtainBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.no-js .curtain { display: none; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; background: var(--grad-warm); transform-origin: left; transform: scaleX(0); }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(255,200,61,.16), transparent 65%);
  transition: opacity 0.4s; opacity: 0; mix-blend-mode: multiply;
}
.has-cursor .cursor-glow { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background 0.4s, box-shadow 0.4s, height 0.4s var(--ease), color 0.4s;
  color: #fff;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header.is-scrolled, .site-header.on-light { background: rgba(255, 248, 238, 0.82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.site-header.is-scrolled { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.38rem; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; transition: transform 0.6s var(--ease-bounce); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand em { font-style: italic; font-weight: 500; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; font-weight: 600; margin-top: -2px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 8px 12px; font-weight: 600; font-size: 0.93rem; opacity: 0.88; transition: opacity 0.2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.35s var(--ease); transform-origin: left; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav a:not(.btn) { white-space: nowrap; }

@media (max-width: 1200px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 6px; padding: 90px 24px 40px;
    background: var(--ink); color: #fff; clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path 0.7s var(--ease); overflow-y: auto;
  }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 1.7rem; opacity: 0; transform: translateY(18px); transition: opacity 0.4s, transform 0.5s var(--ease); }
  .nav .btn { margin: 18px 0 0; }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 40px) 38px); }
  .nav-open .nav a:not(.btn) { opacity: 1; transform: none; }
  .nav-open .nav a:nth-child(2) { transition-delay: 0.05s; } .nav-open .nav a:nth-child(3) { transition-delay: 0.1s; }
  .nav-open .nav a:nth-child(4) { transition-delay: 0.15s; } .nav-open .nav a:nth-child(5) { transition-delay: 0.2s; }
  .nav-open .nav a:nth-child(6) { transition-delay: 0.25s; } .nav-open .nav a:nth-child(7) { transition-delay: 0.3s; }
  .nav-open .nav a:nth-child(8) { transition-delay: 0.35s; } .nav-open .nav a:nth-child(9) { transition-delay: 0.4s; }
  .nav-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 0; overflow: hidden;
  background: var(--grad-ink); color: #dfe3f7; display: flex; flex-direction: column;
}
.hero .container { position: relative; z-index: 3; flex: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .lead { color: #c3c9ea; margin-bottom: 34px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line-light); font-size: 0.86rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(10px);
}
.hero-badge b { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 0.74rem; letter-spacing: 0.06em; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%) rotateX(-60deg); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transform-origin: 50% 0; }
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-60%) rotateX(60deg); }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; font-size: 0.9rem; color: #aab1d6; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--ink-2); margin-left: -10px; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; color: var(--ink); }
.avatar-stack span:first-child { margin-left: 0; }
.stars { color: var(--gold); letter-spacing: 2px; }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
.hero-art svg.route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-path { stroke-dasharray: 2 12; animation: dashFlow 1.6s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -28; } }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(3); opacity: 0; } }
.globe-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin 60s linear infinite; }
.globe-ring.r2 { inset: 20%; border-style: solid; border-color: rgba(255,200,61,.14); animation-duration: 90s; animation-direction: reverse; }
.globe-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow-lg); font-size: 0.86rem; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 0.92rem; }
.float-card small { color: var(--muted); }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.float-card.c1 { top: 6%; left: -4%; }
.float-card.c2 { top: 44%; right: -6%; animation-delay: -2s; }
.float-card.c3 { bottom: 9%; left: 4%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: blob 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; background: #e5484d; top: -18vw; right: -10vw; opacity: 0.35; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; background: #ffc83d; bottom: -14vw; left: -12vw; opacity: 0.22; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; background: #0e9f6e; top: 30%; left: 35%; opacity: 0.16; animation-delay: -12s; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, -3vw) scale(1.12); } 100% { transform: translate(-3vw, 4vw) scale(0.94); } }
.stars-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image:
  radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 48% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 66% 44%, #fff 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 82% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 72%, #fff 50%, transparent 51%),
  radial-gradient(1.3px 1.3px at 6% 84%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 38% 40%, #fff 50%, transparent 51%);
  opacity: 0.5; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: 0.2; } }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.skyline { position: relative; z-index: 2; width: 100%; height: auto; margin-top: 30px; color: #1b2350; }
.skyline .win { animation: windowGlow 4s ease-in-out infinite alternate; }
.skyline .win:nth-child(3n) { animation-delay: -1.3s; } .skyline .win:nth-child(4n) { animation-delay: -2.6s; }
@keyframes windowGlow { from { opacity: 0.25; } to { opacity: 1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-ink); color: #c3c9ea; padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(64px, 9vw, 110px); }
.page-hero .container { position: relative; z-index: 3; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.03em; max-width: 18ch; }
.page-hero .lead { color: #c3c9ea; }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad-flag); z-index: 4; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: #8f97c4; margin-bottom: 22px; list-style: none; padding: 0; }
.breadcrumbs li + li::before { content: "→"; margin-right: 8px; opacity: 0.6; }
.breadcrumbs a:hover { color: var(--gold); }
.page-hero .hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid var(--line-light); color: #fff; }
.chip-light { background: var(--paper); border-color: var(--line); color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.uni-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow-sm); }
.uni-crest { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; color: #fff; letter-spacing: -0.02em; flex: none; }
.uni-pill small { display: block; font-weight: 500; color: var(--muted); font-size: 0.76rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-light); position: relative; overflow: hidden; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 3.4rem); font-weight: 600; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stat-num .unit { font-size: 0.55em; color: var(--gold); margin-left: 2px; }
.stat p { margin: 10px 0 0; color: var(--muted-light); font-size: 0.92rem; }
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,61,.22), transparent 70%); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-60 { grid-template-columns: 1.2fr 0.8fr; }

.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.34rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px; background: var(--cream-2); transition: transform 0.5s var(--ease-bounce); }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); }
.card-dark { background: var(--ink-2); border-color: var(--line-light); color: #c3c9ea; }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--muted-light); }
.card-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.tilt { transform-style: preserve-3d; }

.bg-gold { background: #fff1c9 !important; } .bg-coral { background: #ffe3da !important; } .bg-red { background: #fde0e1 !important; }
.bg-green { background: var(--green-soft) !important; } .bg-sky { background: #e2ebff !important; } .bg-lilac { background: #ece6ff !important; }

/* ---------- Journey preview (home) ---------- */
.journey-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: step; }
.journey-strip::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 16px); opacity: 0.5; }
.jstep { position: relative; text-align: center; padding: 0 6px; }
.jstep .dot { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.7rem; box-shadow: var(--shadow); position: relative; transition: transform 0.5s var(--ease-bounce); }
.jstep:hover .dot { transform: translateY(-6px) rotate(-6deg); }
.jstep .dot::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 0.76rem; font-weight: 800; display: grid; place-items: center; font-family: var(--font-body); }
.jstep h3 { font-size: 1.08rem; margin-bottom: 6px; }
.jstep p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Journey timeline (journey page) ---------- */
.timeline { position: relative; max-width: 1040px; margin: 0 auto; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--line); border-radius: 4px; }
.timeline-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--grad-warm); border-radius: 4px; }
.timeline-plane { position: absolute; left: 50%; top: 0; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; z-index: 3; box-shadow: 0 0 0 6px var(--cream), var(--shadow-glow); font-size: 1.2rem; transition: top 0.1s linear; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-bottom: 56px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item .tl-card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-card { grid-column: 2; text-align: left; }
.tl-item .tl-meta { grid-column: 2; grid-row: 1; align-self: center; }
.tl-item:nth-child(even) .tl-meta { grid-column: 1; text-align: right; }
.tl-node { position: absolute; left: 50%; top: 30px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--cream); border: 4px solid var(--line); z-index: 2; transition: border-color 0.4s, transform 0.5s var(--ease-bounce), background 0.4s; }
.tl-item.is-active .tl-node { border-color: var(--coral); background: var(--gold); transform: scale(1.25); }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: var(--shadow-sm); transition: box-shadow 0.5s, transform 0.5s var(--ease); }
.tl-item.is-active .tl-card { box-shadow: var(--shadow); }
.tl-card .step-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.tl-card h3 { font-size: 1.5rem; }
.tl-card p { color: var(--muted); }
.tl-card ul { text-align: left; color: var(--muted); margin: 0; padding-left: 0; list-style: none; }
.tl-card li { position: relative; padding: 6px 0 6px 30px; border-top: 1px dashed var(--line); font-size: 0.95rem; }
.tl-card li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
.tl-meta .emoji-big { font-size: 4.2rem; line-height: 1; display: inline-block; animation: floaty 5s ease-in-out infinite; }
.tl-meta .time-chip { display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--gold); font-size: 0.82rem; font-weight: 700; }

/* ---------- GPA band ---------- */
.gpa-band { position: relative; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); background: var(--grad-ink); color: #c3c9ea; overflow: hidden; }
.gpa-band h2 { color: #fff; }
.gpa-band .lead { color: #c3c9ea; }
.gpa-band .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.gpa-band .btn-ghost:hover { --bg: #fff; --fg: var(--ink); }
.gpa-band .big-gpa { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 11rem); line-height: 0.85; font-weight: 700; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.25); position: relative; display: inline-block; }
.gpa-band .big-gpa s { text-decoration: none; position: relative; }
.gpa-band .big-gpa s::after { content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: 10px; border-radius: 6px; background: var(--grad-warm); transform: rotate(-10deg) scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 0.3s; }
.gpa-band.is-visible .big-gpa s::after, .is-visible .big-gpa s::after { transform: rotate(-10deg) scaleX(1); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; margin-bottom: 44px; }
.toggle button { position: relative; z-index: 1; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; color: var(--muted); transition: color 0.3s; }
.toggle button[aria-pressed="true"] { color: #fff; }
.toggle .pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--ink); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured { background: linear-gradient(160deg, #1b2350, #0e1430) padding-box, var(--grad-warm) border-box; border: 2px solid transparent; color: #c3c9ea; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--grad-warm); color: var(--ink); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--shadow-glow); }
.price-card .pkg-icon { font-size: 2rem; margin-bottom: 14px; }
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-card .tagline { font-size: 0.92rem; color: var(--muted); min-height: 3em; }
.price-card.featured .tagline { color: var(--muted-light); }
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin: 18px 0 4px; }
.price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--coral); letter-spacing: 0; margin-right: 4px; vertical-align: super; }
.price-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.price-card.featured .price-note { color: var(--muted-light); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 0.93rem; flex: 1; }
.price-card li { position: relative; padding-left: 28px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 0.68rem; font-weight: 800; display: grid; place-items: center; }
.price-card li.no { opacity: 0.45; }
.price-card li.no::before { content: "–"; background: var(--line); color: var(--muted); }
.price-card.featured li::before { background: rgba(255,200,61,.16); color: var(--gold); }
.price-swap { display: inline-block; transition: opacity 0.3s, transform 0.4s var(--ease); }
.price-swap.is-swapping { opacity: 0; transform: translateY(-10px); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 0.94rem; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.compare tbody tr:hover { background: var(--cream); }
.compare .yes { color: var(--green); font-weight: 800; }
.compare .noo { color: #c4c8dc; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table-wrap .compare { min-width: 680px; }

.addon { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.addon:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.addon .card-icon { margin: 0; width: 48px; height: 48px; font-size: 1.35rem; flex: none; }
.addon h3 { font-size: 1.1rem; margin-bottom: 4px; }
.addon p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.addon .addon-price { font-weight: 800; color: var(--coral); font-size: 0.92rem; margin-top: 6px; display: block; }

/* ---------- Universities ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 0.9rem; color: var(--muted); transition: all 0.3s var(--ease); }
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box { display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 0 auto 22px; padding: 6px 6px 6px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; padding: 10px 0; min-width: 0; }
.uni-card { display: flex; flex-direction: column; gap: 14px; }
.uni-card[hidden] { display: none; }
.uni-card .uni-top { display: flex; gap: 14px; align-items: center; }
.uni-card .uni-crest { width: 56px; height: 56px; border-radius: 16px; font-size: 1rem; }
.uni-card h3 { font-size: 1.18rem; margin: 0; }
.uni-card .city { font-size: 0.86rem; color: var(--muted); }
.uni-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; background: var(--cream-2); color: var(--ink); }
.tag.green { background: var(--green-soft); color: #05603f; }
.tag.gold { background: #fff1c9; color: #7a5300; }
.tag.red { background: #fde0e1; color: #9b1c22; }
.uni-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.86rem; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.uni-facts b { display: block; color: var(--ink); font-size: 0.95rem; }
.uni-facts span { color: var(--muted); }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }

/* ---------- Testimonials ---------- */
.reviews-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px; scrollbar-width: none; scroll-behavior: smooth; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(420px, 86%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-size: 1.04rem; color: var(--text); line-height: 1.7; position: relative; }
.review blockquote::before { content: "“"; position: absolute; top: -40px; left: -6px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--gold); opacity: 0.6; }
.review-person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: var(--ink); flex: none; position: relative; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.review-person b { display: block; color: var(--ink); }
.review-person small { color: var(--muted); font-size: 0.84rem; }
.review .uni-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--cream); font-size: 0.8rem; font-weight: 700; }
.review .uni-badge i { width: 22px; height: 22px; border-radius: 7px; display: inline-block; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; transition: all 0.3s var(--ease); }
.carousel-nav button:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.carousel-nav svg { width: 20px; height: 20px; }
.sample-note { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-top: 8px; }
.masonry { columns: 3 320px; column-gap: 22px; }
.masonry .card { break-inside: avoid; margin-bottom: 22px; display: inline-block; width: 100%; }
.video-review { aspect-ratio: 9 / 12; border-radius: var(--radius-lg); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; color: #fff; background: var(--grad-ink); }
.video-review .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); display: grid; place-items: center; transition: transform 0.4s var(--ease-bounce); }
.video-review:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.video-review .play::before { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.video-review h3 { color: #fff; font-size: 1.2rem; margin: 0; }
.video-review small { opacity: 0.8; }
.video-review .vr-bg { position: absolute; inset: 0; opacity: 0.6; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.4s, border-color 0.3s; overflow: hidden; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform 0.4s var(--ease), background 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); background: var(--gold); }
.faq .faq-body { padding: 0 26px 24px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 84px) clamp(24px, 6vw, 72px); background: var(--grad-warm); background-size: 200% 200%; animation: gradientShift 10s ease infinite; color: var(--ink); overflow: hidden; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin: 0 auto 28px; font-size: 1.08rem; color: #3a2a2a; }
.cta-band .btn-row { justify-content: center; }
.cta-band .plane-fly { position: absolute; top: 18%; left: -10%; font-size: 2.4rem; animation: planeFly 12s linear infinite; opacity: 0.85; }
@keyframes planeFly { 0% { transform: translate(0, 40px) rotate(8deg); } 50% { transform: translate(60vw, -20px) rotate(-4deg); } 100% { transform: translate(125vw, 30px) rotate(6deg); } }
.cta-band .ring { position: absolute; border-radius: 50%; border: 2px solid rgba(14,20,48,.12); }
.cta-band .ring.a { width: 380px; height: 380px; right: -120px; bottom: -160px; }
.cta-band .ring.b { width: 240px; height: 240px; left: -80px; top: -100px; }

/* ---------- Booklets / flipbook ---------- */
.booklet-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.flipbook { position: relative; width: min(100%, 520px); aspect-ratio: 1.42 / 1; margin: 0 auto; perspective: 2200px; }
.flipbook .book { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(8deg); }
.flipbook .page {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d;
  transition: transform 1s var(--ease); cursor: pointer;
}
.flipbook .page.is-flipped { transform: rotateY(-180deg); }
.flipbook .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 22px 20px; border-radius: 4px 14px 14px 4px; background: #fffdf7; box-shadow: inset 12px 0 22px -14px rgba(0,0,0,.25), 0 10px 30px -10px rgba(14,20,48,.35); overflow: hidden; font-size: 0.78rem; line-height: 1.5; color: var(--text); }
.flipbook .face.back { transform: rotateY(180deg); border-radius: 14px 4px 4px 14px; box-shadow: inset -12px 0 22px -14px rgba(0,0,0,.25), 0 10px 30px -10px rgba(14,20,48,.35); }
.flipbook .face h4 { font-size: 1.05rem; margin-bottom: 8px; }
.flipbook .face ul { margin: 0; padding-left: 1.1em; }
.flipbook .face li { margin-bottom: 4px; }
.flipbook .face .pg { position: absolute; bottom: 10px; right: 16px; font-size: 0.7rem; color: var(--muted); }
.flipbook .face.back .pg { right: auto; left: 16px; }
.flipbook .cover { background: var(--grad-ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.flipbook .cover h4 { color: #fff; font-size: 1.5rem; line-height: 1.05; }
.flipbook .cover .flag-bar { height: 6px; border-radius: 6px; background: var(--grad-flag); width: 60%; }
.flipbook .base-left { position: absolute; top: 0; left: 0; width: 50%; height: 100%; border-radius: 14px 4px 4px 14px; background: #f3ead9; box-shadow: 0 20px 40px -20px rgba(14,20,48,.5); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 0.82rem; }
.flip-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.flip-controls .count { font-weight: 700; font-size: 0.9rem; color: var(--muted); min-width: 90px; text-align: center; }
.booklet-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.booklet-card { position: relative; padding: 30px 26px 26px; border-radius: 6px var(--radius-lg) var(--radius-lg) 6px; color: #fff; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform 0.6s var(--ease), box-shadow 0.6s; transform-origin: left center; }
.booklet-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0)); }
.booklet-card:hover { transform: perspective(900px) rotateY(-14deg) translateX(6px); box-shadow: var(--shadow-lg); }
.booklet-card h3 { color: #fff; font-size: 1.5rem; margin: 18px 0 8px; }
.booklet-card p { color: rgba(255,255,255,.82); font-size: 0.92rem; }
.booklet-card .btn { margin-top: auto; align-self: flex-start; }
.booklet-card .bk-emoji { font-size: 2.6rem; }
.booklet-card.b1 { background: linear-gradient(150deg, #26306b, #0e1430); }
.booklet-card.b2 { background: linear-gradient(150deg, #ff7a59, #e5484d); }
.booklet-card.b3 { background: linear-gradient(150deg, #0e9f6e, #0a5f45); }
.booklet-card.b4 { background: linear-gradient(150deg, #f2a900, #c27c00); }
.booklet-card.b5 { background: linear-gradient(150deg, #5b4bd6, #2d1f8a); }
.booklet-card.b6 { background: linear-gradient(150deg, #1d1d1f, #3b3b40); }

.article { font-size: 1.05rem; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.article h3 { font-size: 1.3rem; margin-top: 1.4em; }
.article p, .article li { color: #3b4166; }
.article li { margin-bottom: 0.5em; }
.article .callout { padding: 22px 24px; border-radius: var(--radius); background: #fff1c9; border-left: 5px solid var(--gold-deep); margin: 26px 0; }
.article .callout p:last-child { margin: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.toc h3 { font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 0.94rem; font-weight: 600; }
.toc a:hover { color: var(--coral); }
.with-toc { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }

.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.city-card { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.city-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.city-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.cost-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.cost-table td, .cost-table th { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cost-table th { background: var(--cream-2); font-weight: 700; }
.cost-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }

/* ---------- Profile analyzer ---------- */
.analyzer { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.panel-sticky { position: sticky; top: calc(var(--header-h) + 10px); }
.steps-dots { display: flex; gap: 8px; margin-bottom: 26px; }
.steps-dots span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.steps-dots span::after { content: ""; position: absolute; inset: 0; background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.steps-dots span.done::after { transform: scaleX(1); }
.form-step { display: none; animation: stepIn 0.6s var(--ease); }
.form-step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.form-step h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-step .hint { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.field small { color: var(--muted); font-size: 0.8rem; }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; outline: none; font-size: 0.98rem;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,122,89,.15); background: #fff; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1430' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: all 0.25s var(--ease); height: 100%; }
.choice span em { font-style: normal; font-size: 1.4rem; }
.choice span small { font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.choice input:checked + span { border-color: var(--coral); background: #fff4ef; box-shadow: 0 0 0 4px rgba(255,122,89,.12); transform: translateY(-2px); }
.choice input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.range { width: 100%; accent-color: var(--coral); }
.range-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-error { color: var(--red); font-size: 0.86rem; font-weight: 600; min-height: 1.2em; }

.score-ring { position: relative; width: 210px; height: 210px; margin: 0 auto 10px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { stroke: var(--line); }
.score-ring .bar { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.score-ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring .val b { display: block; font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--ink); letter-spacing: -0.04em; }
.score-ring .val small { color: var(--muted); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.verdict { text-align: center; margin-bottom: 22px; }
.verdict h3 { font-size: 1.4rem; margin-bottom: 4px; }
.verdict p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.meter { margin-bottom: 14px; }
.meter-head { display: flex; justify-content: space-between; font-size: 0.86rem; font-weight: 700; margin-bottom: 6px; }
.meter-head span:last-child { color: var(--muted); }
.meter-bar { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--grad-warm); transition: width 1.4s var(--ease); }
.grade-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.grade-box div { padding: 16px; border-radius: 16px; background: var(--cream); text-align: center; }
.grade-box b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.grade-box small { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.pathways { display: grid; gap: 10px; margin: 18px 0; }
.pathway { display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); align-items: flex-start; animation: stepIn 0.6s var(--ease) both; }
.pathway .pw-ico { font-size: 1.5rem; line-height: 1; margin-top: 2px; }
.pathway b { display: block; color: var(--ink); }
.pathway p { margin: 2px 0 0; font-size: 0.86rem; color: var(--muted); }
.pathway .fit { margin-left: auto; flex: none; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.fit.high { background: var(--green-soft); color: #05603f; }
.fit.mid { background: #fff1c9; color: #7a5300; }
.fit.low { background: #fde0e1; color: #9b1c22; }
.tips { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 0.9rem; }
.tips li { padding: 10px 14px 10px 40px; border-radius: 12px; background: var(--cream); position: relative; color: #3b4166; }
.tips li::before { content: "💡"; position: absolute; left: 12px; top: 9px; }
.result-empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.result-empty .big-emoji { font-size: 4rem; display: inline-block; animation: floaty 4s ease-in-out infinite; }
.disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 16px; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px dashed var(--line-light); }
.contact-item .card-icon { margin: 0; width: 50px; height: 50px; font-size: 1.3rem; background: rgba(255,255,255,.08); flex: none; }
.contact-item b { color: #fff; display: block; }
.contact-item span, .contact-item a { color: var(--muted-light); }
.contact-item a:hover { color: var(--gold); }
.office-card h3 { font-size: 1.2rem; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); filter: saturate(0.8); }

/* ---------- Footer ---------- */
.site-footer { background: #0a0f26; color: #9aa2cc; padding: 80px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-flag); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background 0.3s, transform 0.3s var(--ease-bounce); }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px) rotate(-6deg); }
.socials svg { width: 18px; height: 18px; }
.seo-cloud { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line-light); }
.seo-cloud h4 { margin-bottom: 14px; }
.seo-cloud p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.seo-cloud a { font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 0.84rem; }
.footer-giant { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 12.4vw, 11rem); overflow: hidden; line-height: 0.8; letter-spacing: -0.05em; margin-top: 50px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); white-space: nowrap; user-select: none; text-align: center; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: #25d366; display: grid; place-items: center; color: #fff; box-shadow: 0 18px 36px -10px rgba(37,211,102,.7); transition: transform 0.4s var(--ease-bounce); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.6s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float .wa-tip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(10px); background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 12px; white-space: nowrap; font-size: 0.84rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform 0.6s var(--ease-bounce); max-width: calc(100% - 32px); }
.toast.is-shown { transform: translate(-50%, 0); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.from-left { transform: translateX(-46px); }
.js .reveal.from-right { transform: translateX(46px); }
.js .reveal.zoom { transform: scale(0.9); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 0.06s + 0.15s); }
.is-loaded .split-words .w > span { transform: none; }

/* ---------- Misc ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { padding: 16px 20px; border-radius: var(--radius); background: var(--green-soft); color: #05603f; font-size: 0.94rem; }
.divider-flag { height: 6px; width: 90px; border-radius: 6px; background: var(--grad-flag); margin: 0 auto 22px; }
.kbd-num { font-family: var(--font-display); font-weight: 700; color: var(--coral); }
.img-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--grad-ink); color: #c3c9ea; padding: 120px 20px 60px; position: relative; overflow: hidden; }
.notfound h1 { font-size: clamp(6rem, 22vw, 14rem); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.4); line-height: 0.9; margin: 0; }
.notfound h2 { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-8px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booklet-cards { grid-template-columns: repeat(2, 1fr); }
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 900px) {
  .hero .container, .split, .split-60, .analyzer, .contact-grid, .booklet-wrap { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-art { max-width: 440px; margin-top: 10px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .journey-strip { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .journey-strip::before { display: none; }
  .panel-sticky { position: static; }
  .timeline-line, .timeline-plane, .tl-node { left: 26px; }
  .tl-item, .tl-item:nth-child(even) { grid-template-columns: 1fr; gap: 0; padding-left: 70px; }
  .tl-item .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 1; text-align: left; }
  .tl-item .tl-meta, .tl-item:nth-child(even) .tl-meta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .pricing, .booklet-cards, .field-row { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { font-size: 0.78rem; padding: 9px 12px 9px 9px; }
  .float-card .ico { width: 32px; height: 32px; font-size: 1rem; }
  .float-card.c1 { left: 0; } .float-card.c2 { right: 0; }
  .card { padding: 24px; }
  .btn-row .btn { flex: 1 1 auto; }
  .journey-strip { grid-template-columns: 1fr; }
  .grade-box { grid-template-columns: 1fr 1fr; }
  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
  .faq summary { padding: 18px 58px 18px 20px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .curtain, .scroll-progress, .cursor-glow, .cta-band, .flip-controls, .no-print { display: none !important; }
  body { background: #fff; }
  .page-hero { padding: 20px 0; background: #fff; color: #000; }
  .page-hero h1 { color: #000; }
  .flipbook { aspect-ratio: auto; perspective: none; }
  .flipbook .book, .flipbook .page, .flipbook .face { position: static !important; transform: none !important; width: 100% !important; height: auto !important; box-shadow: none !important; }
  .flipbook .base-left { display: none; }
  .flipbook .face { page-break-inside: avoid; border: 1px solid #ddd; margin-bottom: 12px; font-size: 11pt; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 640px) {
  .flipbook { aspect-ratio: 1 / 1.08; }
  .flipbook .face { font-size: 0.64rem; padding: 14px 12px; line-height: 1.45; }
  .flipbook .face h4 { font-size: 0.86rem; }
  .flipbook .cover h4 { font-size: 1.1rem; }
}

@media (max-width: 900px) {
  .js .reveal.from-left, .js .reveal.from-right { transform: translateY(36px); }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .toggle button { padding: 10px 14px; font-size: 0.86rem; }
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* ---------- University explorers ---------- */
.explorer-bar { position: relative; z-index: 5; display: grid; gap: 14px; padding: 22px; margin-bottom: 28px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.explorer-bar .search-box { max-width: none; margin: 0; box-shadow: none; background: var(--cream); }
.explorer-selects { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; align-items: center; }
.explorer-selects .select { padding: 11px 40px 11px 14px; font-size: 0.92rem; }
.explorer-toggles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toggle-chip { position: relative; cursor: pointer; }
.toggle-chip input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); font-size: 0.86rem; font-weight: 700; color: var(--muted); transition: all 0.25s var(--ease); }
.toggle-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.toggle-chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.link-reset { font-weight: 700; font-size: 0.86rem; color: var(--coral); padding: 8px 10px; }
.link-reset:hover { text-decoration: underline; }
.explorer-count { margin: 0; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.explorer-count span { color: var(--ink); font-weight: 800; }
.uni-card .uni-areas { font-size: 0.86rem; margin: 0; }
.uni-card .uni-areas b { color: var(--ink); }
.prog-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.prog-list li { font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: #eef3ff; color: #23377a; }
.uni-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.84rem; font-weight: 700; }
.uni-links a { color: var(--coral); }
.uni-links a:hover { text-decoration: underline; }
.uni-card .uni-crest { font-size: 0.78rem; }
.pk-list { display: grid; gap: 10px; }
.pk-row { display: grid; grid-template-columns: auto 1fr minmax(160px, 0.6fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.pk-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pk-row .uni-crest { width: 48px; height: 48px; font-size: 0.66rem; }
.pk-row h3 { font-size: 1.05rem; margin: 0 0 2px; }
.pk-row .city { font-size: 0.84rem; color: var(--muted); }
.pk-focus { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.pk-link a { font-size: 0.84rem; font-weight: 700; color: var(--coral); white-space: nowrap; }
@media (max-width: 760px) {
  .pk-row { grid-template-columns: auto 1fr; }
  .pk-focus, .pk-link { grid-column: 2; }
}

/* ---------- AI report ---------- */
.report-sec { padding-top: 0; }
.report { position: relative; padding: clamp(26px, 4.5vw, 52px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.report::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad-warm); }
.report-head { max-width: 820px; margin-bottom: 26px; }
.report-head .h-xl { margin-top: 14px; }
.report-head .lead { max-width: none; }
.report-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--cream-2); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; color: var(--ink); }
.report-badge.is-ai { background: linear-gradient(120deg, #ece6ff, #ffe3da); color: #3b2a8a; }
.pipeline { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; max-width: 720px; }
.pipeline li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--cream); color: var(--muted); font-weight: 600; opacity: 0.45; transition: opacity 0.4s, background 0.4s, color 0.4s; }
.pipeline li.is-running, .pipeline li.is-done { opacity: 1; color: var(--ink); }
.pipeline li.is-running { background: #fff4ef; }
.pl-dot { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2.5px solid var(--line); }
.is-running .pl-dot { border-color: var(--coral); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.is-done .pl-dot { border-color: var(--green); background: var(--green); }
.is-done .pl-dot::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.72rem; font-weight: 900; }
.report-cols { margin: 8px 0 30px; }
.report-card { padding: 24px 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); animation: stepIn 0.6s var(--ease) both; }
.report-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.report-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: #3b4166; }
.report-card p { margin: 0; color: #3b4166; }
.report-card.good { background: #effbf5; border-color: #c8efdc; }
.report-card.warn { background: #fff7ec; border-color: #ffe2b8; }
.urdu-card .urdu { font-size: 1.15rem; color: var(--ink); }
.report-sub { margin: 10px 0 16px; }
.report-sub h3 { font-size: 1.45rem; margin-bottom: 4px; }
.report-sub p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 34px; }
.match-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--paper); animation: stepIn 0.6s var(--ease) both; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.match-top { display: flex; justify-content: space-between; align-items: center; }
.match-pct { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--ink); }
.match-pct small { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; color: var(--muted); margin-left: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.match-card h4 { font-size: 1.05rem; margin: 6px 0 0; }
.match-meta, .match-fee { margin: 0; font-size: 0.84rem; color: var(--muted); }
.match-fee { font-weight: 700; color: #05603f; }
.match-why { margin: 4px 0 6px; font-size: 0.88rem; color: #3b4166; }
.match-card .link-arrow { margin-top: auto; font-size: 0.86rem; align-self: flex-start; }
.report-timeline { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 0; position: relative; }
.report-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad-warm); }
.report-timeline li { position: relative; padding: 0 0 18px 38px; }
.report-timeline li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--coral); }
.report-timeline .tl-when { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }
.report-timeline p { margin: 2px 0 0; color: #3b4166; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media print {
  .print-report body > *:not(main), .print-report main > *:not(#ai-report) { display: none !important; }
  .print-report .report { box-shadow: none; border: 0; padding: 0; }
  .print-report .report-actions, .print-report .pipeline { display: none !important; }
  .print-report .match-card, .print-report .report-card { break-inside: avoid; }
}
.match-top .fit { padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* Hero counsellor illustration */
.hero-illustration { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.hero-art .float-card.c1 { top: 4%; left: -10%; }
.hero-art .float-card.c2 { top: auto; bottom: 9%; right: -8%; }
.hero-art .float-card.c3 { bottom: 0; left: -2%; }
@media (max-width: 640px) {
  .hero-art .float-card.c1 { left: 0; }
  .hero-art .float-card.c2 { display: none; }
}
@media (max-width: 640px) {
  .explorer-bar { padding: 16px; gap: 10px; }
  .explorer-selects { grid-template-columns: 1fr 1fr; gap: 8px; }
  .explorer-selects .select { padding: 10px 30px 10px 10px; font-size: 0.84rem; background-position: right 8px center; background-size: 14px; }
  .toggle-chip span { padding: 7px 11px; font-size: 0.8rem; }
}

/* ---------- Programme finder ---------- */
.finder-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.finder-tabs button { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--paper); text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: all 0.25s var(--ease); box-shadow: var(--shadow-sm); }
.finder-tabs button em { font-style: normal; font-size: 1.6rem; }
.finder-tabs button span { display: grid; gap: 2px; font-weight: 800; }
.finder-tabs button small { font-weight: 500; font-size: 0.78rem; color: var(--muted); }
.finder-tabs button[aria-selected="true"] { border-color: var(--coral); background: #fff4ef; box-shadow: 0 0 0 4px rgba(255,122,89,.12); }
.finder-tabs button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.finder-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 22px; align-items: start; margin-bottom: 28px; }
.finder-grid > *, .finder-results { min-width: 0; }
.finder-mode[hidden] { display: none; }
.finder-search { max-width: none; margin: 0 0 14px; background: var(--cream); box-shadow: none; }
.finder-search .btn { flex: none; }
.finder-suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.finder-suggest button { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; transition: background 0.2s; }
.finder-suggest button:hover { background: #fff1c9; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 0.86rem; color: #3b4166; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--coral); }
.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 18px; margin-bottom: 14px; border: 2px dashed rgba(14,20,48,.22); border-radius: var(--radius); background: var(--cream); text-align: center; cursor: pointer; transition: all 0.25s var(--ease); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--coral); background: #fff4ef; }
.dropzone:focus-within { outline: 3px solid var(--coral); outline-offset: 2px; }
.dropzone.has-file { border-style: solid; border-color: var(--green); background: #effbf5; }
.dz-ico { font-size: 2.2rem; }
.dropzone small { color: var(--muted); }
.paste-alt { margin-top: 16px; font-size: 0.9rem; }
.paste-alt summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.paste-alt .textarea { margin-top: 10px; }
.finder-profile { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.fp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 12px; }
.fp-head h3 { font-size: 1.15rem; margin: 0; }
.fp-head p { margin: 0; font-size: 0.82rem; color: var(--muted); }
.fp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fp-field { display: grid; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--ink); min-width: 0; }
.fp-field .input, .fp-field .select { padding: 10px 12px; font-size: 0.9rem; border-radius: 12px; min-width: 0; }
.fp-field .select { padding-right: 32px; background-position: right 10px center; background-size: 14px; }
.fp-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.finder-insight h3 { font-size: 1.3rem; margin: 12px 0 4px; }
.finder-insight .big-emoji { font-size: 2.4rem; }
.insight-how { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: 0.9rem; color: #3b4166; }
.insight-how b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.75rem; }
.insight-inst { margin: 0 0 14px; color: var(--muted); font-size: 0.88rem; }
.insight-label { margin: 16px 0 8px; font-weight: 800; font-size: 0.86rem; }
.insight-topics { display: grid; gap: 8px; }
.it-row { display: grid; grid-template-columns: 1fr 90px; gap: 10px; align-items: center; font-size: 0.85rem; font-weight: 600; }
.it-row i, .pc-fit i { display: block; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.it-row em, .pc-fit em { display: block; height: 100%; border-radius: 8px; background: var(--grad-warm); transition: width 0.6s var(--ease); }
.insight-notes { margin: 14px 0 0; font-size: 0.86rem; color: #3b4166; }
.insight-courses { margin-top: 14px; font-size: 0.85rem; }
.insight-courses summary { cursor: pointer; font-weight: 700; }
.insight-courses ul { margin: 8px 0 0; padding-left: 1.1em; max-height: 220px; overflow: auto; color: #3b4166; display: grid; gap: 3px; }
.results-bar { position: relative; z-index: 5; display: grid; gap: 12px; padding: 20px; margin-bottom: 22px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.results-bar .explorer-count .link-reset { margin-left: 6px; }
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.prog-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--paper); animation: stepIn 0.5s var(--ease) both; transition: transform 0.3s var(--ease), box-shadow 0.3s; min-width: 0; }
.prog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prog-card h3 { font-size: 1.12rem; margin: 2px 0 0; overflow-wrap: anywhere; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pc-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.chance { display: grid; justify-items: end; flex: none; line-height: 1.05; }
.chance b { font-family: var(--font-display); font-size: 1.7rem; }
.chance small { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-top: 4px; }
.chance.high b { color: #05603f; } .chance.high small { background: var(--green-soft); color: #05603f; }
.chance.mid b { color: #7a5300; } .chance.mid small { background: #fff1c9; color: #7a5300; }
.chance.low b { color: #9b1c22; } .chance.low small { background: #fde0e1; color: #9b1c22; }
.chance.none b { font-size: 1.25rem; color: var(--ink); } .chance.none small { background: var(--cream-2); color: var(--muted); }
.pc-uni { margin: 0; font-size: 0.86rem; color: var(--muted); }
.pc-uni a { color: var(--ink); font-weight: 700; }
.pc-uni a:hover { text-decoration: underline; }
.pc-fee { margin: 0; }
.pc-fit { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.pc-fit b { color: var(--ink); }
.pc-why { margin: 2px 0 0; padding-left: 1.05em; display: grid; gap: 3px; font-size: 0.84rem; color: #3b4166; }
.pc-ai { padding: 10px 12px; border-radius: 12px; background: linear-gradient(120deg, #f4f0ff, #fff1ec); font-size: 0.84rem; color: #3b2a8a; }
.pc-ai .fit { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.pc-ai p { margin: 6px 0 0; color: #3b4166; }
.pc-links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: auto; padding-top: 6px; font-size: 0.84rem; font-weight: 700; }
.pc-links a { color: var(--ink); border-bottom: 2px solid var(--gold); }
.pc-star { margin-left: auto; border: 1.5px solid var(--line); background: var(--cream); border-radius: 999px; padding: 5px 12px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.pc-star[aria-pressed="true"] { background: #fff1c9; border-color: var(--gold-deep); }
.advice { position: relative; padding: clamp(22px, 4vw, 34px); margin-bottom: 22px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.advice::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-warm); }
.advice-head h3 { font-size: 1.45rem; margin: 12px 0 6px; }
.advice-head p { margin: 0 0 12px; color: #3b4166; max-width: 820px; }
.advice .report-cols { margin-bottom: 0; }
.daad-live { margin-top: 38px; }
.finder-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-top-color: transparent; animation: spin 0.8s linear infinite; vertical-align: -3px; }
.prog-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; align-items: start; }
.prog-index-group { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); }
.prog-index-group summary { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; cursor: pointer; font-weight: 800; }
.prog-index-group summary span { color: var(--muted); font-weight: 700; }
.prog-index-group ul { margin: 0; padding: 0 16px 14px 32px; display: grid; gap: 4px; font-size: 0.84rem; color: var(--muted); max-height: 360px; overflow: auto; }
.prog-index-group a { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .finder-grid { grid-template-columns: 1fr; }
  .fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .finder-tabs { grid-template-columns: 1fr; gap: 8px; }
  .finder-tabs button { padding: 10px 14px; }
  .finder-tabs button em { font-size: 1.3rem; }
  .fp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prog-grid { grid-template-columns: 1fr; }
  .results-bar { padding: 14px; }
  .prog-index { grid-template-columns: 1fr; }
}

/* ---------- Home hero: "worried about…" quick links ---------- */
.worry { margin: -6px 0 30px; }
.worry-title { margin: 0 0 12px; font-size: 0.95rem; color: #c3c9ea; }
.worry-title b { color: var(--gold); font-weight: 700; }
.worry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.worry-card {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07); border: 1px solid var(--line-light); color: #fff; text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.worry-card:hover, .worry-card:focus-visible { background: rgba(255,255,255,.13); border-color: rgba(255,200,61,.6); transform: translateY(-2px); }
.worry-ico { font-size: 1.25rem; line-height: 1; margin-bottom: 4px; }
.worry-card b { font-size: 0.92rem; }
.worry-card small { font-size: 0.76rem; color: #aab1d6; }

/* ---------- Mobile action bar ---------- */
.m-bar { display: none; }
@media (max-width: 1200px) and (min-width: 641px) {
  .worry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 18px); }
  .hero-badge { font-size: 0.78rem; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.6rem); margin-bottom: 20px; }
  .hero .btn-row { margin-top: 0; }
  .hero-trust { margin-top: 22px; gap: 8px; }
  .worry { margin: 0 0 22px; }
  .worry-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .worry-card { padding: 11px 12px; }

  .m-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 248, 238, 0.94);
    backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -12px rgba(14, 20, 48, 0.25);
    transform: translateY(110%); transition: transform 0.4s var(--ease);
  }
  .m-bar.is-shown { transform: none; }
  .m-bar a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px;
    font-weight: 800; font-size: 0.95rem; text-decoration: none;
  }
  .m-bar .m-check { background: var(--grad-warm); color: var(--ink); }
  .m-bar .m-wa { background: #25d366; color: #fff; }
  .m-bar svg { width: 20px; height: 20px; }
  .has-m-bar .wa-float { display: none; }
  .has-m-bar .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .has-m-bar .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media print { .m-bar { display: none !important; } }

/* ---------- Phone layout polish ---------- */
.swipe-hint { display: none; }
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .split[style*="margin-bottom"] { margin-bottom: 28px !important; gap: 14px; }
  .h-xl { font-size: clamp(1.85rem, 8vw, 2.2rem); }
  .lead { font-size: 1.02rem; }

  /* hero: smaller illustration, trust chips in one swipeable row */
  .hero-art { max-width: 300px; margin: 8px auto 0; }
  .hero-art .float-card.c1 { left: -4%; }
  .hero-art .float-card.c3 { left: 0; }
  .hero-trust { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .hero-trust::-webkit-scrollbar { display: none; }
  .hero-trust .chip { flex: none; font-size: 0.8rem; padding: 7px 12px; }

  /* journey: compact vertical timeline */
  .journey-strip { gap: 0; }
  .jstep { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .jstep:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 56px; bottom: 6px; width: 2px; background: var(--line); }
  .jstep .dot { grid-row: span 2; width: 52px; height: 52px; margin: 0; border-radius: 16px; font-size: 1.35rem; }
  .jstep .dot::after { width: 22px; height: 22px; font-size: 0.72rem; top: -6px; right: -6px; }
  .jstep h3 { font-size: 1.02rem; margin: 4px 0 2px; }
  .jstep p { font-size: 0.88rem; }

  /* services: two compact columns */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .services-grid .card { padding: 16px 14px; border-radius: var(--radius); }
  .services-grid .card-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; margin-bottom: 10px; }
  .services-grid h3 { font-size: 0.98rem; margin-bottom: 4px; }
  .services-grid p { font-size: 0.8rem; line-height: 1.5; margin: 0; }

  /* packages: swipeable cards */
  .swipe-hint { display: block; text-align: right; margin: -14px 0 8px; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
  .pricing-swipe {
    display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 18px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
  }
  .pricing-swipe::-webkit-scrollbar { display: none; }
  .pricing-swipe .price-card { flex: 0 0 84%; scroll-snap-align: start; padding: 26px 22px; }
  .pricing-swipe .price-card.featured, .pricing-swipe .price-card.featured:hover { transform: none; }

  /* footer: link lists side by side, search links in a swipe row */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .site-footer { padding-top: 56px; }
  .seo-cloud { margin-top: 32px; }
  .seo-cloud p { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .seo-cloud p::-webkit-scrollbar { display: none; }
  .seo-cloud a { flex: none; }
}
