/* --- Base + reset --- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  /*background: var(--vp-bg-primary-color);*/
  background: var(--vp-gradient-surface-1);
  color: var(--vp-text-primary-color);
  font: 400 16px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
p { color: var(--vp-text-primary-color); margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { color: var(--vp-text-heading-color); margin: 0 0 .5em; font-weight: var(--vp-text-heading-weight); letter-spacing: -.02em; }
small { color: var(--vp-text-secondary-color); }
strong, b { color: var(--vp-text-heading-color); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

/* --- Reusable button primitive --- */
.vp-btn {
  min-height: 46px;
  padding: 0 21px;
  border-radius: var(--vp-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: var(--vp-text-heading-weight);
  font-size: 14px;
  border: 1px solid var(--vp-border-primary-color);
  background: transparent;
  color: var(--vp-text-primary-color);
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.vp-btn:hover { transform: translateY(-2px); text-decoration: none; color: var(--vp-text-primary-color); }
.vp-btn:focus-visible { outline: 2px solid var(--vp-accent-primary-color); outline-offset: 2px; }

.vp-btn--primary {
  border: 0;
  background: var(--vp-gradient-accent-1);
  color: var(--vp-btn-primary-color);
  box-shadow: var(--vp-btn-primary-shadow);
}
.vp-btn--primary:hover { color: var(--vp-btn-primary-color); }

.vp-btn--gradient-2 {
  border: 0;
  background: var(--vp-gradient-accent-2);
  color: var(--vp-btn-primary-color);
  box-shadow: var(--vp-btn-primary-shadow);
}
.vp-btn--gradient-2:hover { color: var(--vp-btn-primary-color); }

.vp-btn--ghost {
  background: var(--vp-toggle-bg);
  color: var(--vp-text-primary-color);
  border-color: var(--vp-border-primary-color);
}
.vp-btn--ghost:hover { background: var(--vp-btn-ghost-hover-bg); }

.vp-btn--lg {
  min-height: 56px;
  padding: 0 26px;
  font-size: clamp(15px, 1.4vw, 16px);
  border-radius: var(--vp-radius-md);
}

.vp-btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

.vp-section-title {
  margin: 0 0 12px;
  font: var(--vp-text-heading-weight) clamp(28px, 3.4vw, 44px)/1.1 var(--font-sans);
  color: var(--vp-text-heading-color);
  letter-spacing: -.02em;
}
.vp-section-lead {
  margin: 0 0 32px;
  color: var(--vp-text-secondary-color);
  font: 400 clamp(15px, 1.4vw, 17px)/1.6 var(--font-sans);
}
.vp-gradient-text {
  background: linear-gradient(90deg, var(--vp-accent-blue-color), var(--vp-accent-purple-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vp-pill-button {
  min-width: min(530px, 100%);
  min-height: 66px;
  padding: 0 32px;
  border-radius: var(--vp-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid var(--vp-pill-button-border);
  color: var(--vp-pill-button-color);
  background: var(--vp-pill-button-bg);
  box-shadow: var(--vp-pill-button-shadow);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: var(--vp-text-heading-weight);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  cursor: pointer;
}
.vp-pill-button:hover {
  transform: translateY(-2px);
  border-color: var(--vp-pill-button-hover-border);
  background: var(--vp-pill-button-hover-bg);
  text-decoration: none;
  color: var(--vp-pill-button-hover-color);
}
.vp-pill-button__icon {
  color: var(--vp-pill-button-icon-color);
  font-size: 28px;
  display: inline-flex;
  align-items: center;
}
.vp-pill-button__icon svg { width: 16px; height: 16px; }

.vp-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border-radius: var(--vp-radius-pill);
  color: var(--vp-pill-badge-color);
  background: var(--vp-pill-badge-bg);
  border: 1px solid var(--vp-pill-badge-border);
  box-shadow: var(--vp-pill-badge-shadow);
  font-weight: 500;
  font-size: 15px;
}
.vp-pill-badge__icon {
  font-style: normal;
  color: var(--vp-accent-blue-color);
}
.vp-pill-badge__icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

/* .vp-card + variants live in per-page home.css (ported from legacy .feature-card). */

.vp-faq-accordion {
  display: grid;
  gap: 12px;
}
.vp-faq-accordion__item {
  border-radius: 22px;
  background: var(--vp-faq-item-bg);
  border: 1px solid var(--vp-faq-item-border);
  overflow: hidden;
  box-shadow: var(--vp-faq-item-shadow);
}
.vp-faq-accordion__trigger {
  width: 100%;
  min-height: 70px;
  padding: 0 22px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--vp-faq-trigger-color);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: var(--vp-text-heading-weight);
  text-align: left;
}
.vp-faq-accordion__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--vp-faq-icon-color);
  background: var(--vp-faq-icon-bg);
  border: 1px solid var(--vp-faq-icon-border);
  transition: transform .25s ease, color .25s ease, background .25s ease;
}
.vp-faq-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--vp-faq-panel-color);
  font-family: var(--font-sans);
  line-height: 1.65;
  transition: grid-template-rows .3s ease;
}
.vp-faq-accordion__panel > div {
  overflow: hidden;
}
.vp-faq-accordion__panel p {
  margin: 0;
  padding: 0 22px 22px;
}
.vp-faq-accordion__item.open {
  border-color: var(--vp-faq-item-open-border);
  background: var(--vp-faq-item-open-bg);
}
.vp-faq-accordion__item.open .vp-faq-accordion__icon {
  transform: rotate(45deg);
  color: var(--vp-faq-icon-open-color);
  background: var(--vp-faq-icon-open-bg);
}
.vp-faq-accordion__item.open .vp-faq-accordion__panel {
  grid-template-rows: 1fr;
}

/* --- FAQ section wrapper (reusable; ported from home.css) --- */
.vp-faq-section {
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 15% 35%, rgb(var(--vp-blue-rgb) / .18), transparent 32%),
    radial-gradient(circle at 82% 42%, rgb(var(--vp-purple-rgb) / .17), transparent 34%),
    var(--hero-scrim-x),
    var(--hero-scrim-y),
    var(--hero-photo) center / cover no-repeat;
  overflow: hidden;
}
.vp-faq-section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
  font-family: var(--font-sans);
}
.vp-faq-section__head small {
  color: var(--vp-accent-primary-color);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vp-faq-section__head h2 {
  margin: 8px 0 0;
  font-size: clamp(36px, 5vw, 48px);
  line-height: .98;
  letter-spacing: -.055em;
}
.vp-faq-section__head p {
  margin: 0;
  max-width: 430px;
  color: var(--vp-text-secondary-color);
  line-height: 1.6;
}

/* --- Compact page hero (reusable) --- */
.vp-page-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--vp-accent-primary-color);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vp-page-hero__title {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: .96;
  letter-spacing: -.055em;
}
.vp-page-hero__lead {
  max-width: 640px;
  margin: 0;
  color: var(--vp-text-secondary-color);
  font-size: 18px;
  line-height: 1.65;
}
.vp-page-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Section title small modifier --- */
.vp-section-title--sm { font-size: clamp(26px, 3.4vw, 36px); }

