/*
  China Career Center — custom landing design
  Brand: #be1e2d (red) + #0e1a2b (navy)
  Fonts: Jost (headings), DM Sans (body), Hind Siliguri / Anek Bangla (Bangla)
*/

/* --------------------------------------------------------------------------
   01. Tokens & base
   -------------------------------------------------------------------------- */
:root {
  --red: #be1e2d;
  --red-600: #a81725;
  --red-700: #8f1220;
  --red-soft: #fbecee;
  --red-tint: #fff7f8;
  --navy: #0e1a2b;
  --navy-800: #132238;
  --ink: #172231;
  --slate: #4f5b6b;
  --muted: #6b7686;
  --line: #e5e8ee;
  --surface: #f6f7fa;
  --green: #25d366;
  --shadow-sm: 0 8px 24px rgba(13, 25, 43, 0.06);
  --shadow-md: 0 18px 50px rgba(13, 25, 43, 0.1);
  --shadow-lg: 0 30px 80px rgba(13, 25, 43, 0.16);
  --radius: 18px;
  --font-head: "Jost", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-bn: "Hind Siliguri", "Anek Bangla", sans-serif;
  --font-bn-head: "Anek Bangla", "Hind Siliguri", sans-serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--slate);
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   02. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
    color 0.22s ease, border-color 0.22s ease;
}

