:root {
  --ink: #192238;
  --muted: #5d6779;
  --line: #dfe5ec;
  --paper: #fbfaf7;
  --white: #ffffff;
  --red: #c62b35;
  --gold: #d49b2b;
  --teal: #0f8b8d;
  --green: #26734d;
  --shadow: 0 24px 70px rgba(25, 34, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(223, 229, 236, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #e06032);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  order: 2;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 34px);
  color: #303a4e;
  font-size: 15px;
}

.nav-links a {
  padding: 8px 0;
}

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

.language-select {
  order: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(25, 34, 56, 0.06);
}

.language-select span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.language-select select {
  min-height: 34px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.language-select select:focus {
  outline: 2px solid rgba(15, 139, 141, 0.3);
  outline-offset: 2px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.nav-cta {
  order: 4;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 28px rgba(198, 43, 53, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(25, 34, 56, 0.14);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: #111827;
}

.hero-media {
  min-height: 640px;
  background-color: #cbd9e2;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.38)),
    url("assets/hero-campus-real-fast.jpg"),
    url("assets/hero-campus-diverse.png");
  background-position: center, center, center;
  background-size: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 78px);
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(25, 34, 56, 0.96), rgba(34, 58, 75, 0.94)),
    radial-gradient(circle at 15% 18%, rgba(212, 155, 43, 0.28), transparent 34%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 850;
  line-height: 1;
}

.hero-stats dd {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.quick-check,
.section,
.pathway,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.quick-check,
.section,
.pathway,
.contact-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.quick-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.quick-check h2,
.section-heading h2,
.pathway-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.quick-check h2 {
  max-width: 680px;
  font-size: clamp(24px, 2.4vw, 36px);
}

.selector {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 42px;
  padding: 0 14px;
  color: #2d374b;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.filter.active {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p,
.pathway-copy p,
.contact-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.advantage-item,
.plan-card,
.timeline li,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.advantage-item {
  padding: 24px;
}

.icon-pill {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.advantage-item:nth-child(2) .icon-pill {
  background: var(--gold);
}

.advantage-item:nth-child(3) .icon-pill {
  background: var(--green);
}

.advantage-item:nth-child(4) .icon-pill {
  background: var(--red);
}

.advantage-item h3,
.plan-card h3,
.timeline h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.advantage-item p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.plans-section {
  padding-top: 30px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 24px;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.plan-card.highlighted {
  border-color: rgba(198, 43, 53, 0.38);
  box-shadow: var(--shadow);
}

.plan-card.is-dimmed {
  opacity: 0.36;
  transform: scale(0.98);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.plan-top strong {
  color: var(--red);
}

.plan-label {
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
}

.plan-duration {
  display: inline-flex;
  align-self: flex-start;
  min-height: 36px;
  align-items: center;
  margin: 10px 0 14px;
  padding: 0 12px;
  color: #2b4052;
  background: #eef7f5;
  border-radius: 8px;
  font-weight: 800;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 18px;
  color: #354154;
}

.plan-card li::marker {
  color: var(--red);
}

.plan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.pathway {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pathway-image {
  min-height: 360px;
  background-image: url("assets/city-pathway.png");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 210px;
  padding: 22px;
}

.timeline span {
  color: var(--red);
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: 28px 0 84px;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-badges span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: #174f51;
  background: #e7f4f2;
  border-radius: 8px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2f394b;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

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

.form-output {
  display: none;
  min-height: 56px;
  padding: 14px;
  color: #244638;
  background: #edf8f0;
  border: 1px solid #b9dfc6;
  border-radius: 8px;
}

.form-output.has-content {
  display: block;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.hsk-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fbfa 48%, #fbfaf7 100%);
}

.hsk-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0 clamp(34px, 5vw, 66px);
}

.hsk-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hsk-hero-copy p:not(.hsk-status) {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.hsk-status {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin: 0 0 18px;
  padding: 0 12px;
  color: #174f51;
  background: #e7f4f2;
  border: 1px solid #c6e7e1;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.hsk-hero-board {
  display: grid;
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 250, 0.94)),
    url("assets/hero-campus-real-fast.jpg");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(223, 229, 236, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hsk-card-stack {
  display: grid;
  gap: 12px;
}

.hsk-card-stack span {
  display: block;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 229, 236, 0.9);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(25, 34, 56, 0.08);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 850;
}

.hsk-card-stack span:nth-child(2) {
  margin-left: 28px;
}

.hsk-card-stack span:nth-child(3) {
  margin-left: 56px;
  color: var(--red);
}

.hsk-mini-ladder,
.hsk-levels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hsk-mini-ladder li,
.hsk-levels span {
  display: grid;
  min-height: 42px;
  place-items: center;
  color: #244638;
  background: #edf8f0;
  border: 1px solid #cbe7d3;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.hsk-shell,
.hsk-contact-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 clamp(64px, 8vw, 104px);
}

.hsk-ladder,
.hsk-quiz-card,
.hsk-result-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(25, 34, 56, 0.08);
}

.hsk-ladder {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
}

.hsk-ladder h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.16;
}

.hsk-ladder p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hsk-levels {
  grid-template-columns: 1fr;
}

.hsk-levels span.is-active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.hsk-quiz-card,
.hsk-result-card {
  min-height: 520px;
  padding: clamp(22px, 4vw, 38px);
}

.hsk-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 850;
}

.hsk-progress-row strong {
  color: var(--red);
}

.hsk-progress-track {
  height: 10px;
  margin: 18px 0 30px;
  overflow: hidden;
  background: #edf1f5;
  border-radius: 999px;
}

.hsk-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--red));
  border-radius: inherit;
  transition: width 240ms ease;
}

.hsk-question-type {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
}

.hsk-quiz-card h2,
.hsk-result-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hsk-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.hsk-option {
  min-height: 76px;
  padding: 16px 18px;
  color: #253248;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hsk-option:hover:not(:disabled) {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.hsk-option.is-correct {
  color: #174f31;
  background: #e5f7ea;
  border-color: #76c58d;
}

.hsk-option.is-wrong {
  color: #7a1c24;
  background: #fdecef;
  border-color: #e7989f;
}

.hsk-score {
  margin: 10px 0 26px;
  color: var(--red);
  font-size: 20px;
  font-weight: 850;
}

.hsk-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.hsk-advice-grid article {
  padding: 18px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hsk-advice-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hsk-advice-grid p {
  margin: 0;
  color: var(--muted);
}

.hsk-result-actions,
.hsk-send-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hsk-contact-section {
  align-items: start;
  padding-top: 18px;
}

.hsk-lead-form .form-output {
  display: block;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .language-select {
    order: 2;
    margin-left: auto;
    max-width: 100%;
  }

  .hero,
  .pathway,
  .contact-section,
  .hsk-hero,
  .hsk-shell,
  .hsk-contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 48vh;
    aspect-ratio: 16 / 9;
  }

  .hero-content {
    padding: 38px 22px 44px;
  }

  .quick-check {
    align-items: flex-start;
    flex-direction: column;
  }

  .advantage-grid,
  .plans-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    padding-top: 58px;
  }

  .hsk-hero {
    min-height: auto;
  }

  .hsk-ladder {
    position: static;
  }

  .hsk-levels {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hsk-advice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  .nav-links {
    gap: 18px;
    font-size: 16px;
    white-space: nowrap;
  }

  .nav-cta {
    display: none;
  }

  .language-select {
    width: auto;
    max-width: 46%;
    min-height: 40px;
    padding: 0 8px 0 10px;
  }

  .language-select span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .language-select select {
    max-width: 116px;
    min-height: 32px;
    font-size: 14px;
  }

  .hero-stats,
  .advantage-grid,
  .plans-grid,
  .timeline,
  .contact-form,
  .hsk-options {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .plan-card,
  .timeline li {
    min-height: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: 300px;
    background-position: center;
  }

  .hero-content {
    padding: 34px 18px 38px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .hsk-hero-copy h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hsk-hero {
    width: min(100% - 32px, 1180px);
    padding: 38px 0 48px;
  }

  .hsk-hero-board,
  .hsk-quiz-card,
  .hsk-result-card,
  .hsk-ladder {
    padding: 18px;
  }

  .hsk-card-stack span:nth-child(2),
  .hsk-card-stack span:nth-child(3) {
    margin-left: 0;
  }

  .hsk-shell,
  .hsk-contact-section {
    width: min(100% - 32px, 1180px);
    padding-bottom: 58px;
  }

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

  .hsk-send-actions .button,
  .hsk-result-actions .button {
    width: 100%;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-stats {
    gap: 10px;
    margin-top: 28px;
  }

  .section,
  .contact-section {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .quick-check {
    padding: 22px 0;
  }

  .plan-card,
  .advantage-item,
  .timeline li,
  .contact-form {
    padding: 18px;
  }

  .pathway-image {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* VinaScholar 2026 homepage */
.home-page {
  --home-navy: #071d3b;
  --home-navy-2: #0b2b55;
  --home-red: #d80f23;
  --home-red-2: #b90e1f;
  --home-gold: #dba43a;
  --home-blue: #2f6fec;
  --home-green: #2fa85d;
  --home-teal: #0ba7a0;
  --home-ink: #111a2e;
  --home-muted: #5c6678;
  --home-line: #dce3ee;
  --home-soft: #f4f7fb;
  --home-white: #ffffff;
  --home-shadow: 0 22px 58px rgba(16, 31, 58, 0.13);
  --home-soft-shadow: 0 14px 38px rgba(21, 35, 58, 0.08);
  --home-font: "Inter", "Be Vietnam Pro", "Noto Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--home-ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 46%, #edf3f8 100%);
  font-family: var(--home-font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.home-page svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 84px;
  padding: 14px clamp(18px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  backdrop-filter: blur(18px);
}

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

.home-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.home-brand strong,
.home-brand small {
  display: block;
}

.home-brand strong {
  color: var(--home-navy);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.home-brand strong::first-letter {
  color: var(--home-red);
}

.home-brand small {
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 30px);
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
  scrollbar-width: none;
}

.home-nav::-webkit-scrollbar {
  display: none;
}

.home-nav a {
  position: relative;
  padding: 10px 0;
}

.home-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--home-red);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.home-nav a:hover::after,
.home-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.home-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--home-ink);
  font-weight: 850;
}

.home-language span {
  color: var(--home-muted);
}

.home-language select {
  min-height: 38px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.home-cta,
.home-search-button,
.home-wide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--home-red), var(--home-red-2));
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(216, 15, 35, 0.24);
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home-cta:hover,
.home-search-button:hover,
.home-wide-button:hover {
  box-shadow: 0 22px 42px rgba(216, 15, 35, 0.3);
  transform: translateY(-1px);
}

.home-cta:active,
.home-search-button:active,
.home-wide-button:active {
  box-shadow: 0 12px 26px rgba(216, 15, 35, 0.24);
  transform: translateY(0);
}

.home-cta:disabled,
.home-search-button:disabled,
.home-wide-button:disabled,
.home-wide-button.is-loading {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.home-cta svg,
.home-search-button svg,
.home-wide-button svg {
  width: 20px;
  height: 20px;
}

.home-hero {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(219, 164, 58, 0.16), transparent 32%),
    linear-gradient(135deg, #061832 0%, #0a274f 58%, #0f3768 100%);
}

.home-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0), rgba(246, 248, 251, 0.96));
  content: "";
  pointer-events: none;
}

.home-hero-image {
  position: absolute;
  inset: 0 0 0 39%;
  background-image:
    linear-gradient(90deg, rgba(7, 29, 59, 0.72) 0%, rgba(7, 29, 59, 0.18) 32%, rgba(7, 29, 59, 0) 72%),
    url("assets/hero-campus-real-fast.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(1.03) contrast(1.02);
}

.home-hero-panel {
  position: relative;
  z-index: 2;
  width: min(790px, calc(100% - 56px));
  min-height: 408px;
  margin: 34px 0 48px clamp(24px, 3vw, 42px);
  padding: clamp(32px, 3.4vw, 46px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 25, 52, 0.97), rgba(8, 34, 69, 0.88)),
    radial-gradient(circle at 95% 15%, rgba(219, 164, 58, 0.22), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 30px 78px rgba(4, 15, 33, 0.34);
  backdrop-filter: blur(10px);
}

.home-kicker {
  margin: 0 0 16px;
  color: var(--home-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.home-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 4.55vw, 66px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
}

.home-hero h1 span {
  color: var(--home-gold);
}

.home-hero-copy {
  max-width: 650px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.7;
}

.home-search {
  display: grid;
  grid-template-columns: repeat(5, minmax(118px, 1fr));
  gap: 14px;
}

.home-search label,
.home-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.home-search label span {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.home-search select,
.home-contact-form input,
.home-contact-form select,
.home-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--home-ink);
  background: #fff;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.home-search select:focus,
.home-contact-form input:focus,
.home-contact-form select:focus,
.home-contact-form textarea:focus {
  border-color: rgba(47, 111, 236, 0.58);
  box-shadow: 0 0 0 4px rgba(47, 111, 236, 0.12);
}

.home-check {
  grid-column: span 2;
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  min-height: 48px;
  margin-top: 8px;
}

.home-check input {
  width: 18px;
  height: 18px;
}

.home-search-button {
  grid-column: 3 / -1;
  margin-top: 8px;
}

.home-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(1500px, calc(100% - 48px));
  margin: -30px auto 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(14px);
}

.home-stats article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 14px;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  border-right: 1px solid var(--home-line);
}

.home-stats article:last-child {
  border-right: 0;
}

.home-stats svg {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  color: var(--home-red);
}

.home-stats article:nth-child(2) svg { color: var(--home-gold); }
.home-stats article:nth-child(3) svg { color: var(--home-green); }
.home-stats article:nth-child(4) svg { color: var(--home-blue); }
.home-stats article:nth-child(5) svg { color: var(--home-navy-2); }
.home-stats article:nth-child(6) svg { color: var(--home-teal); }

.home-stats strong {
  align-self: end;
  color: var(--home-navy);
  font-size: 22px;
  line-height: 1.1;
}

.home-stats span {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.42;
}

.home-results-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  width: min(1500px, calc(100% - 48px));
  margin: 18px auto 0;
  padding-bottom: 56px;
}

.home-results,
.home-consult-card,
.home-route-grid article,
.home-process li,
.home-contact-form {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  box-shadow: var(--home-soft-shadow);
}

.home-results {
  overflow: hidden;
}

.home-tabs {
  display: flex;
  gap: 30px;
  min-height: 62px;
  align-items: flex-end;
  padding: 0 20px;
  border-bottom: 1px solid var(--home-line);
}

.home-tabs button {
  min-height: 62px;
  color: var(--home-ink);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.home-tabs button.is-active {
  color: var(--home-red);
  border-bottom-color: var(--home-red);
}

.home-table-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 12px;
}

.home-table-toolbar h2 {
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.home-table-toolbar p {
  margin: 0;
  color: var(--home-muted);
  font-weight: 800;
}

.home-table-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) 175px;
  gap: 12px;
  padding: 8px 22px 14px;
}

.home-table-filters select,
.home-table-filters button {
  min-height: 46px;
  padding: 0 12px;
  color: var(--home-ink);
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
}

.home-table-filters button {
  cursor: pointer;
}

.home-table-scroll {
  overflow-x: auto;
  padding: 0 14px 16px;
}

.home-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  color: var(--home-ink);
  font-size: 14px;
}

.home-table th {
  padding: 13px 14px;
  color: #5b6578;
  background: #f3f6fa;
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
}

.home-table td {
  padding: 14px;
  border-bottom: 1px solid #e7edf5;
  vertical-align: middle;
}

.home-table tbody tr {
  transition: background 140ms ease, transform 140ms ease;
}

.home-table tbody tr:hover {
  background: #fbfdff;
}

.home-table td:first-child {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0 12px;
  align-items: center;
}

.home-table td:first-child strong,
.home-table td:first-child small {
  display: block;
}

.home-table td:first-child small {
  color: var(--home-muted);
  font-weight: 650;
}

.school-mark {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: currentColor;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 950;
}

.school-mark.red { color: #d41022; }
.school-mark.purple { color: #8b5cf6; }
.school-mark.blue { color: #2563eb; }
.school-mark.cyan { color: #0891b2; }
.school-mark.violet { color: #a21caf; }
.school-mark.gold { color: #d9a036; }
.school-mark.navy { color: #0b2b55; }
.school-mark.green { color: #16a34a; }

.home-table em {
  color: #e59a11;
  font-style: normal;
  font-weight: 850;
}

.home-table a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--home-red);
  border: 1px solid rgba(212, 16, 34, 0.42);
  border-radius: 8px;
  font-weight: 850;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.home-table a:hover {
  color: #fff;
  background: var(--home-red);
  border-color: var(--home-red);
}

.home-empty {
  margin: 0 20px 20px;
  padding: 14px;
  color: #7a341d;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.home-consult-card {
  align-self: start;
  overflow: hidden;
}

.home-consult-head {
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0%, rgba(219, 164, 58, 0.28), transparent 42%),
    linear-gradient(145deg, var(--home-navy), #082a55);
}

.home-consult-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.22;
}

.home-consult-head p {
  margin: 10px 0 0;
  color: var(--home-gold);
  font-weight: 900;
}

.home-consult-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px 24px 18px;
  color: #344157;
  list-style: none;
}

.home-consult-card li {
  position: relative;
  padding-left: 28px;
  font-weight: 750;
}

.home-consult-card li::before {
  position: absolute;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #fff;
  background: var(--home-green);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.home-consult-card .home-wide-button,
.home-zalo-button {
  width: calc(100% - 48px);
  margin: 0 24px 12px;
}

.home-zalo-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  background: #fff;
  border: 1px solid #b9cff5;
  border-radius: 8px;
  font-weight: 900;
}

.home-team {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 24px 24px;
}

.home-team span {
  width: 36px;
  height: 36px;
  margin-right: -9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    #d9e4f3;
  border: 3px solid #fff;
  border-radius: 50%;
}

.home-team span:nth-child(2) { background-color: #f1d7d5; }
.home-team span:nth-child(3) { background-color: #d8e8dc; margin-right: 12px; }

.home-team p {
  margin: 0 0 0 6px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.35;
}

.home-team strong {
  display: block;
  color: var(--home-ink);
}

.home-routes,
.home-process,
.home-contact {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}

.home-section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.home-section-heading h2,
.home-contact-copy h2 {
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(34px, 3.3vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.home-route-grid article {
  padding: 28px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.home-route-grid article:hover {
  border-color: rgba(47, 111, 236, 0.24);
  box-shadow: 0 22px 50px rgba(16, 31, 58, 0.1);
  transform: translateY(-2px);
}

.home-route-grid span,
.home-process span {
  color: var(--home-red);
  font-weight: 950;
}

.home-route-grid h3 {
  margin: 14px 0 12px;
  color: var(--home-navy);
  font-size: 24px;
  line-height: 1.18;
}

.home-route-grid p,
.home-contact-copy p,
.home-process p {
  color: var(--home-muted);
}

.home-route-grid a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--home-red);
  font-weight: 900;
}

.home-process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-process li {
  min-height: 190px;
  padding: 24px;
}

.home-process strong {
  display: block;
  margin-top: 12px;
  color: var(--home-navy);
  font-size: 19px;
}

.home-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(480px, 1fr);
  gap: 50px;
  align-items: start;
  padding-bottom: 74px;
}

.home-contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-contact-tags span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: #134e4a;
  background: #e8f7f5;
  border-radius: 8px;
  font-weight: 850;
}

.home-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.home-contact-form label {
  color: #344157;
}

.home-contact-form textarea {
  resize: vertical;
}

.home-contact-form .full {
  grid-column: 1 / -1;
}

.home-contact-form .form-output {
  display: none;
  min-height: 56px;
  padding: 14px;
  color: #244638;
  background: #edf8f0;
  border: 1px solid #b9dfc6;
  border-radius: 8px;
  white-space: pre-line;
}

.home-contact-form .form-output.has-content {
  display: block;
}

.home-contact-form .form-output.is-pending {
  color: #173a5e;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.home-contact-form .form-output.is-success {
  color: #244638;
  background: #edf8f0;
  border-color: #b9dfc6;
}

.home-contact-form .form-output.is-notice {
  color: #713f12;
  background: #fffbeb;
  border-color: #fde68a;
}

.home-contact-form .form-output.is-error {
  color: #7f1d1d;
  background: #fef2f2;
  border-color: #fecaca;
}

.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--home-navy);
}

.home-footer p {
  margin: 0;
}

.home-footer-languages {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.home-footer-languages a {
  color: #fff;
  font-weight: 850;
  opacity: 0.86;
  transition: opacity 150ms ease;
}

.home-footer-languages a:hover {
  opacity: 1;
}

.home-page .ai-chatbot__launcher {
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
}

.home-page .ai-chatbot__launcher-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .home-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .home-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-header-actions {
    margin-left: auto;
  }

  .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-stats article:nth-child(3) {
    border-right: 0;
  }

  .home-results-wrap,
  .home-contact {
    grid-template-columns: 1fr;
  }

  .home-consult-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
    align-items: center;
  }

  .home-consult-head,
  .home-consult-card ul,
  .home-team {
    height: 100%;
  }
}

@media (max-width: 820px) {
  .home-header {
    min-height: auto;
    padding: 10px 16px 8px;
  }

  .home-brand {
    min-width: 0;
  }

  .home-brand strong {
    font-size: 20px;
  }

  .home-brand img {
    width: 38px;
    height: 38px;
  }

  .home-brand small {
    font-size: 10px;
  }

  .home-header-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .home-language {
    min-height: 38px;
    font-size: 14px;
  }

  .home-language select {
    min-height: 34px;
  }

  .home-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .home-cta svg {
    width: 18px;
    height: 18px;
  }

  .home-nav {
    gap: 22px;
    font-size: 14px;
    overflow-y: hidden;
  }

  .home-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .home-hero {
    min-height: auto;
    padding: 16px 0 20px;
  }

  .home-hero-image {
    inset: 0;
    height: auto;
    opacity: 0.38;
  }

  .home-hero-panel {
    width: calc(100% - 32px);
    min-height: auto;
    margin: 0 auto;
    padding: 20px 22px 22px;
  }

  .home-hero h1 {
    font-size: clamp(30px, 8.8vw, 39px);
    line-height: 1.08;
  }

  .home-hero-copy {
    margin: 14px 0 16px;
    font-size: 15px;
    line-height: 1.58;
  }

  .home-kicker {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .home-search,
  .home-table-filters,
  .home-route-grid,
  .home-process ol,
  .home-contact-form,
  .home-consult-card {
    grid-template-columns: 1fr;
  }

  .home-check,
  .home-search-button {
    grid-column: 1;
  }

  .home-search {
    gap: 10px;
  }

  .home-search-button {
    order: -1;
    margin: 2px 0 4px;
  }

  .home-search label {
    gap: 6px;
  }

  .home-search select {
    min-height: 44px;
  }

  .home-check {
    min-height: 40px;
    margin-top: 0;
  }

  .home-stats {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .home-stats article {
    min-height: 92px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-stats article:last-child {
    border-bottom: 0;
  }

  .home-results-wrap,
  .home-routes,
  .home-process,
  .home-contact {
    width: calc(100% - 32px);
  }

  .home-results-wrap {
    margin-top: 14px;
  }

  .home-tabs {
    gap: 20px;
    overflow-x: auto;
  }

  .home-table-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .home-section-heading h2,
  .home-contact-copy h2 {
    font-size: 30px;
  }

  .home-contact {
    gap: 24px;
  }

  .home-footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}

/* Reference-style VinaScholar homepage */
.home-page {
  --home-navy: #071b3e;
  --home-navy-2: #102f62;
  --home-red: #bd0616;
  --home-red-2: #9f0614;
  --home-gold: #d99a2b;
  --home-teal: #3f9b91;
  --home-ink: #081936;
  --home-muted: #5f6f87;
  --home-line: #dfe7f2;
  --home-soft: #f5f8fc;
  --home-shadow: 0 18px 46px rgba(9, 25, 54, 0.13);
  --home-soft-shadow: 0 12px 30px rgba(9, 25, 54, 0.08);
  --home-radius: 8px;
  --home-font: "Be Vietnam Pro", "Inter", "Noto Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
}

.home-brand {
  min-width: 342px;
  gap: 18px;
}

.home-brand img {
  width: 96px;
  height: 72px;
}

.home-brand strong {
  color: var(--home-navy);
  font-size: 31px;
  font-weight: 950;
  letter-spacing: 0;
}

.home-brand strong::first-letter {
  color: inherit;
}

.home-brand strong span {
  color: var(--home-red);
}

.home-brand small {
  position: relative;
  display: inline-block;
  margin-top: 2px;
  color: var(--home-navy);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.home-header {
  min-height: 88px;
  padding: 14px clamp(34px, 5vw, 74px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(8, 25, 54, 0.1);
  box-shadow: 0 4px 22px rgba(8, 25, 54, 0.06);
  backdrop-filter: blur(18px);
}

.home-nav {
  flex: 1;
  gap: clamp(26px, 3.2vw, 54px);
  color: var(--home-navy);
  font-size: 15px;
  font-weight: 850;
}

.home-nav a::after,
.home-nav a.is-active::after {
  display: none;
}

.home-nav a {
  border-radius: 999px;
  padding: 8px 2px;
  transition: color 160ms ease;
}

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

.home-header-actions {
  gap: 12px;
}

.home-language--compact {
  display: none;
  min-height: 42px;
  padding: 0 8px;
  color: var(--home-muted);
  font-size: 13px;
}

.home-language--compact select {
  width: 54px;
  min-height: 36px;
  color: var(--home-navy);
  font-size: 13px;
}

.home-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--home-navy);
  background: #fff;
  border: 1.5px solid var(--home-navy);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-phone svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.home-phone:hover {
  color: #fff;
  background: var(--home-navy);
  transform: translateY(-1px);
}

.home-cta,
.home-search-button,
.home-wide-button {
  min-height: 44px;
  padding: 0 24px;
  background: var(--home-red);
  border-radius: 6px;
  box-shadow: 0 12px 22px rgba(189, 6, 22, 0.18);
  font-size: 15px;
  letter-spacing: 0;
}

.home-cta:hover,
.home-search-button:hover,
.home-wide-button:hover {
  background: var(--home-red-2);
  box-shadow: 0 16px 28px rgba(189, 6, 22, 0.25);
}

.home-cta:disabled,
.home-search-button:disabled,
.home-wide-button:disabled,
.home-wide-button.is-loading {
  background: var(--home-red);
  box-shadow: 0 12px 22px rgba(189, 6, 22, 0.12);
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.home-hero {
  min-height: 560px;
  overflow: visible;
  background: #132b4f;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 17, 37, 0.76) 0%, rgba(6, 17, 37, 0.48) 28%, rgba(6, 17, 37, 0.08) 57%, rgba(6, 17, 37, 0) 100%),
    linear-gradient(180deg, rgba(6, 17, 37, 0.1) 0%, rgba(6, 17, 37, 0.1) 65%, rgba(6, 17, 37, 0.24) 100%);
  content: "";
  pointer-events: none;
}

.home-hero::after {
  display: none;
}

.home-hero-image {
  inset: 0;
  background-image: url("assets/hero-campus-real-fast.jpg");
  background-position: center 43%;
  background-size: cover;
  filter: saturate(1.05) contrast(1.03);
}

.home-hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 560px;
  width: min(760px, calc(100% - 96px));
  flex-direction: column;
  justify-content: center;
  margin: 0 0 0 clamp(34px, 4.3vw, 72px);
  padding: 0 0 86px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(56px, 4.7vw, 74px);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.home-hero h1 span {
  color: inherit;
}

.home-hero-copy {
  max-width: 560px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.home-hero-primary,
.home-hero-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.home-hero-primary {
  color: #fff;
  background: var(--home-red);
  box-shadow: 0 15px 30px rgba(189, 6, 22, 0.28);
}

.home-hero-primary:hover {
  background: var(--home-red-2);
  box-shadow: 0 19px 38px rgba(189, 6, 22, 0.34);
  transform: translateY(-1px);
}

.home-hero-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.home-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.home-hero-primary svg,
.home-hero-secondary svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.6;
}

.home-entry-cards,
.home-overview,
.home-metrics,
.home-finder {
  width: min(1390px, calc(100% - 96px));
  margin-right: auto;
  margin-left: auto;
}

.home-entry-cards {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -112px;
}

.home-entry-card {
  display: grid;
  min-height: 118px;
  grid-template-columns: 108px minmax(0, 1fr) 24px;
  align-items: center;
  overflow: hidden;
  color: var(--home-navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(202, 214, 229, 0.9);
  border-radius: var(--home-radius);
  box-shadow: 0 16px 36px rgba(8, 25, 54, 0.18);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.home-entry-card:hover {
  border-color: rgba(8, 25, 54, 0.22);
  box-shadow: 0 24px 48px rgba(8, 25, 54, 0.22);
  transform: translateY(-4px);
}

.entry-icon {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 118px;
  place-items: center;
  color: #fff;
}

.entry-icon svg {
  width: 54px;
  height: 54px;
  stroke-width: 1.9;
}

.home-entry-card.is-navy .entry-icon { background: var(--home-navy-2); }
.home-entry-card.is-red .entry-icon { background: var(--home-red); }
.home-entry-card.is-gold .entry-icon { background: var(--home-gold); }
.home-entry-card.is-teal .entry-icon { background: var(--home-teal); }

.entry-copy {
  display: grid;
  gap: 8px;
  padding: 18px 16px 18px 20px;
}

.entry-copy strong {
  color: var(--home-navy);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.1;
}

.entry-copy small {
  color: #3e4d65;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.42;
}

.entry-arrow {
  width: 23px;
  height: 23px;
  margin-right: 16px;
  color: var(--home-navy);
  stroke-width: 2.7;
}

.home-overview {
  display: grid;
  grid-template-columns: 0.93fr 1.18fr 1.06fr;
  gap: 14px;
  margin-top: 32px;
}

.home-overview-card {
  min-height: 194px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: 0 12px 28px rgba(8, 25, 54, 0.08);
}

.overview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  margin-bottom: 8px;
}

.overview-head svg {
  width: 22px;
  height: 22px;
  color: var(--home-navy);
  stroke-width: 2.2;
}

.overview-head h2 {
  flex: 1;
  margin: 0;
  color: var(--home-navy);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.2;
}

.overview-head a {
  color: #54647c;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.deadline-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deadline-list li {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf1f7;
  color: var(--home-navy);
  font-size: 14px;
  font-weight: 850;
}

.deadline-list li:last-child {
  border-bottom: 0;
}

.deadline-list span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.deadline-list time {
  color: var(--home-red);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.deadline-list .school-mark,
.university-logo-grid .school-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  font-size: 13px;
  font-style: normal;
}

.university-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
  padding: 10px 0 0;
}

.university-logo-grid span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.university-logo-grid b {
  overflow: hidden;
  color: var(--home-navy);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.docs-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 10px;
  align-items: center;
}

.docs-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-list li {
  position: relative;
  min-height: 31px;
  padding: 6px 0 6px 26px;
  border-bottom: 1px solid #edf1f7;
  color: #4b5b72;
  font-size: 12.5px;
  font-weight: 700;
}

.docs-list li:last-child {
  border-bottom: 0;
}

.docs-list li::before {
  position: absolute;
  left: 0;
  top: 7px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #4c8b73;
  border: 1.5px solid #8ab69f;
  border-radius: 50%;
  content: "✓";
  font-size: 11px;
  font-weight: 950;
}

.docs-illustration {
  position: relative;
  height: 118px;
}

.doc-folder {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 122px;
  height: 76px;
  background: linear-gradient(145deg, #0a2858, #173b74);
  border-radius: 6px;
  box-shadow: 0 14px 25px rgba(8, 25, 54, 0.19);
}

.doc-folder::before {
  position: absolute;
  left: 12px;
  top: -14px;
  width: 58px;
  height: 22px;
  background: #0f3670;
  border-radius: 5px 5px 0 0;
  content: "";
}

.doc-paper {
  position: absolute;
  right: 28px;
  top: 0;
  z-index: 1;
  width: 96px;
  height: 72px;
  background:
    linear-gradient(#cad6e8 0 0) 54px 23px / 34px 5px no-repeat,
    linear-gradient(#cad6e8 0 0) 54px 36px / 44px 5px no-repeat,
    linear-gradient(#cad6e8 0 0) 54px 49px / 30px 5px no-repeat,
    linear-gradient(145deg, #edf3fb, #cfdcee);
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(8, 25, 54, 0.13);
}

.doc-paper::before {
  position: absolute;
  left: 24px;
  top: 22px;
  width: 15px;
  height: 15px;
  background: #18396b;
  border-radius: 50%;
  content: "";
}

.doc-paper::after {
  position: absolute;
  left: 18px;
  top: 42px;
  width: 28px;
  height: 12px;
  background: #18396b;
  border-radius: 8px 8px 2px 2px;
  content: "";
}

.doc-check {
  position: absolute;
  right: 0;
  bottom: 24px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: #419c8d;
  border: 3px solid #e8f3f1;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 950;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: 0 10px 25px rgba(8, 25, 54, 0.06);
}

.home-metrics article {
  display: grid;
  min-height: 100px;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 22px;
  align-content: center;
  padding: 22px 40px;
  border-right: 1px solid var(--home-line);
}

.home-metrics article:last-child {
  border-right: 0;
}

.home-metrics svg {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  color: var(--home-navy);
  stroke-width: 1.75;
}

.home-metrics strong {
  align-self: end;
  color: var(--home-navy);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.home-metrics span {
  max-width: 210px;
  color: #425269;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.38;
}

.home-finder {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 26px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 253, 0.96)),
    #f7f9fd;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: 0 12px 30px rgba(8, 25, 54, 0.06);
}

.home-finder h2 {
  margin: 0;
  color: var(--home-navy);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.18;
}

.home-finder .home-kicker {
  margin-bottom: 8px;
}

.home-finder .home-search {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-finder .home-search label span {
  color: var(--home-navy);
}

.home-finder .home-check {
  margin-top: 2px;
}

.home-finder .home-check span {
  color: #33445d;
  font-size: 13px;
}

.home-finder .home-search-button {
  grid-column: 3 / -1;
  margin-top: 2px;
}

.home-results-wrap {
  width: min(1390px, calc(100% - 96px));
  margin-top: 24px;
}

@media (max-width: 1260px) {
  .home-brand {
    min-width: 250px;
  }

  .home-nav {
    gap: 24px;
  }

  .home-entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-overview {
    grid-template-columns: 1fr 1fr;
  }

  .docs-card {
    grid-column: 1 / -1;
  }

  .docs-card-body {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

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

  .home-metrics article:nth-child(2) {
    border-right: 0;
  }

  .home-metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }

  .home-finder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .home-header {
    padding: 12px 24px;
  }

  .home-nav {
    order: 3;
    flex: 0 0 100%;
  }

  .home-header-actions {
    margin-left: auto;
  }
}

@media (max-width: 820px) {
  .home-page {
    overflow-x: hidden;
  }

  .home-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 72px;
    padding: 10px 14px;
    gap: 10px;
  }

  .home-brand {
    min-width: 0;
    gap: 8px;
  }

  .home-brand span {
    min-width: 0;
  }

  .home-brand img {
    width: 66px;
    height: 52px;
  }

  .home-brand strong {
    font-size: 21px;
  }

  .home-brand small {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .home-header-actions {
    display: none;
  }

  .home-language--compact {
    display: none;
  }

  .home-phone {
    display: none;
  }

  .home-phone svg {
    width: 18px;
    height: 18px;
  }

  .home-cta {
    width: 74px;
    min-width: 74px;
    min-height: 40px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .home-cta::before {
    content: "Tư vấn";
    font-size: 13px;
    font-weight: 900;
  }

  .home-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 22px;
    padding: 4px 0 0;
    overflow-x: auto;
    font-size: 13px;
  }

  .home-hero {
    min-height: 540px;
    padding: 0;
    overflow: visible;
  }

  .home-hero::before {
    background:
      linear-gradient(180deg, rgba(6, 17, 37, 0.48) 0%, rgba(6, 17, 37, 0.6) 55%, rgba(6, 17, 37, 0.2) 100%),
      linear-gradient(90deg, rgba(6, 17, 37, 0.64), rgba(6, 17, 37, 0.2));
  }

  .home-hero-image {
    opacity: 1;
    background-position: 58% center;
  }

  .home-hero-panel {
    min-height: 540px;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 34px 0 78px;
    justify-content: center;
  }

  .home-hero h1 {
    max-width: 350px;
    font-size: clamp(42px, 13.2vw, 55px);
    line-height: 1.01;
  }

  .home-hero-copy {
    max-width: 320px;
    margin: 18px 0 22px;
    font-size: 17px;
    line-height: 1.5;
  }

  .home-hero-actions {
    gap: 12px;
  }

  .home-hero-primary,
  .home-hero-secondary {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 15px;
  }

  .home-entry-cards,
  .home-overview,
  .home-metrics,
  .home-finder,
  .home-results-wrap,
  .home-routes,
  .home-process,
  .home-contact {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .home-entry-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -50px;
  }

  .home-entry-card {
    min-height: 96px;
    position: relative;
    grid-template-columns: 82px minmax(0, 1fr);
    padding-right: 0;
  }

  .entry-icon {
    min-height: 96px;
  }

  .entry-icon svg {
    width: 42px;
    height: 42px;
  }

  .entry-copy {
    min-width: 0;
    padding: 14px 12px 14px 16px;
  }

  .entry-copy strong {
    font-size: 19px;
  }

  .entry-copy small {
    max-width: 220px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .entry-arrow {
    display: none;
  }

  .home-overview {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .home-overview-card {
    min-height: 0;
    padding: 16px;
  }

  .university-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .docs-card {
    grid-column: auto;
  }

  .docs-card-body {
    grid-template-columns: 1fr;
  }

  .docs-illustration {
    height: 118px;
    max-width: 190px;
    margin: 0 auto;
  }

  .home-metrics {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .home-metrics article {
    min-height: 88px;
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 17px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }

  .home-metrics article:last-child {
    border-bottom: 0;
  }

  .home-metrics svg {
    width: 38px;
    height: 38px;
  }

  .home-metrics strong {
    font-size: 23px;
  }

  .home-finder {
    margin-top: 16px;
    padding: 18px;
  }

  .home-finder h2 {
    font-size: 22px;
  }

  .home-finder .home-search,
  .home-finder .home-search-button,
  .home-finder .home-check {
    grid-column: 1;
  }

  .home-results-wrap {
    margin-top: 16px;
  }
}

/* Second-pass production polish */
.home-page a,
.home-page button,
.home-page select,
.home-page input,
.home-page textarea {
  -webkit-tap-highlight-color: transparent;
}

.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page select:focus-visible,
.home-page input:focus-visible,
.home-page textarea:focus-visible {
  outline: 3px solid rgba(47, 111, 236, 0.22);
  outline-offset: 3px;
}

.home-results,
.home-consult-card,
.home-route-grid article,
.home-process li,
.home-contact-form {
  border-radius: var(--home-radius);
  border-color: rgba(213, 223, 236, 0.96);
  box-shadow: 0 14px 34px rgba(8, 25, 54, 0.07);
}

.home-results {
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.home-tabs {
  min-height: 58px;
  align-items: center;
  padding: 0 22px;
  background: rgba(247, 250, 253, 0.72);
}

.home-tabs button {
  min-height: 40px;
  padding: 0 2px;
  border-bottom-width: 2px;
  font-size: 14px;
  letter-spacing: 0;
}

.home-table-toolbar {
  padding: 24px 24px 12px;
}

.home-table-toolbar h2 {
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 950;
}

.home-table-toolbar p,
.home-table-filters select,
.home-table-filters button,
.home-table {
  font-size: 14px;
}

.home-table-filters {
  padding: 10px 24px 16px;
}

.home-table-filters select,
.home-table-filters button,
.home-search select,
.home-contact-form input,
.home-contact-form select,
.home-contact-form textarea {
  border-color: rgba(210, 221, 235, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.home-table th {
  color: #66758c;
  background: #f5f8fc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.home-table tbody tr:hover {
  background: #f7fbff;
}

.home-consult-head {
  padding: 28px;
  background:
    radial-gradient(circle at 90% -10%, rgba(217, 154, 43, 0.3), transparent 44%),
    linear-gradient(145deg, #061a3a, #0d3570);
}

.home-consult-head h2 {
  font-size: 24px;
  font-weight: 950;
}

.home-consult-card li {
  color: #34465d;
}

.home-zalo-button {
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.06);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.home-zalo-button:hover {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.home-routes,
.home-process,
.home-contact {
  width: min(1240px, calc(100% - 96px));
}

.home-route-grid article,
.home-process li {
  position: relative;
  overflow: hidden;
}

.home-route-grid article::before,
.home-process li::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--home-red), rgba(217, 154, 43, 0.9));
  content: "";
  opacity: 0;
  transition: opacity 160ms ease;
}

.home-route-grid article:hover::before,
.home-process li:hover::before {
  opacity: 1;
}

.home-route-grid h3,
.home-process strong {
  font-weight: 950;
}

.home-section-heading h2,
.home-contact-copy h2 {
  max-width: 820px;
  font-weight: 950;
}

.home-contact {
  align-items: center;
}

.home-contact-form {
  box-shadow: 0 18px 44px rgba(8, 25, 54, 0.08);
}

.home-contact-tags span {
  color: #123f3b;
  border: 1px solid rgba(63, 155, 145, 0.18);
  border-radius: 999px;
}

.home-footer {
  align-items: center;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 154, 43, 0.16), transparent 28%),
    linear-gradient(135deg, #051632, #082654);
}

@media (max-width: 1180px) {
  .home-routes,
  .home-process,
  .home-contact {
    width: min(1120px, calc(100% - 48px));
  }
}

@media (max-width: 820px) {
  .home-page {
    background: #fff;
  }

  .home-header {
    grid-template-columns: 1fr;
  }

  .home-brand {
    justify-content: center;
  }

  .home-nav {
    justify-content: flex-start;
    margin-inline: auto;
    padding: 6px 2px 2px;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }

  .home-hero {
    min-height: 520px;
  }

  .home-hero-panel {
    min-height: 520px;
    padding: 24px 0 78px;
  }

  .home-hero h1 {
    font-size: clamp(40px, 12.6vw, 52px);
  }

  .home-hero-copy {
    font-size: 16px;
    font-weight: 700;
  }

  .home-entry-card {
    min-height: 92px;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .entry-icon {
    min-height: 92px;
  }

  .entry-copy small {
    max-width: 100%;
  }

  .home-overview-card,
  .home-finder,
  .home-results,
  .home-consult-card,
  .home-route-grid article,
  .home-process li,
  .home-contact-form {
    box-shadow: 0 10px 24px rgba(8, 25, 54, 0.06);
  }

  .home-tabs {
    gap: 18px;
    min-height: 54px;
    padding: 0 16px;
  }

  .home-table-toolbar,
  .home-table-filters {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-table-toolbar h2 {
    font-size: 24px;
  }

  .home-consult-card {
    display: block;
  }

  .home-routes,
  .home-process,
  .home-contact {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .home-footer {
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .home-page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .home-entry-card {
    width: 100%;
    max-width: 100%;
  }

  .entry-copy {
    overflow: hidden;
  }

  .entry-copy small {
    display: block;
    max-width: min(230px, 100%);
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .home-header {
    gap: 12px;
  }

  .home-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    font-size: 12px;
    mask-image: none;
  }

  .home-nav a {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: #f7f9fd;
    border: 1px solid rgba(213, 223, 236, 0.96);
    border-radius: 999px;
    text-align: center;
  }

  .home-nav a:nth-child(3) {
    grid-column: 1 / -1;
  }

  .home-entry-cards,
  .home-overview,
  .home-metrics,
  .home-finder,
  .home-results-wrap,
  .home-routes,
  .home-process,
  .home-contact {
    width: auto;
    max-width: none;
    margin-right: 14px;
    margin-left: 14px;
  }

  .home-entry-cards {
    margin-top: -46px;
  }

  .home-hero {
    min-height: 548px;
  }

  .home-hero-panel {
    min-height: 548px;
    width: calc(100vw - 32px);
  }
}