/* --- Section divider (reusable) --- */
.vp-section-divider {
  height: 1px;
  width: 100%;
  border: 0;
  background: var(--vp-divider-gradient);
}

/* --- Listing toolbar (2-row card, reusable) --- */
.vp-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--vp-border-primary-color);
  border-radius: var(--vp-radius-lg);
  background: var(--vp-surface-translucent);
}
.vp-toolbar__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.vp-toolbar__group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vp-toolbar__group--grow { flex: 1 1 auto; flex-direction: column; align-items: flex-start; }
.vp-toolbar__group--end { margin-left: auto; }
.vp-toolbar__label {
  color: var(--vp-text-secondary-color);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.vp-toolbar__count {
  color: var(--vp-text-secondary-color);
  font-size: 13px;
  white-space: nowrap;
}
.vp-toolbar__divider {
  height: 1px;
  background: var(--vp-border-primary-color);
}

/* --- Filter chips (reusable) --- */
.vp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vp-chip-row[hidden] { display: none; }
.vp-chip {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--vp-radius-pill);
  color: var(--vp-text-primary-color);
  font-weight: 500;
  font-size: 14px;
  background: var(--vp-bg-secondary-color);
  border: 1px solid var(--vp-border-primary-color);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.vp-chip[hidden] { display: none; }
.vp-chip:hover { border-color: rgb(var(--vp-blue-rgb) / .42); }
.vp-chip.active,
.vp-chip[aria-pressed="true"] {
  color: var(--vp-accent-primary-color);
  border-color: rgb(var(--vp-blue-rgb) / .55);
  background: rgb(var(--vp-blue-rgb) / .12);
}
.vp-chip__count {
  margin-left: 7px;
  color: var(--vp-text-secondary-color);
  font-weight: 500;
  font-size: 12px;
}
.vp-chip.active .vp-chip__count,
.vp-chip[aria-pressed="true"] .vp-chip__count { color: var(--vp-accent-primary-color); }

/* --- Sort control (reusable) --- */
.vp-sort {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.vp-sort .vp-toolbar__count { align-self: flex-end; text-align: right; }
.vp-sort__label {
  color: var(--vp-text-secondary-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.vp-sort__select {
  min-height: 40px;
  max-width: 100%;
  padding: 0 14px;
  border-radius: var(--vp-radius-md);
  color: var(--vp-text-primary-color);
  background: var(--vp-bg-secondary-color);
  border: 1px solid var(--vp-border-primary-color);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* --- Labeled select wrapper (reusable) --- */
.vp-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vp-select-wrap[hidden] { display: none; }
.vp-select-wrap label {
  color: var(--vp-text-secondary-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Exam card (reusable) --- */
.vp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.vp-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.vp-card-grid[hidden] { display: none; }
.vp-exam-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--vp-radius-lg);
  color: var(--vp-text-heading-color);
  background: var(--vp-gradient-surface-1);
  border: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-shadow-1);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vp-exam-card[hidden] { display: none; }
.vp-exam-card:hover {
  transform: translateY(-4px);
  border-color: rgb(var(--vp-blue-rgb) / .42);
  box-shadow: var(--vp-shadow-2);
}
.vp-exam-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vp-exam-card__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.vp-exam-card__title a { color: var(--vp-accent-primary-color); }
.vp-exam-card__title a:hover { text-decoration: underline; }
.vp-exam-card__desc {
  margin: 0;
  color: var(--vp-text-secondary-color);
  font-size: 14px;
  line-height: 1.55;
}
.vp-exam-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vp-exam-card__actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.vp-exam-card__actions .vp-btn { width: 100%; }

/* --- Package card (reusable; image/emblem + price footer) --- */
.vp-package-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--vp-radius-lg);
  background: var(--vp-gradient-surface-1);
  border: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-shadow-1);
  color: var(--vp-text-heading-color);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vp-package-card[hidden] { display: none; }
.vp-package-card:hover {
  transform: translateY(-4px);
  border-color: rgb(var(--vp-blue-rgb) / .42);
  box-shadow: var(--vp-shadow-2);
}
.vp-package-card__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.vp-package-card__thumb {
  width: 96px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: var(--vp-radius-md);
  overflow: hidden;
  background: var(--vp-gradient-surface-3);
}
.vp-package-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0.5rem;
  box-sizing: border-box;
}
.vp-package-card__emblem {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--vp-accent-primary-color);
  font-weight: var(--vp-text-heading-weight);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: .06em;
}
.vp-package-card__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vp-package-card__title {
  color: var(--vp-text-heading-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.vp-package-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.vp-package-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--vp-radius-pill);
  border: 1px solid var(--vp-border-primary-color);
  color: var(--vp-accent-primary-color);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.vp-package-card__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.vp-package-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--vp-text-heading-color);
}
.vp-package-card__price-old {
  color: var(--vp-text-secondary-color);
  font-size: 14px;
}
.vp-package-card__price-now {
  font-size: 20px;
  font-weight: 500;
}
.vp-package-card__cta {
  color: var(--vp-text-heading-color);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  font-style: normal;
}
@media (max-width: 520px) {
  .vp-package-card__thumb { width: 80px; }
}