.btn i {
  font-size: 13px;
  transition: transform 0.22s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:hover i.fa-arrow-right {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(190, 30, 45, 0.22);
}

.btn--primary:hover,
.btn--primary:focus {
  background: var(--red-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(190, 30, 45, 0.3);
}

.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover,
.btn--outline:focus {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-tint);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover,
.btn--ghost-light:focus {
  background: #fff;
  border-color: #fff;
  color: var(--red);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--red);
}

.btn--light:hover,
.btn--light:focus {
  background: var(--red-soft);
  color: var(--red);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  min-height: 54px;
  padding: 16px 28px;
  font-size: 16px;
}

.btn--sm {
  min-height: 42px;
  padding: 11px 17px;
  font-size: 13.5px;
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.is-loading i {
  animation: spin 0.8s linear infinite;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.link-arrow i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   03. Top bar, header, mobile drawer
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 1001;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
}

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

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.topbar__left > span,
.topbar__left > a,
.topbar__right > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  white-space: nowrap;
}

.topbar i {
  color: #ff98a1;
  font-size: 11px;
}

.topbar a:hover {
  color: #fff;
}

.topbar .divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.16);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.lang-switch button {
  padding: 3px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button.is-active {
  background: var(--red);
  color: #fff;
}

.lang-switch--light {
  border-color: var(--line);
  background: var(--surface);
}

.lang-switch--light button {
  color: var(--muted);
}

.lang-switch--light button.is-active {
  background: var(--red);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(13, 25, 43, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 84px;
  transition: min-height 0.25s ease;
}

.site-header.is-stuck .navbar {
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 56px;
  transition: height 0.25s ease;
}

.site-header.is-stuck .brand img {
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 0 0 auto;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: width 0.28s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--red);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 17px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hamburger:hover {
  border-color: var(--red);
  color: var(--red);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(7, 15, 27, 0.55);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  width: min(380px, 90vw);
  background: #fff;
  box-shadow: -20px 0 60px rgba(13, 25, 43, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.mobile-drawer.is-open {
  transform: none;
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer__head img {
  width: auto;
  height: 46px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
}

.drawer-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.mobile-nav {
  display: grid;
  gap: 2px;
  padding: 16px 22px;
  overflow-y: auto;
  list-style: none;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
}

.mobile-nav a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-size: 11px;
  font-weight: 900;
  color: var(--red);
}

.mobile-nav a:hover {
  color: var(--red);
}

.mobile-drawer__foot {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-drawer__foot .lang-switch {
  justify-self: start;
}

/* --------------------------------------------------------------------------
   04. Hero & search
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-position: 70% center;
  background-size: cover;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.hero__bg.is-active {
  opacity: 1;
  transform: translateX(0);
}

.hero__bg.is-exit {
  opacity: 1;
  transform: translateX(100%);
}

.hero__bg.is-enter {
  opacity: 1;
  transform: translateX(-100%);
  transition: none;
}

.hero__bg.is-parked {
  opacity: 0;
  transform: translateX(-100%);
  transition: none;
}

.hero__bg--center {
  background-position: center 42%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(7, 15, 27, 0.93) 0%,
    rgba(7, 15, 27, 0.76) 38%,
    rgba(7, 15, 27, 0.18) 72%,
    rgba(7, 15, 27, 0.32) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(900px 520px at 88% 18%, rgba(190, 30, 45, 0.18), transparent 62%),
    linear-gradient(0deg, rgba(7, 15, 27, 0.28), transparent 35%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  padding: 92px 0 112px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(190, 30, 45, 0.22);
}

.hero__title {
  max-width: 700px;
  color: #fff;
  font-size: clamp(2.7rem, 4.5vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.hero__title .hl {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: rgba(190, 30, 45, 0.95);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.1em;
}

.hero__sub {
  max-width: 570px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17.5px;
  line-height: 1.8;
}

.hero-slides {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-18px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s linear 0.8s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s;
}

.hero__dots {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.hero-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-dot.is-active {
  width: 46px;
  background: var(--red);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof i {
  color: #ff9aa3;
  font-size: 13px;
}

.hero__panel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 410px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(14, 26, 43, 0.82), rgba(7, 15, 27, 0.7));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px) saturate(120%);
}

.hero__panel::before {
  content: "学";
  position: absolute;
  top: -22px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 30px;
  box-shadow: 0 14px 30px rgba(190, 30, 45, 0.35);
  transform: rotate(6deg);
  animation: sealFloat 5s ease-in-out infinite;
}

.intake-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd7db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff9aa3;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 154, 163, 0.55);
  border-radius: 50%;
  animation: pulseRing 2s ease-out infinite;
}

.hero__panel h2 {
  margin-top: 16px;
  color: #fff;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero__panel > p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  line-height: 1.7;
}

.intake-rows {
  display: grid;
  margin: 20px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.intake-rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12.5px;
}

.intake-rows b {
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
}

.panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.panel-link:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.panel-link i {
  font-size: 11px;
}

.search-card {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(13, 25, 43, 0.14);
}

.search-card form {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.search-card .field label {
  font-size: 11.5px;
}

.search-card .btn {
  min-height: 48px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   05. Stats & section headings
   -------------------------------------------------------------------------- */
.stats {
  padding: 52px 0 22px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 6px 30px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat__num {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__num em {
  color: var(--red);
  font-style: normal;
}

.stat__label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.section {
  padding: 88px 0;
}

.section--surface {
  background: var(--surface);
}

.section-head {
  max-width: 700px;
  margin-bottom: 46px;
}

.section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.section-title {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.78;
}

.section-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   06. Why China feature cards
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.why-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -58px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--red-tint);
  transition: transform 0.35s ease;
}

.why-card:hover {
  border-color: rgba(190, 30, 45, 0.24);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.why-card:hover::after {
  transform: scale(1.35);
}

.why-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 19px;
  transition: background 0.28s ease, color 0.28s ease;
}

.why-card:hover .why-card__icon {
  background: var(--red);
  color: #fff;
}

.why-card h3 {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 600;
}

.why-card p {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   07. Split / services
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.split__media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: -1;
  width: 42%;
  height: 42%;
  border-radius: 20px;
  background-image: radial-gradient(rgba(190, 30, 45, 0.3) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}

.media-badge {
  position: absolute;
  right: -22px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--red);
  box-shadow: 0 18px 45px rgba(190, 30, 45, 0.35);
  color: #fff;
}

.media-badge i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 18px;
}

.media-badge b {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.media-badge span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.service {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.service:hover {
  border-color: rgba(190, 30, 45, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.service__icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 15px;
}

.service h3 {
  font-size: 16.5px;
  font-weight: 600;
}

.service p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   08. Universities & programmes
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.uni-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.uni-card:hover {
  border-color: rgba(190, 30, 45, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.uni-card:focus-visible {
  outline: 3px solid rgba(190, 30, 45, 0.35);
  outline-offset: 3px;
}

.uni-card__media {
  position: relative;
  overflow: hidden;
  height: 205px;
  background: #f4f5f8;
  border-bottom: 1px solid var(--line);
}

.uni-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.uni-card:hover .uni-card__photo {
  transform: scale(1.045);
}

.uni-card__logo {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: block;
  width: 54px;
  height: 54px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.uni-card:hover .uni-card__logo {
  transform: scale(1.04);
}

.uni-card__rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.uni-card__city {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.uni-card__city i {
  color: var(--red);
  font-size: 10px;
}

.uni-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: start;
  padding: 19px 20px 21px;
}

.uni-card__body h3 {
  grid-column: 1;
  font-size: 18.5px;
  font-weight: 600;
}

.uni-card__body > p {
  grid-column: 1;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.3px;
}

.uni-card__meta {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--slate);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
}

.tag--red {
  background: var(--red-soft);
  color: var(--red);
}

.uni-card__foot {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.uni-card__foot .link-arrow {
  color: var(--red);
  font-weight: 600;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 310px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.program-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 15, 27, 0.96) 4%, rgba(7, 15, 27, 0.55) 48%, rgba(7, 15, 27, 0.18) 100%);
  transition: background 0.3s ease;
}

.program-card:hover img {
  transform: scale(1.06);
}

.program-card:hover::after {
  background: linear-gradient(0deg, rgba(143, 18, 32, 0.96) 4%, rgba(7, 15, 27, 0.58) 55%, rgba(7, 15, 27, 0.18) 100%);
}

.program-card__icon {
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 17px;
  backdrop-filter: blur(8px);
}

.program-card h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.program-card p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.8px;
  line-height: 1.65;
}

.program-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.program-card .tag {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
}

.program-card .link-arrow {
  margin-top: 16px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   09. Process
   -------------------------------------------------------------------------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.process::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 1px;
  border-top: 1px dashed rgba(190, 30, 45, 0.3);
}

.step {
  position: relative;
  text-align: center;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border: 1px solid rgba(190, 30, 45, 0.28);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 0 0 8px #fff;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.step:hover .step__num {
  background: var(--red);
  color: #fff;
  transform: translateY(-4px);
}

.step h3 {
  font-size: 16.5px;
  font-weight: 600;
}

.step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Scholarship band
   -------------------------------------------------------------------------- */
.scholarship {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: var(--navy);
  color: #fff;
}

.scholarship::before {
  content: "奖学金";
  position: absolute;
  right: -38px;
  bottom: -58px;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Songti SC", "STSong", serif;
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.scholarship::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(680px 420px at 88% 30%, rgba(190, 30, 45, 0.22), transparent 68%);
  pointer-events: none;
}

.scholarship__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
  align-items: center;
}

.scholarship h2 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.scholarship p {
  max-width: 570px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.scholarship .btn {
  margin-top: 26px;
}

.scholarship__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0 72%, rgba(255, 255, 255, 0.1) 72% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 22px 60px rgba(0, 0, 0, 0.3);
}

.scholarship__ring::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.scholarship__ring::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.ring-center {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ring-center b {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ring-center span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 11px;
}

.acc-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.acc-item.is-open {
  border-color: rgba(190, 30, 45, 0.28);
  box-shadow: var(--shadow-sm);
}

.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.acc-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.acc-item.is-open .acc-icon {
  background: var(--red);
  color: #fff;
}

.acc-item.is-open .acc-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.acc-panel p {
  padding: 0 20px 19px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.faq-aside {
  position: sticky;
  top: 100px;
  overflow: hidden;
  padding: 27px 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 100%, rgba(190, 30, 45, 0.42) 0 18%, transparent 56%),
    var(--navy);
  color: #fff;
}

.faq-aside > * {
  position: relative;
  z-index: 1;
}

.faq-aside__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ff9aa3;
  font-size: 18px;
}

.faq-aside h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.faq-aside p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.faq-aside .btn {
  margin-top: 20px;
}

.faq-aside__contact {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-aside__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
}

.faq-aside__contact a:hover {
  color: #fff;
}

.faq-aside__contact i {
  color: #ff9aa3;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 40px 36px;
  border-radius: var(--radius);
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 15, 27, 0.82), rgba(7, 15, 27, 0.96));
}

.contact-panel h2 {
  max-width: 340px;
  color: #fff;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 600;
}

.contact-panel > p {
  max-width: 370px;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
}

.contact-list {
  display: grid;
  gap: 15px;
  margin: 26px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item__icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ff9aa3;
  font-size: 13px;
}

.contact-item b {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-item > div > span,
.contact-item > div > a {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  line-height: 1.55;
}

.contact-item a:hover {
  color: #fff;
}

.hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
}

.hours i {
  color: #ff9aa3;
}

.contact-form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: 600;
}

.contact-form-card > p {
  margin-top: 5px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.field label .req {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa3af;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cbd1db;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(190, 30, 45, 0.09);
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field select {
  padding-right: 38px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7686' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
}

.field select:invalid {
  color: #9aa3af;
}

.field option {
  color: var(--ink);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  background: #fffafa;
}

.field-error {
  display: none;
  color: var(--red);
  font-size: 11px;
  line-height: 1.4;
}

.field.has-error .field-error {
  display: block;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  min-height: 0;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  border: 1px solid #c9ced8;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  accent-color: var(--red);
}

.consent a {
  color: var(--red);
  text-decoration: underline;
}

.check-group {
  display: grid;
  gap: 8px;
}

.check-group[hidden],
.check-other[hidden] {
  display: none;
}

.check-group .check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--slate);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.check-group .check-item:hover {
  border-color: #cbd1db;
}

.check-group .check-item input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  min-height: 0;
  height: 16px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--red);
}

.check-group .check-item:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--ink);
}

