/* ══════════════════════════════════════════════════════
   Chính sách ưu đãi tuyển sinh — styles
   ══════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────── */
.vs-ud-hero {
  position: relative;
  height: 64vh;
  min-height: 320px;
  background-size: cover;
  background-position: 50% 40%;
  display: flex;
  align-items: flex-end;
  background-color: #1E4D5A;
}
.vs-ud-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30,77,90,0.92) 0%, rgba(30,77,90,0.7) 45%, rgba(30,77,90,0) 85%);
  pointer-events: none;
}
.vs-ud-hero__inner {
  position: relative;
  padding-bottom: 64px;
}
.vs-ud-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}
.vs-ud-hero__breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.vs-ud-hero__breadcrumb a:hover { color: #ffffff; }
.vs-ud-hero__breadcrumb span:last-child { color: #ffffff; }
.vs-ud-hero__title {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 64px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

/* ── Shared section helpers ───────────────────────────── */
.vs-ud-section-inner { display: flex; flex-direction: column; gap: 40px; }
.vs-ud-section-title {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #1E4D5A;
  line-height: 1.2;
  margin: 0;
}

/* Reveal */
.vs-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2,0.7,0.2,1), transform 0.8s cubic-bezier(0.2,0.7,0.2,1);
}
.vs-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Ưu đãi ───────────────────────────────────────────── */
.vs-ud-uu-dai {
  background: #D2E0D7;
  padding: 88px 96px;
}

.vs-ud-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Campus tab buttons */
.vs-ud-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  align-self: flex-start;
}
.vs-ud-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 32px;
  background: #FFFFFF;
  color: #1E4D5A;
  box-shadow: inset 0 0 0 1px #1E4D5A;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.vs-ud-seg-btn.is-active {
  background: #1E4D5A;
  color: #ffffff;
  box-shadow: none;
}
.vs-ud-seg-logo {
  height: 20px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.vs-ud-seg-name--short { display: none; }

/* ── Promo banner ─────────────────────────────────────── */
.vs-ud-promo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(90deg, #1E4D5A 0%, #1E4D5A 45%, #B6B6DB 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

/* Bird pattern (right half) */
.vs-ud-promo__bird {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 50%;
  background-repeat: repeat;
  background-size: 78px 90px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* Mobile image (hidden on desktop) */
.vs-ud-promo__img-mob { display: none; }

/* Text col */
.vs-ud-promo__text {
  position: relative;
  z-index: 1;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  color: #FFFFFF;
}

.vs-ud-promo__badge {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 5px 14px;
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px #FFFFFF;
}

.vs-ud-promo__title {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
}

.vs-ud-promo__value {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: #6FC7B6;
}

.vs-ud-promo__date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
}
.vs-ud-promo__date-icon { display: flex; flex: 0 0 auto; color: #6FC7B6; }

.vs-ud-promo__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  padding: 16px 28px;
  border-radius: 32px;
  background: #B6B6DB;
  color: #1E4D5A;
  text-decoration: none;
  transition: gap 200ms ease, background 200ms ease;
}
.vs-ud-promo__cta:hover { gap: 16px; background: #FFFFFF; color: #1E4D5A; }
.vs-ud-promo__cta-arrow { display: flex; width: 18px; height: 18px; }

/* Image col (desktop) */
.vs-ud-promo__img-desk {
  position: relative;
}
.vs-ud-promo__img-desk img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: ellipse(100% 120% at 100% 50%);
}

/* ── 6 Offer cards ────────────────────────────────────── */
.vs-ud-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.vs-ud-card {
  background: #FFFFFF;
  color: #1E4D5A;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vs-ud-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,77,90,0.1);
}

.vs-ud-card--featured {
  background: #1E4D5A;
  color: #FFFFFF;
}
.vs-ud-card--featured:hover {
  box-shadow: 0 8px 24px rgba(30,77,90,0.25);
}

.vs-ud-card__icon {
  width: 32px;
  height: 32px;
  display: flex;
  color: #1E4D5A;
}
.vs-ud-card--featured .vs-ud-card__icon { color: #6FC7B6; }

.vs-ud-card__title {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 6px;
}

.vs-ud-card__eff-chip {
  align-self: flex-start;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  padding: 4px 12px;
  border-radius: 32px;
  background: #6FC7B6;
  color: #1E4D5A;
}

.vs-ud-card__value {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: #1E4D5A;
}
.vs-ud-card--featured .vs-ud-card__value { color: #6FC7B6; }

.vs-ud-card__desc {
  font-size: 14px;
  line-height: 1.6;
}

.vs-ud-card__ap {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(30,77,90,0.75);
}

/* ── Phương thức ──────────────────────────────────────── */
.vs-ud-phuong-thuc {
  background: #FFFFFF;
  padding: 88px 96px;
}
.vs-ud-pt-inner { display: flex; flex-direction: column; gap: 40px; }

.vs-ud-pt-title {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #1E4D5A;
  line-height: 1.2;
  margin: 0;
}

.vs-ud-pt-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.vs-ud-pt-subtitle {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1E4D5A;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* Pay modes */
.vs-ud-pay-modes { display: flex; flex-direction: column; gap: 4px; }

.vs-ud-pay-mode-row {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap: 16px;
  padding: 14px 0;
  box-shadow: inset 0 -1px 0 #D2E0D7;
  align-items: baseline;
}
.vs-ud-pay-mode-row__title {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #1E4D5A;
}
.vs-ud-pay-mode-row__desc {
  font-size: 15px;
  line-height: 1.55;
  color: #1E4D5A;
}

/* Pay ways */
.vs-ud-pay-ways {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.vs-ud-pay-way {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  line-height: 1.55;
  color: #1E4D5A;
}
.vs-ud-pay-way__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D2E0D7;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accordion */
.vs-ud-accordion {
  box-shadow: inset 0 1px 0 rgba(30,77,90,0.2);
  margin-bottom: 24px;
}

.vs-ud-accordion-item {
  box-shadow: inset 0 -1px 0 rgba(30,77,90,0.2);
}

.vs-ud-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.vs-ud-accordion-q {
  font-family: Kanit, system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #1E4D5A;
}

.vs-ud-accordion-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
}

.vs-ud-accordion-chev {
  width: 16px;
  height: 16px;
  display: flex;
  color: #1E4D5A;
  transition: transform 250ms ease;
}

.vs-ud-accordion-answer {
  margin: 0;
  padding: 0 48px 18px 0;
  font-size: 15px;
  line-height: 1.65;
  color: #1E4D5A;
}

/* FAQ link */
.vs-ud-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: #1E4D5A;
  text-decoration: underline;
  text-decoration-color: #6FC7B6;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: gap 200ms ease;
}
.vs-ud-faq-link:hover { gap: 12px; color: #1E4D5A; }
.vs-ud-faq-link__arrow { display: flex; }

/* ══════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .vs-ud-uu-dai,
  .vs-ud-phuong-thuc { padding-left: 20px; padding-right: 20px; }
  .vs-ud-hero__title { font-size: 42px; }
  .vs-ud-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vs-ud-promo { grid-template-columns: 1fr; min-height: 0; }
  .vs-ud-promo__img-desk { display: none; }
  .vs-ud-promo__img-mob {
    display: block;
    aspect-ratio: 16/9;
    position: relative;
  }
  .vs-ud-promo__img-mob img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .vs-ud-promo__bird { display: none; }
  .vs-ud-promo__text {
    background: #1E4D5A;
    padding: 28px 24px;
  }
  .vs-ud-pt-cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 767px) {
  .vs-ud-hero { height: 62vh; }
  .vs-ud-hero__inner { padding-bottom: 32px; }
  .vs-ud-hero__title { font-size: 28px; }
  .vs-ud-hero__breadcrumb { font-size: 12px; }

  .vs-ud-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    align-self: stretch;
  }
  .vs-ud-seg-btn { font-size: 13px; padding: 0 14px; }
  .vs-ud-seg-name--long { display: none; }
  .vs-ud-seg-name--short { display: inline; }

  .vs-ud-cards { grid-template-columns: 1fr; }
  .vs-ud-promo__title { font-size: 30px; }
  .vs-ud-pay-mode-row { grid-template-columns: 1fr; gap: 4px; }
}