/* --- Category tag (reusable) --- */
.vp-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--vp-radius-pill);
  color: var(--vp-text-secondary-color);
  border: 1px solid var(--vp-border-primary-color);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vp-exam-card__head .vp-tag { flex: 0 0 auto; }
.vp-tag[data-type="sat"] {
  color: rgb(var(--vp-blue-rgb));
  border-color: rgb(var(--vp-blue-rgb) / .40);
  background: rgb(var(--vp-blue-rgb) / .12);
}
.vp-tag[data-type="ap"] {
  color: rgb(var(--vp-purple-rgb));
  border-color: rgb(var(--vp-purple-rgb) / .40);
  background: rgb(var(--vp-purple-rgb) / .12);
}
.vp-tag[data-type="ib"] {
  color: rgb(var(--vp-green-rgb));
  border-color: rgb(var(--vp-green-rgb) / .40);
  background: rgb(var(--vp-green-rgb) / .12);
}
.vp-tag[data-type="imat"] {
  color: rgb(var(--vp-orange-rgb));
  border-color: rgb(var(--vp-orange-rgb) / .40);
  background: rgb(var(--vp-orange-rgb) / .12);
}

/* --- Meta chip (reusable) --- */
.vp-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--vp-radius-pill);
  border: 1px solid var(--vp-border-primary-color);
  color: var(--vp-text-secondary-color);
  font-size: 12px;
  font-weight: 500;
}

/* --- Loading skeleton (reusable; compositor-friendly shimmer) --- */
.vp-skeleton-card {
  height: 220px;
  border-radius: var(--vp-radius-lg);
  background: var(--vp-gradient-surface-2);
  border: 1px solid var(--vp-border-primary-color);
  position: relative;
  overflow: hidden;
}
.vp-skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--vp-shimmer-color), transparent);
  animation: vp-shimmer 1.4s ease-in-out infinite;
}
@keyframes vp-shimmer {
  to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .vp-skeleton-card::after { animation: none; }
  .vp-exam-card,
  .vp-exam-card:hover,
  .vp-package-card:hover,
  .vp-btn:hover { transform: none; }
}

/* --- Empty state (reusable) --- */
.vp-empty {
  padding: 48px 24px;
  text-align: center;
  border-radius: var(--vp-radius-lg);
  color: var(--vp-text-secondary-color);
  background: var(--vp-bg-secondary-color);
  border: 1px solid var(--vp-border-primary-color);
}
.vp-empty[hidden] { display: none; }
.vp-empty b {
  display: block;
  margin-bottom: 8px;
  color: var(--vp-text-heading-color);
  font-size: 18px;
}
.vp-empty p { margin: 0; }

/* --- Pagination (reusable) --- */
.vp-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.vp-pagination[hidden] { display: none; }
.vp-pagination__btn {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--vp-radius-md);
  color: var(--vp-text-primary-color);
  font-weight: 500;
  font-size: 14px;
  background: var(--vp-bg-secondary-color);
  border: 1px solid var(--vp-border-primary-color);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.vp-pagination__btn:hover:not([disabled]) { border-color: rgb(var(--vp-blue-rgb) / .42); }