.check-other {
  margin-top: 2px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.form-foot .btn {
  flex: 1 1 200px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.form-note i {
  color: #2e9d63;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-alert {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #f1c6cb;
  border-radius: 9px;
  background: #fff5f6;
  color: var(--red-700);
  font-size: 12.5px;
  line-height: 1.6;
}

.form-alert.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   15. Inner page hero, apply page, thank-you
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 62px;
  background: var(--navy);
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 360px at 85% 20%, rgba(190, 30, 45, 0.3), transparent 70%);
}

.page-hero::after {
  content: "申请";
  position: absolute;
  right: 4%;
  bottom: -70px;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Songti SC", "STSong", serif;
  font-size: 180px;
  line-height: 1;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb i {
  font-size: 8px;
  color: #ff9aa3;
}

.page-hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.page-hero p {
  max-width: 620px;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14.5px;
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}

.page-hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.page-hero__chips i {
  color: #ff9aa3;
  font-size: 10px;
}

.apply-section {
  padding: 54px 0 88px;
  background: var(--surface);
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 28px;
  align-items: start;
}

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.form-card__head h2 {
  font-size: 23px;
  font-weight: 600;
}

.form-card__head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
}

.form-section {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.form-section__head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
}

.form-section__num {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
}

.form-section__head h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.form-section__head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.form-actions .btn {
  min-width: 220px;
}