.vp-pagination__btn.active {
  color: var(--vp-accent-primary-color);
  border-color: rgb(var(--vp-blue-rgb) / .55);
  background: rgb(var(--vp-blue-rgb) / .12);
}
.vp-pagination__btn[disabled] {
  opacity: .45;
  cursor: default;
}
.vp-pagination__ellipsis {
  color: var(--vp-text-secondary-color);
  padding: 0 4px;
}

/* --- Info card (reusable) --- */
.vp-info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--vp-radius-lg);
  color: var(--vp-text-heading-color);
  background: var(--vp-gradient-surface-2);
  border: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-shadow-1);
}
.vp-info-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.vp-info-card p {
  margin: 0;
  color: var(--vp-text-secondary-color);
  font-size: 14px;
  line-height: 1.6;
}
.vp-info-card__link {
  margin-top: auto;
  color: var(--vp-accent-primary-color);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.vp-info-card__link:hover { text-decoration: underline; }

/* --- Detail layout (reusable; content + sticky aside) --- */
.vp-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}
.vp-detail-layout__main {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.vp-detail-layout__aside {
  position: sticky;
  top: 96px;
}
@media (max-width: 1120px) {
  .vp-detail-layout { grid-template-columns: 1fr; }
  .vp-detail-layout__aside {
    position: static;
    order: -1;
  }
}

/* --- Panel surface (reusable; uses vp-section-title for headings) --- */
.vp-panel {
  padding: 26px;
  border-radius: var(--vp-radius-lg);
  background: var(--vp-gradient-surface-1);
  border: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-shadow-1);
  color: var(--vp-text-heading-color);
}
.vp-panel p {
  color: var(--vp-text-secondary-color);
  line-height: 1.65;
}

/* --- Check list (reusable; ✓ bullet) --- */
.vp-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.vp-check-list li {
  display: flex;
  gap: 10px;
  color: var(--vp-text-secondary-color);
  line-height: 1.5;
}
.vp-check-list li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--vp-radius-pill);
  background: var(--vp-accent-primary-color);
  color: var(--vp-btn-primary-color);
  font-weight: 500;
}
.vp-check-list--compact { gap: 10px; }
.vp-check-list--compact li { font-size: 14px; }
.vp-check-list--compact li::before {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

/* --- Check list two-tone icon variant (<i> mark instead of ::before) --- */
.vp-check-list--icon li::before { content: none; }
.vp-check-list--icon li { align-items: flex-start; }
.vp-check-list__mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--vp-radius-pill);
  background: var(--vp-check-mark-bg);
}
.vp-check-list__mark .fa-check {
  color: var(--vp-check-mark-color);
  font-size: 11px;
}

/* --- Step list (reusable; numbered bullet) --- */
.vp-step-list {
  counter-reset: vp-step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.vp-step-list li {
  display: flex;
  gap: 10px;
  color: var(--vp-text-secondary-color);
  line-height: 1.5;
}
.vp-step-list li::before {
  counter-increment: vp-step;
  content: counter(vp-step);
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--vp-radius-pill);
  background: var(--vp-accent-primary-color);
  color: var(--vp-btn-primary-color);
  font-weight: 500;
  font-size: 13px;
}

/* --- List container (reusable; stacks vp-list-row children) --- */
.vp-list {
  display: grid;
  gap: 10px;
}

/* --- List row (reusable; title/desc + trailing action) --- */
.vp-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--vp-radius-md);
  background: var(--vp-gradient-surface-2);
  border: 1px solid var(--vp-border-primary-color);
}
.vp-list-row__main { min-width: 0; }
.vp-list-row__title {
  color: var(--vp-text-heading-color);
  font-weight: 500;
  line-height: 1.4;
}
a.vp-list-row__title:hover { color: var(--vp-accent-primary-color); }
.vp-list-row__desc {
  margin: 6px 0 0;
  color: var(--vp-text-secondary-color);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 520px) {
  .vp-list-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Promo callout (reusable; accent left border) --- */
.vp-promo {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--vp-radius-md);
  background: var(--vp-gradient-surface-2);
  border: 1px solid var(--vp-border-primary-color);
  border-left: 3px solid var(--vp-accent-primary-color);
}
.vp-promo__icon {
  font-size: 28px;
  line-height: 1;
}
.vp-promo__body b {
  display: block;
  margin-bottom: 6px;
  color: var(--vp-text-heading-color);
  font-weight: 500;
}
.vp-promo__body p {
  margin: 0;
  color: var(--vp-text-secondary-color);
  font-size: 14px;
  line-height: 1.55;
}

/* --- Steps (reusable; numbered badge + title/description block) --- */
.vp-steps {
  display: grid;
  gap: 16px;
}
.vp-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.vp-steps__num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--vp-radius-pill);
  color: var(--vp-accent-primary-color);
  background: rgb(var(--vp-blue-rgb) / .12);
  border: 1px solid rgb(var(--vp-blue-rgb) / .28);
  font-size: 15px;
  font-weight: 500;
}
.vp-steps__body { min-width: 0; }
.vp-steps__body h3 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--vp-text-heading-color);
}
.vp-steps__body p {
  margin: 0;
  color: var(--vp-text-secondary-color);
  font-size: 14.5px;
  line-height: 1.6;
}
.vp-steps__body a { color: var(--vp-accent-primary-color); font-weight: 500; }
.vp-steps__body a:hover { text-decoration: underline; }

/* --- Note / callout (reusable; tinted, accent left border) --- */
.vp-note {
  padding: 18px 20px;
  border-radius: var(--vp-radius-lg);
  background: rgb(var(--vp-blue-rgb) / .06);
  border: 1px solid rgb(var(--vp-blue-rgb) / .20);
  border-left: 3px solid var(--vp-accent-primary-color);
}
.vp-note__title {
  display: block;
  margin: 0 0 6px;
  color: var(--vp-text-heading-color);
  font-weight: 500;
}
.vp-note p {
  margin: 0;
  color: var(--vp-text-secondary-color);
  font-size: 14.5px;
  line-height: 1.6;
}
.vp-note a { color: var(--vp-accent-primary-color); font-weight: 500; }
.vp-note a:hover { text-decoration: underline; }

/* --- Tag links (reusable) --- */
.vp-tag-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vp-tag-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--vp-radius-pill);
  color: var(--vp-text-primary-color);
  font-size: 13px;
  font-weight: 500;
  background: var(--vp-bg-secondary-color);
  border: 1px solid var(--vp-border-primary-color);
  transition: border-color .2s ease;
}
.vp-tag-links a strong { margin: 0 4px; }
.vp-tag-links a:hover { border-color: rgb(var(--vp-blue-rgb) / .42); }

/* --- CTA band (reusable) --- */
.vp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-radius: var(--vp-radius-lg);
  color: var(--vp-text-heading-color);
  background: var(--vp-gradient-surface-2);
  border: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-shadow-1);
}
.vp-cta__copy h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -.02em;
}
.vp-cta__copy p {
  margin: 0;
  color: var(--vp-text-secondary-color);
  font-size: 14.5px;
  line-height: 1.6;
}

/* --- Reader (reusable; TOC aside + scrollable content pane) --- */
.vp-reader-section { background: var(--vp-gradient-surface-3); }
.vp-reader {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.vp-reader__aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  min-width: 0;
}
.vp-reader__toc {
  padding: 18px;
  border-radius: var(--vp-radius-lg);
  background: var(--vp-gradient-surface-1);
  border: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-shadow-1);
}
.vp-reader__toc-title {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vp-text-secondary-color);
}
.vp-reader__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.vp-reader__toc-item {
  display: block;
  padding: 8px 12px;
  border-radius: var(--vp-radius-sm);
  border-left: 2px solid transparent;
  color: var(--vp-text-secondary-color);
  font-size: 13.5px;
  line-height: 1.45;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.vp-reader__toc-item:hover,
.vp-reader__toc-item:focus-visible {
  background: rgb(var(--vp-blue-rgb) / .08);
  color: var(--vp-text-heading-color);
}
.vp-reader__toc-item.is-active {
  background: rgb(var(--vp-blue-rgb) / .12);
  border-left-color: var(--vp-accent-primary-color);
  color: var(--vp-accent-primary-color);
}
.vp-reader__aside-media {
  width: 100%;
  height: auto;
  border-radius: var(--vp-radius-lg);
  filter: drop-shadow(2px 4px 6px rgb(var(--vp-navy-rgb)));
}
.vp-reader__pane {
  max-height: none;
  overflow: visible;
  padding: 28px 30px 44px;
  border-radius: var(--vp-radius-lg);
  background: var(--vp-gradient-surface-1);
  border: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-shadow-1);
}
.vp-reader__pane:focus-visible {
  outline: 2px solid var(--vp-accent-primary-color);
  outline-offset: 2px;
}
.vp-reader__pane::-webkit-scrollbar { width: 8px; }
.vp-reader__pane::-webkit-scrollbar-track { background: transparent; }
.vp-reader__pane::-webkit-scrollbar-thumb {
  background: rgb(var(--vp-navyline-rgb) / .30);
  border-radius: var(--vp-radius-pill);
}
.vp-reader__pane::-webkit-scrollbar-thumb:hover {
  background: rgb(var(--vp-navyline-rgb) / .45);
}
.vp-reader__pane h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  letter-spacing: -.02em;
  scroll-margin-top: 96px;
}
.vp-reader__pane h3:first-child { margin-top: 0; }
.vp-reader__pane h4 {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: var(--vp-text-heading-weight);
  letter-spacing: -.01em;
  color: var(--vp-text-secondary-color);
}
.vp-reader__pane p {
  margin: 0 0 12px;
  color: var(--vp-text-secondary-color);
  font-size: 14.5px;
  line-height: 1.7;
}
.vp-reader__pane ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.vp-reader__pane li {
  color: var(--vp-text-secondary-color);
  font-size: 14.5px;
  line-height: 1.6;
}
.vp-reader__pane b,
.vp-reader__pane strong { color: var(--vp-text-heading-color); }
@media (max-width: 991.98px) {
  .vp-reader { grid-template-columns: 1fr; gap: 18px; }
  .vp-reader__aside { position: static; }
  .vp-reader__pane { padding: 22px 22px 32px; }
}
@media (max-width: 575.98px) {
  .vp-reader__toc { padding: 14px; }
  .vp-reader__pane { padding: 18px 18px 28px; }
}