.apply-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 15px;
}

.side-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.side-card--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.side-card--navy h3 {
  color: #fff;
}

.side-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.side-card > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.side-card--navy > p {
  color: rgba(255, 255, 255, 0.64);
}

.side-list {
  display: grid;
  gap: 11px;
  margin-top: 15px;
  list-style: none;
}

.side-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.6;
}

.side-list i {
  margin-top: 3px;
  color: var(--red);
  font-size: 11px;
}

.side-card--navy .side-list li {
  color: rgba(255, 255, 255, 0.72);
}

.side-card--navy .side-list i {
  color: #ff9aa3;
}

.side-contact {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.side-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: 12px;
}

.side-contact i {
  width: 14px;
  color: var(--red);
  font-size: 11px;
}

.side-contact a:hover {
  color: var(--red);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #f4dfc0;
  border-radius: 10px;
  background: #fffaf1;
  color: #7a5a24;
  font-size: 11.5px;
  line-height: 1.6;
}

.notice i {
  margin-top: 2px;
  color: #c98a1e;
}

.thanks-section {
  display: grid;
  place-items: center;
  min-height: 68vh;
  padding: 72px 0 90px;
  background: var(--surface);
}

.thanks-card {
  position: relative;
  width: min(100%, 720px);
  padding: 48px 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.thanks-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 30px;
}

.thanks-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(190, 30, 45, 0.2);
  border-radius: 50%;
  animation: pulseRing 2.8s ease-out infinite;
}

.thanks-card h1 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
}