/* --- Page content nav (reusable; title + in-page jump chips, side by side) --- */
.vp-page-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: .5rem;
}
.vp-page-content__title {
  margin: 0 !important;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--vp-text-secondary-color);
  font-weight: 500;
}
.vp-page-content__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vp-page-content__item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--vp-radius-pill);
  border: 1px solid var(--vp-border-primary-color);
  background: var(--vp-bg-secondary-color);
  color: var(--vp-text-secondary-color);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.vp-page-content__item:hover,
.vp-page-content__item:focus-visible,
.vp-page-content__item.is-active {
  background: rgb(var(--vp-blue-rgb) / .12);
  border-color: rgb(var(--vp-blue-rgb) / .42);
  color: var(--vp-accent-primary-color);
}

/* --- In-page jump targets (offset under sticky header) --- */
#pl-lesson-packages,
#pl-exam-packages,
#about-til,
#veritas-basari,
#about-sat,
#exams,
#exam-access-process,
#what-is-ielts-placement,
#ielts-exam-structure,
#veritas-ielts-courses,
#final-cta,
#test-flow,
#exam-structure,
#about-ielts,
#faq { scroll-margin-top: 96px; }

/* --- Reusable listing responsive --- */
@media (max-width: 1120px) {
  .vp-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .vp-toolbar__row { flex-direction: column; align-items: stretch; }
  .vp-toolbar__group--end { margin-left: 0; }
  .vp-sort { align-items: stretch; }
  .vp-sort__select { width: 100%; }
  .vp-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .vp-card-grid { grid-template-columns: 1fr; }
  .vp-card-grid--2 { grid-template-columns: 1fr; }
  .vp-select-wrap { flex-wrap: wrap; }
}

/* --- Header --- */
.vp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: var(--vp-header-bg);
  border-bottom: 1px solid var(--vp-border-primary-color);
  box-shadow: var(--vp-header-shadow);
}
.vp-header > .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vp-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--vp-text-heading-color);
  text-decoration: none;
}
.vp-header__brand:hover { text-decoration: none; color: var(--vp-text-heading-color); }

.vp-header__brand-mark {
  width: 46px;
  height: 46px;
  padding: 3px;
  border-radius: var(--vp-radius-brand);
  display: grid;
  place-items: center;
  background: var(--vp-brand-mark-bg);
  border: 1px solid var(--vp-brand-mark-border);
  box-shadow: var(--vp-brand-mark-shadow);
}
.vp-header__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--vp-brand-mark-img-filter);
}

.vp-header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* --- Nav --- */
.vp-nav {
  display: flex;
  gap: 18px;
  color: var(--vp-text-primary-color);
  font-size: 14px;
  align-items: center;
}
.vp-nav__item { position: relative; }

.vp-nav__link,
.vp-nav__trigger {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.vp-nav__link:hover,
.vp-nav__trigger:hover,
.vp-nav__item:focus-within > .vp-nav__trigger,
.vp-nav__item:hover > .vp-nav__trigger {
  color: var(--vp-accent-blue-color);
  text-decoration: none;
}

.vp-nav__caret {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  opacity: .72;
  font-size: 11px;
  transition: transform .2s ease;
}

.vp-nav__menu,
.vp-nav__submenu {
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--vp-menu-border);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  color: var(--vp-text-primary-color);
  background: var(--vp-menu-bg);
  box-shadow: var(--vp-menu-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}
.vp-nav__menu a,
.vp-nav__submenu a,
.vp-nav__subtrigger {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--vp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.vp-nav__menu a:hover,
.vp-nav__submenu a:hover,
.vp-nav__subtrigger:hover,
.vp-nav__subitem:focus-within > .vp-nav__subtrigger {
  color: var(--vp-text-heading-color);
  background: var(--vp-menu-item-hover-bg);
}
.vp-nav__subtrigger { width: 100%; }
.vp-nav__item:hover > .vp-nav__menu,
.vp-nav__item:focus-within > .vp-nav__menu,
.vp-nav__subitem:hover > .vp-nav__submenu,
.vp-nav__subitem:focus-within > .vp-nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.vp-nav__subitem { position: relative; }
.vp-nav__submenu {
  top: -10px;
  left: 100%;
}
.vp-nav__menu.vp-nav__menu--lang {
  min-width: 120px;
  left: auto;
  right: 0;
}
.vp-nav__mobile-action { display: none; }

/* --- Menu-toggle + theme-toggle --- */
.vp-menu-toggle,
.vp-theme-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--vp-border-primary-color);
  border-radius: var(--vp-radius-md);
  display: grid;
  place-items: center;
  color: var(--vp-text-primary-color);
  background: var(--vp-toggle-bg);
  cursor: pointer;
  font-size: 18px;
  justify-content: center;
}
.vp-menu-toggle { display: none; }

/* Section vertical rhythm utility. */
.wide-30 { padding-top: 30px; padding-bottom: 30px; }
.wide-60 { padding-top: 60px; padding-bottom: 60px; }
.wide-100 { padding-top: 100px; padding-bottom: 100px; }

.pb-30 { padding-bottom: 30px; }
.pb-60 { padding-bottom: 60px; }
.pb-90 { padding-bottom: 90px; }
.pb-100 { padding-bottom: 100px; }

.pt-30 { padding-top: 30px; }
.pt-60 { padding-top: 60px; }
.pt-90 { padding-top: 90px; }
.pt-100 { padding-top: 100px; }

/* Breadcrumb (reusable, dark-compatible — token only). Sits in layout <main>
   before the page section; section .wide-60 provides the gap to the hero. */
.vp-breadcrumb { padding-top: 1rem; }
.vp-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.vp-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vp-text-secondary-color);
}
.vp-breadcrumb__item:not(:first-child)::before {
  content: "/";
  color: var(--vp-text-secondary-color);
  opacity: .5;
}
.vp-breadcrumb__item a {
  color: var(--vp-text-secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}
.vp-breadcrumb__item a:hover { color: var(--vp-accent-primary-color); }
.vp-breadcrumb__item[aria-current="page"] { color: var(--vp-text-heading-color); }

/* Theme toggle icon swap (component-level exception approved by user) */
.vp-theme-toggle__icon { font-size: 18px; line-height: 1; align-self: center; }
.vp-theme-toggle .vp-theme-toggle__icon--sun { display: none; }
.vp-theme-toggle .vp-theme-toggle__icon--moon { display: inline-block; }
body.dark-theme .vp-theme-toggle .vp-theme-toggle__icon--moon { display: none; }
body.dark-theme .vp-theme-toggle .vp-theme-toggle__icon--sun { display: inline-block; }

/* --- Footer component (token-based, theme switches via :root/body.dark-theme tokens) --- */
.vp-footer {
  position: relative;
  isolation: isolate;
  padding: 84px 0 54px;
  overflow: hidden;
  border-top: 1px solid var(--vp-footer-border-top);
  background: var(--vp-footer-gradient);
}
.vp-footer__main {
  display: grid;
  grid-template-columns: 1.15fr .75fr .9fr .95fr .85fr;
  gap: 58px;
  align-items: start;
}

.vp-footer__brand {
  text-align: center;
  color: var(--vp-text-secondary-color);
}

.vp-footer__logo {
  width: 220px;
  height: 220px;
  margin: 0 auto 22px;
  padding: 14px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: var(--vp-footer-logo-bg);
  border: 1px solid var(--vp-footer-logo-border);
  box-shadow: var(--vp-footer-logo-shadow);
}
.vp-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--vp-footer-logo-img-filter);
}

.vp-footer__brand-name {
  margin: -2px 0 20px;
  color: var(--vp-text-heading-color);
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: var(--vp-text-heading-weight);
  letter-spacing: normal;
  text-shadow: none;
}

.vp-footer__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 22px;
}
.vp-footer__socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--vp-radius-md);
  color: var(--vp-text-secondary-color);
  background: var(--vp-footer-social-bg);
  border: 1px solid var(--vp-footer-social-border);
  font-weight: 500;
  box-shadow: var(--vp-footer-social-shadow);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.vp-footer__socials a:hover {
  transform: translateY(-2px);
  color: var(--vp-text-heading-color);
  border-color: var(--vp-footer-social-hover-border);
  background: var(--vp-footer-social-hover-bg);
  text-decoration: none;
}

.vp-footer__contact {
  display: grid;
  gap: 9px;
  color: var(--vp-text-secondary-color);
  font-size: 15px;
}
.vp-footer__contact a {
  text-decoration: none;
  color: inherit;
  transition: color .2s ease;
  font-weight: 500;
}
.vp-footer__contact a:hover {
  text-decoration: none;
  color: var(--vp-text-heading-color);
}

.vp-footer__phone-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.vp-footer__contact-icon {
  vertical-align: -2px;
  margin-right: 5px;
}

.vp-footer__col h3,
.vp-footer__branch h3 {
  margin: 0 0 14px;
  color: var(--vp-accent-primary-color);
  font-size: 20px;
  letter-spacing: -.02em;
}