.thanks-card > p {
  max-width: 520px;
  margin: 11px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.ref-code {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 9px 16px;
  border: 1px dashed rgba(190, 30, 45, 0.35);
  border-radius: 999px;
  background: var(--red-tint);
  color: var(--red);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
  text-align: left;
}

.thanks-step {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.thanks-step b {
  display: block;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
}

.thanks-step span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 66px 0 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -170px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 30, 45, 0.15), transparent 68%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.15fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: auto;
  height: 60px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
  line-height: 1.75;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 19px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.socials a:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.footer-title {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  padding-left: 3px;
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact > * {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
  line-height: 1.55;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact i {
  width: 14px;
  margin-top: 4px;
  color: #ff9aa3;
  font-size: 12px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11.5px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   17. Floating actions
   -------------------------------------------------------------------------- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.float-wa:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(37, 211, 102, 0.7);
  border-radius: 50%;
  animation: pulseRing 2.4s ease-out infinite;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 899;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease,
    background 0.2s ease, color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sealFloat {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.7;
    transform: scale(0.85);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__actions,
.hero__proof,
.hero__panel {
  animation: fadeUp 0.85s cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

.hero__title {
  animation-delay: 0.08s;
}

.hero__sub {
  animation-delay: 0.16s;
}

.hero__actions {
  animation-delay: 0.24s;
}

.hero__proof {
  animation-delay: 0.32s;
}

.hero__panel {
  animation-delay: 0.2s;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.7, 0.3, 1),
    transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19. Bangla typography
   -------------------------------------------------------------------------- */
html[lang="bn"] body {
  font-family: var(--font-bn);
  line-height: 1.8;
}

html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3,
html[lang="bn"] h4,
html[lang="bn"] h5,
html[lang="bn"] h6,
html[lang="bn"] .btn,
html[lang="bn"] .nav-links a,
html[lang="bn"] .mobile-nav a,
html[lang="bn"] .stat__num,
html[lang="bn"] .acc-btn,
html[lang="bn"] .footer-title {
  font-family: var(--font-bn-head);
  letter-spacing: 0;
}

html[lang="bn"] .hero__title {
  line-height: 1.3;
  letter-spacing: 0;
}

html[lang="bn"] .section-title,
html[lang="bn"] .page-hero h1,
html[lang="bn"] .scholarship h2 {
  line-height: 1.4;
}

html[lang="bn"] .hero__sub,
html[lang="bn"] .section-sub,
html[lang="bn"] .why-card p,
html[lang="bn"] .service p,
html[lang="bn"] .acc-panel p {
  line-height: 1.9;
}

html[lang="bn"] .eyebrow {
  letter-spacing: 0.04em;
}

html[lang="bn"] .hero__title .hl {
  text-underline-offset: 0.16em;
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .navbar {
    gap: 22px;
  }

  .nav-links {
    gap: 20px;
  }

  .hero__inner {
    gap: 38px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  }

  .split {
    gap: 46px;
  }

  .footer-grid {
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .topbar__left .topbar-address,
  .topbar .divider {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 0 100px;
  }

  .hero__title,
  .hero__sub {
    max-width: 720px;
  }

  .hero__panel {
    justify-self: start;
    max-width: 520px;
  }

  .hero__panel::before {
    right: 18px;
  }

  .search-card form {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-card .btn {
    grid-column: 1 / -1;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .split__media {
    max-width: 580px;
  }

  .split__media > img {
    aspect-ratio: 16 / 10;
  }

  .media-badge {
    right: 18px;
  }

  .card-grid,
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }

  .process::before {
    display: none;
  }

  .scholarship__inner {
    grid-template-columns: 1fr;
  }

  .scholarship__ring {
    justify-self: start;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-aside,
  .apply-side {
    position: static;
  }

  .faq-aside {
    max-width: 520px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .apply-layout {
    grid-template-columns: 1fr;
  }

  .apply-side {
    grid-template-columns: repeat(2, 1fr);
  }

  .apply-side .side-card:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 78px;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .topbar {
    display: none;
  }

  .navbar {
    min-height: 70px;
    gap: 14px;
  }

  .site-header.is-stuck .navbar {
    min-height: 62px;
  }

  .brand img {
    height: 48px;
  }

  .site-header.is-stuck .brand img {
    height: 43px;
  }

  .nav-actions .btn {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(1.85rem, 5vw, 2.25rem);
  }

  .hero__inner {
    padding: 54px 0 88px;
  }

  .hero__title {
    font-size: clamp(2.25rem, 8vw, 3.2rem);
  }

  .hero__sub {
    font-size: 15.5px;
  }

  .hero__actions .btn {
    flex: 1 1 190px;
  }

  .hero__panel {
    padding: 22px;
  }

  .hero__panel::before {
    width: 54px;
    height: 54px;
    font-size: 25px;
  }

  .search-card {
    margin-top: -38px;
    padding: 17px;
  }

  .search-card form {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 34px 0 18px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
  }

  .stat {
    padding: 0 20px;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stat__num {
    font-size: 34px;
  }

  .why-grid,
  .card-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .split__media > img {
    aspect-ratio: 4 / 3;
  }

  .split__media::before {
    display: none;
  }

  .media-badge {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding-bottom: 24px;
    text-align: left;
  }

  .step__num {
    width: 54px;
    height: 54px;
    margin: 0;
    box-shadow: none;
  }

  .step h3 {
    padding-top: 7px;
  }

  .step p {
    grid-column: 2;
    margin-top: -8px;
  }

  .scholarship {
    padding: 62px 0;
  }

  .scholarship__ring {
    justify-self: center;
    width: 190px;
    height: 190px;
  }

  .ring-center b {
    font-size: 38px;
  }

  .ring-center span {
    max-width: 128px;
    margin-inline: auto;
    font-size: 9px;
    line-height: 1.5;
  }

  .contact-panel {
    padding: 30px 25px;
  }

  .contact-form-card {
    padding: 25px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .page-hero {
    padding: 48px 0;
  }

  .apply-section {
    padding: 38px 0 64px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .apply-side {
    grid-template-columns: 1fr;
  }

  .apply-side .side-card:first-child {
    grid-column: auto;
  }

  .thanks-card {
    padding: 36px 22px;
  }

  .thanks-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .hero__eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    flex: none;
  }

  .hero__proof {
    gap: 9px 16px;
    font-size: 12px;
  }

  .hero__panel::before {
    display: none;
  }

  .stat {
    padding: 0 14px;
  }

  .stat__num {
    font-size: 30px;
  }

  .stat__label {
    font-size: 11.5px;
  }

  .why-card {
    padding: 23px 21px;
  }

  .uni-card__media {
    height: 190px;
  }

  .program-card {
    min-height: 280px;
  }

  .faq-aside {
    padding: 24px 21px;
  }

  .contact-form-card,
  .form-card {
    padding: 21px 17px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .form-note {
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-grid .footer-col:last-child {
    grid-column: auto;
  }

  .float-wa {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .to-top {
    right: 17px;
    bottom: 72px;
  }
}

/* --------------------------------------------------------------------------
   21. Small helpers
   -------------------------------------------------------------------------- */
.split__cta {
  margin-top: 24px;
}

.section-note .link-arrow {
  margin-left: 7px;
}

.form-card--chat {
  padding: 0;
  overflow: hidden;
}

.form-card--chat .form-card__head {
  margin-bottom: 0;
  padding: 24px 28px 18px;
}

.form-card--chat .notice,
.form-card--chat .form-alert {
  margin: 16px 28px 0;
}

.chat-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.chat-time i {
  color: var(--red);
}

.chat-form {
  padding: 18px 28px 28px;
}

.chat-shell {
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8f9fc;
  box-shadow: 0 18px 40px -28px rgba(14, 26, 43, 0.18);
}

.chat-form.is-chat-ready .chat-shell {
  display: block;
}

.chat-form.is-chat-ready > .form-section,
.chat-form.is-chat-ready > .field.field--full,
.chat-form.is-chat-ready > .form-actions {
  display: none;
}

.chat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.chat-head__person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chat-head__avatar {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(14, 26, 43, 0.1);
  border-radius: 50%;
  background: #fff url("../img/ccc-mark.png?v=2") center / 26px no-repeat;
  box-shadow: 0 0 0 3px rgba(14, 26, 43, 0.04);
}

.chat-head__person > div {
  min-width: 0;
}

.chat-head__name {
  display: block;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.chat-head__status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.chat-head__status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e9d63;
  box-shadow: 0 0 0 3px rgba(46, 157, 99, 0.13);
}

.chat-head__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.chat-back:hover:not(:disabled) {
  border-color: var(--red);
  color: var(--red);
}

.chat-back:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.chat-back i {
  font-size: 9px;
}

.chat-progress-wrap {
  flex: 0 0 150px;
  min-width: 110px;
}

.chat-progress-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.chat-progress {
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf3;
}

.chat-progress span {
  display: block;
  width: 4.8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #e85b66);
  transition: width 0.35s ease;
}

.chat-body {
  height: clamp(430px, 56vh, 620px);
  padding: 20px 16px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.chat-step {
  display: none;
}

.chat-step.is-active,
.chat-step.is-done {
  display: block;
}

.chat-step.is-active {
  animation: chatStepIn 0.3s ease both;
}

.chat-step.is-done .chat-answer {
  display: none;
}

.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.chat-avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border: 1px solid rgba(14, 26, 43, 0.1);
  border-radius: 50%;
  background: #fff url("../img/ccc-mark.png?v=2") center / 20px no-repeat;
}

.chat-bubble {
  max-width: min(84%, 560px);
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px 13px 13px 13px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.035);
  color: var(--ink);
  font-size: 12.8px;
  line-height: 1.6;
}

.chat-intro .chat-bubble {
  max-width: min(90%, 600px);
}

.chat-question {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.chat-question:focus,
.form-alert:focus {
  outline: none;
}

.chat-question.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  border-radius: 2px;
  background: var(--red);
  vertical-align: -0.12em;
  animation: chatCaret 0.75s steps(1) infinite;
}

.chat-optional {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chat-hint {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.chat-answer {
  max-width: 560px;
  margin: 10px 0 0 39px;
}

.chat-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-fields .field {
  gap: 5px;
}

.chat-fields .field > label:not(.consent) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.chat-fields .field input,
.chat-fields .field select,
.chat-fields .field textarea {
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
}

.chat-fields .field textarea {
  min-height: 96px;
}

.chat-form.is-chat-ready .chat-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 1px;
}

.chat-quick--checks {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding-top: 0;
}

.chat-quick--checks .chat-chip {
  width: 100%;
  min-height: 40px;
}

.chat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #d7dce6;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.chat-chip:hover,
.chat-chip.is-selected {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
}

.chat-chip:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.chat-chip:active {
  transform: translateY(1px);
}

.chat-replies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
}

.chat-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px -10px rgba(190, 30, 45, 0.65);
  transition: background 0.18s ease, transform 0.18s ease;
}

.chat-send:hover {
  background: var(--red-700);
}

.chat-send:active {
  transform: translateY(1px);
}

.chat-send i {
  font-size: 9px;
}

.chat-skip {
  padding: 7px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.chat-skip:hover {
  color: var(--red);
}

.chat-fields .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  cursor: pointer;
}

.chat-fields .consent input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  min-height: 0;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--red);
}

.chat-form .form-actions {
  margin-top: 14px;
  gap: 10px;
}

.chat-form .form-actions .btn {
  min-width: 200px;
}

.chat-form .form-note {
  font-size: 10.5px;
}

.chat-msg--user {
  justify-content: flex-end;
  margin-top: 10px;
}

.chat-msg--user[hidden] {
  display: none;
}

.chat-msg--user .chat-bubble {
  max-width: 78%;
  border-color: var(--red);
  border-radius: 13px 4px 13px 13px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px -14px rgba(190, 30, 45, 0.65);
}

.chat-answer-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-step.is-done .chat-msg--user {
  animation: chatStepIn 0.25s ease both;
}

@keyframes chatStepIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chatCaret {
  50% {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .form-card--chat .form-card__head {
    padding: 22px 20px 16px;
  }

  .form-card--chat .notice,
  .form-card--chat .form-alert {
    margin-left: 20px;
    margin-right: 20px;
  }

  .chat-form {
    padding: 14px 20px 22px;
  }

  .chat-head {
    padding: 11px 13px;
  }

  .chat-head__meta {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .chat-progress-wrap {
    flex: 1;
    min-width: 0;
  }

  .chat-progress-label {
    text-align: left;
  }

  .chat-body {
    height: clamp(390px, 58vh, 560px);
    padding: 16px 13px 18px;
  }

  .chat-answer {
    margin-left: 0;
  }

  .chat-bubble,
  .chat-intro .chat-bubble {
    max-width: calc(100% - 39px);
  }

  .chat-msg--user .chat-bubble {
    max-width: 86%;
  }

  .chat-form .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-form .form-actions .btn {
    width: 100%;
  }

  .chat-form .form-note {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .form-card--chat .form-card__head {
    padding: 20px 16px 14px;
  }

  .form-card--chat .notice,
  .form-card--chat .form-alert {
    margin-left: 16px;
    margin-right: 16px;
  }

  .chat-form {
    padding: 12px 16px 18px;
  }

  .chat-body {
    height: clamp(360px, 56vh, 500px);
    padding: 14px 11px 16px;
  }

  .chat-bubble,
  .chat-intro .chat-bubble {
    max-width: calc(100% - 37px);
    font-size: 12.4px;
  }

  .chat-question {
    font-size: 12.6px;
  }

  .chat-hint {
    font-size: 10.7px;
  }

  .chat-chip {
    padding: 7px 10px;
    font-size: 11px;
  }

  .chat-avatar {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    background-size: 18px;
  }

  .chat-head__avatar {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    background-size: 23px;
  }

  .chat-fields .field input,
  .chat-fields .field select,
  .chat-fields .field textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-body {
    scroll-behavior: auto;
  }

  .chat-step.is-active,
  .chat-step.is-done .chat-msg--user {
    animation: none;
  }

  .chat-progress span {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   23. Inline success, university profile
   -------------------------------------------------------------------------- */
.chat-form.is-submitted .form-actions,
.chat-form.is-submitted .chat-step.is-active .chat-answer {
  display: none;
}

.chat-success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  scroll-margin: 18px;
}

.chat-success:focus {
  outline: none;
}

.chat-success__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-top: 1px;
  border-radius: 50%;
  background: #2e9d63;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 0 0 5px rgba(46, 157, 99, 0.13);
}

.chat-success__bubble {
  max-width: min(88%, 600px);
  border-color: #bfe5cf;
  background: #f3fbf6;
}

.chat-success__bubble h3 {
  color: #1f7049;
  font-size: 15px;
  font-weight: 600;
}

.chat-success__bubble p {
  margin-top: 6px;
  color: #3f6652;
  font-size: 12.5px;
  line-height: 1.65;
}

.chat-success__ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #d8eee1;
  color: #3f6652;
  font-size: 11.5px;
}

.chat-success__ref code {
  padding: 3px 7px;
  border-radius: 6px;
  background: #e4f5eb;
  color: #1f7049;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
}

.chat-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chat-success__actions .btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 11.5px;
}

.uni-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 62px;
  background: var(--navy);
  color: #fff;
}

.uni-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.22;
  transform: scale(1.02);
}

.uni-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(640px 420px at 82% 18%, rgba(190, 30, 45, 0.38), transparent 70%),
    linear-gradient(90deg, rgba(8, 16, 28, 0.97) 0%, rgba(8, 16, 28, 0.88) 56%, rgba(8, 16, 28, 0.7) 100%);
}

.uni-hero__inner {
  position: relative;
  z-index: 2;
}

.uni-hero .breadcrumb {
  margin-bottom: 30px;
}

.uni-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: center;
}

.uni-hero .eyebrow {
  color: #ffb3ba;
}

.uni-hero h1 {
  max-width: 760px;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  letter-spacing: -0.02em;
}

.uni-hero__tagline {
  max-width: 650px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.7;
}

.uni-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.uni-hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 500;
}

.uni-hero__chips i {
  color: #ff9aa3;
  font-size: 10px;
}

.uni-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.uni-hero__logo-card {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.uni-hero__logo-card img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.uni-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 46px;
  align-items: start;
}

.uni-profile-main {
  min-width: 0;
}

.uni-profile-section {
  padding-bottom: 27px;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.uni-profile-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.uni-profile-section h2 {
  margin-top: 5px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.uni-profile-section > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.uni-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: 26px 0 30px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--line);
  gap: 1px;
}

.uni-fact {
  padding: 17px 16px;
  background: #fff;
}

.uni-fact span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uni-fact b {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
}

.uni-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.uni-field {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(190, 30, 45, 0.16);
  border-radius: 999px;
  background: var(--red-tint);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 600;
}

.uni-admission-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  list-style: none;
}

.uni-admission-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.uni-admission-list i {
  margin-top: 4px;
  color: var(--red);
  font-size: 10px;
}

.uni-other-list {
  display: grid;
  gap: 9px;
  margin-top: 13px;
  list-style: none;
}

.uni-other-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.uni-other-list a:hover {
  border-color: rgba(190, 30, 45, 0.25);
  background: var(--red-tint);
  color: var(--red);
}

.uni-other-list small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.uni-profile-side .btn--block {
  margin-top: 10px;
}

.uni-profile-side .btn--block + .btn--block {
  margin-top: 8px;
}

.uni-profile-side .link-arrow {
  margin-top: 14px;
}

.uni-cta {
  padding: 0 0 88px;
  background: #fff;
}

.uni-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
  border-radius: var(--radius);
  background:
    radial-gradient(440px 260px at 92% 15%, rgba(190, 30, 45, 0.32), transparent 72%),
    var(--navy);
  color: #fff;
}

.uni-cta h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.uni-cta p {
  max-width: 620px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.uni-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 1023px) {
  .uni-hero__grid,
  .uni-profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .uni-hero__logo-card {
    justify-self: start;
    width: min(100%, 280px);
    min-height: 180px;
  }

  .uni-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .uni-hero {
    padding: 44px 0 48px;
  }

  .uni-hero .breadcrumb {
    margin-bottom: 20px;
  }

  .uni-hero__grid {
    gap: 26px;
  }

  .uni-hero__logo-card {
    min-height: 150px;
    padding: 22px;
  }

  .uni-hero__actions .btn {
    width: 100%;
  }

  .uni-cta__inner {
    padding: 27px 24px;
  }

  .uni-cta .btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .chat-success__bubble {
    max-width: calc(100% - 44px);
  }

  .chat-success__actions .btn {
    width: 100%;
  }

  .uni-hero__chips span {
    font-size: 10.5px;
  }

  .uni-profile-grid {
    gap: 28px;
  }

  .uni-facts {
    grid-template-columns: 1fr 1fr;
  }

  .uni-fact {
    padding: 14px 13px;
  }
}

/* --------------------------------------------------------------------------
   24. Print
   -------------------------------------------------------------------------- */
@media print {
  .topbar,
  .site-header,
  .float-wa,
  .to-top,
  .site-footer,
  .hero__actions,
  .form-actions {
    display: none !important;
  }

  body {
    color: #000;
  }

  .hero,
  .page-hero,
  .scholarship,
  .contact-panel {
    background: #fff !important;
    color: #000 !important;
  }

  .hero__title,
  .page-hero h1,
  .scholarship h2,
  .contact-panel h2 {
    color: #000 !important;
  }
}