.vp-footer__links {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vp-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--vp-text-secondary-color);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.vp-footer__links a::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background-color: var(--vp-footer-arrow-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.2 2.3a1 1 0 0 1 1.4 0l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 1 1-1.4-1.4L9.5 8 5.2 3.7a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.2 2.3a1 1 0 0 1 1.4 0l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 1 1-1.4-1.4L9.5 8 5.2 3.7a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vp-footer__links a:hover {
  color: var(--vp-text-heading-color);
  transform: translateX(4px);
  text-decoration: none;
}

.vp-footer__divider {
  height: 1px;
  margin: 44px 0 22px;
  background: var(--vp-footer-divider-gradient);
}

.vp-footer__branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.vp-footer__branch {
  min-height: 142px;
  padding: 22px;
  border-radius: 22px;
  background: var(--vp-footer-branch-bg);
  border: 1px solid var(--vp-footer-branch-border);
  box-shadow: var(--vp-footer-branch-shadow);
}
.vp-footer__branch p {
  margin: 0 0 14px;
  color: var(--vp-text-secondary-color);
  font-size: 16px;
}
.vp-footer__branch a {
  display: block;
  color: var(--vp-text-secondary-color);
  margin-top: 7px;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease;
}
.vp-footer__branch a:hover {
  color: var(--vp-text-heading-color);
  text-decoration: none;
}

.vp-footer__bottom {
  padding-top: 30px;
  color: var(--vp-text-secondary-color);
  font-size: 15px;
}

/* --- ChatAssist widget host positioning (light DOM; widget shadow DOM styles in vp-ca-widget-shadow.css) --- */
chatassist-widget,
#chatassist-widget {
  position: fixed;
  left: 24px;
  bottom: 24px;
  right: auto;
  top: auto;
  z-index: 1030;
}

@media (max-width: 991.98px) {
  .vp-menu-toggle { display: inline-flex; }
  .vp-header { background: var(--vp-header-bg-solid); backdrop-filter: none; }
  .vp-header > .container { max-width: none; }
  .vp-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--vp-header-bg-solid);
    border-bottom: 1px solid var(--vp-border-primary-color);
    box-shadow: var(--vp-nav-mobile-shadow);
    padding: 12px calc(var(--bs-gutter-x, 1.5rem) * .5);
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: max-height .32s ease, opacity .24s ease, visibility 0s linear .32s;
  }
  .vp-header--nav-open .vp-nav {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: max-height .32s ease, opacity .24s ease, visibility 0s;
  }
  .vp-header--nav-open { position: sticky; }
  .vp-nav__item, .vp-nav__subitem { width: 100%; }
  .vp-nav__link, .vp-nav__trigger { padding-left: 0; padding-right: 0; }
  .vp-nav__trigger { width: 100%; justify-content: space-between; }
  .vp-nav__menu, .vp-nav__submenu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: 0;
    padding: 4px 0 4px 16px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  @keyframes vp-nav-submenu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .vp-nav__item.open > .vp-nav__menu,
  .vp-nav__subitem.open > .vp-nav__submenu {
    display: flex;
    flex-direction: column;
    animation: vp-nav-submenu-in .24s ease;
  }
  .vp-nav__item.open > .vp-nav__trigger .vp-nav__caret,
  .vp-nav__subitem.open > .vp-nav__subtrigger .vp-nav__caret {
    transform: rotate(180deg);
  }
  .vp-nav__mobile-action { display: inline-flex; width: 100%; }
  .vp-nav__mobile-action { margin-top: 8px; }
  .vp-header__actions .vp-btn { display: none; }
}

@media (max-width: 1120px) {
  .vp-footer__main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .vp-footer__brand { grid-column: 1 / -1; }
  .vp-footer__branches { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .vp-footer__main { grid-template-columns: 1fr; }
  .vp-footer__logo { width: 200px; height: 200px; }
  .vp-footer__brand-name { font-size: 26px; }
}

/* --- Reusable vp-themed modal (BS5 modal skin) --- */
.vp-modal .modal-content {
  background: var(--vp-gradient-surface-1);
  border: 1px solid var(--vp-border-primary-color);
  border-radius: var(--vp-radius-lg);
  box-shadow: var(--vp-shadow-1);
  color: var(--vp-text-primary-color);
}
.vp-modal .modal-header,
.vp-modal .modal-footer {
  border-color: var(--vp-border-primary-color);
}
.vp-modal .modal-footer {
  gap: 10px;
  flex-wrap: wrap;
}
.vp-modal .modal-title {
  color: var(--vp-text-heading-color);
  font-weight: 500;
}
.vp-modal__lead {
  color: var(--vp-text-secondary-color);
}
.vp-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vp-modal .form-control {
  background: var(--vp-bg-secondary-color);
  border: 1px solid var(--vp-border-primary-color);
  color: var(--vp-text-primary-color);
  border-radius: var(--vp-radius-md);
}
.vp-modal .form-control:focus {
  background: var(--vp-bg-secondary-color);
  border-color: var(--vp-accent-primary-color);
  color: var(--vp-text-primary-color);
  box-shadow: none;
}
.vp-modal .form-floating > label {
  color: var(--vp-text-secondary-color);
}
.vp-modal .btn-see-password-floating {
  position: absolute;
  top: 0;
  right: 0;
  height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--vp-text-secondary-color);
  cursor: pointer;
  z-index: 5;
}
.vp-modal .form-check-input {
  background-color: var(--vp-bg-secondary-color);
  border-color: var(--vp-border-primary-color);
}
.vp-modal .form-check-input:checked {
  background-color: var(--vp-accent-primary-color);
  border-color: var(--vp-accent-primary-color);
}
.vp-modal .form-check-label {
  color: var(--vp-text-primary-color);
}
.vp-modal .text-danger {
  color: rgb(var(--vp-red-rgb)) !important;
}
