/* BNC Adopt-a-Class — Trust & Authority makeover
   SoT brand: Nunito + #0088ff / navy / gold (BNC home). Không clay / Baloo / purple. */

.adopt-page {
  --adopt-navy: #0b2147;
  --adopt-navy-deep: #061530;
  --adopt-blue: #0088ff;
  --adopt-blue-strong: #0066cc;
  --adopt-gold: #ffc107;
  --adopt-gold-strong: #f0b400;
  --adopt-red: #c62828;
  --adopt-cream: #fff8e1;
  --adopt-ink: #0f2147;
  --adopt-muted: #4a5d7a;
  --adopt-line: #d5e3f5;
  --adopt-soft: #f3f8ff;
  --adopt-radius: 18px;
  --adopt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: #fff;
  min-height: 100vh;
  color: var(--adopt-ink);
}

.adopt-page .ic {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adopt-page button,
.adopt-page a.seb-btn,
.adopt-page .adopt-card,
.adopt-page .adopt-back {
  cursor: pointer;
}

.adopt-page a:focus-visible,
.adopt-page button:focus-visible,
.adopt-page input:focus-visible,
.adopt-page textarea:focus-visible {
  outline: 3px solid rgba(0, 136, 255, 0.45);
  outline-offset: 3px;
}

/* ── Top bar ── */
.adopt-topbar {
  background: var(--adopt-navy-deep);
  color: rgba(255, 255, 255, 0.9);
  font: 600 0.8rem/1.4 var(--font);
}
.adopt-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 7px 0;
}

/* ── Sticky header ── */
.adopt-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--adopt-ease), border-color 0.25s ease;
}
.adopt-header.is-scrolled {
  border-bottom-color: var(--adopt-line);
  box-shadow: 0 8px 28px rgba(11, 33, 71, 0.08);
}
.adopt-header .seb-header__inner {
  gap: 12px;
  min-height: 72px;
}
.adopt-brand {
  align-items: center;
  text-decoration: none;
}
.adopt-brand__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.adopt-brand__sub {
  font: 800 0.66rem/1.1 var(--font);
  letter-spacing: 0.1em;
  color: var(--adopt-blue);
}
.adopt-nav {
  display: none;
  gap: 4px;
  align-items: center;
  font: 700 0.88rem/1.2 var(--font);
}
.adopt-nav a {
  color: var(--adopt-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.adopt-nav a:hover {
  color: var(--adopt-blue-strong);
  background: var(--adopt-soft);
}
.adopt-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--adopt-line);
  border-radius: 12px;
  background: #fff;
  color: var(--adopt-navy);
}
.adopt-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 16px;
  background: #fff;
  border-bottom: 1px solid var(--adopt-line);
}
.adopt-drawer.is-open {
  display: flex;
}
.adopt-drawer a {
  font: 700 1rem/1.2 var(--font);
  color: var(--adopt-navy);
  text-decoration: none;
  padding: 14px 12px;
  border-radius: 12px;
}
.adopt-drawer a:hover {
  background: var(--adopt-soft);
}
@media (min-width: 1100px) {
  .adopt-nav {
    display: flex;
  }
  .adopt-menu-btn {
    display: none;
  }
  .adopt-drawer {
    display: none !important;
  }
}
.adopt-home-link {
  display: none;
}
@media (min-width: 720px) {
  .adopt-home-link {
    display: inline-flex;
  }
}

/* ── Hero ── */
.adopt-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: center;
}
.adopt-hero__bg {
  position: absolute;
  inset: 0;
  /* Chờ ảnh PDT — khối màu + texture nhẹ, không stock face */
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 136, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(255, 193, 7, 0.12), transparent 50%),
    linear-gradient(145deg, #061530 0%, #0b3a7a 48%, #0a4fa8 100%);
}
.adopt-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.adopt-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 48, 0.25), rgba(6, 21, 48, 0.72));
}
.adopt-hero__inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}
.adopt-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font: 800 0.76rem/1.2 var(--font);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.adopt-pill--gold {
  background: var(--adopt-gold);
  color: var(--adopt-navy-deep);
  box-shadow: 0 6px 18px rgba(255, 193, 7, 0.28);
}
.adopt-pill--outline {
  background: transparent;
  border: 1.5px solid rgba(255, 193, 7, 0.85);
  color: var(--adopt-gold);
}
.adopt-pill--muted {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  margin-bottom: 12px;
}
.adopt-hero__title {
  margin: 18px 0 12px;
  font: 900 clamp(2rem, 5.2vw, 3.25rem) / 1.08 var(--font);
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.adopt-hero__tag {
  margin: 0 0 14px;
  font: 800 clamp(1.08rem, 2.5vw, 1.4rem) / 1.35 var(--font);
  color: var(--adopt-gold);
}
.adopt-hero__lead {
  margin: 0 auto 26px;
  max-width: 34rem;
  font: 600 1.08rem/1.55 var(--font);
  color: rgba(255, 255, 255, 0.94);
}
/* Hero 29/10: tên tiếng Anh nhỏ cạnh tiêu đề; câu kêu gọi tô vàng */
.adopt-hero__title-en {
  display: inline-block;
  font-size: 0.5em;
  font-weight: 800;
  letter-spacing: 0.06em;
  vertical-align: middle;
  color: var(--adopt-gold);
}
.adopt-hero__lead--wide {
  max-width: 42rem;
}
.adopt-hero__lead strong {
  font-weight: 800;
  color: var(--adopt-gold);
}
.adopt-btn-gold {
  background: var(--adopt-gold) !important;
  color: var(--adopt-navy-deep) !important;
  border-color: transparent !important;
  min-height: 52px;
  padding-inline: 28px;
  box-shadow: 0 10px 28px rgba(255, 193, 7, 0.32);
  transition: transform 0.2s var(--adopt-ease), box-shadow 0.2s ease, background 0.2s ease;
}
.adopt-btn-gold:hover {
  background: var(--adopt-gold-strong) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 193, 7, 0.4);
}
.adopt-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.adopt-hero__stats > div {
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.adopt-hero__stats strong {
  display: block;
  font: 900 1.55rem/1.15 var(--font);
}
.adopt-hero__stats span {
  font: 600 0.84rem/1.35 var(--font);
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 640px) {
  .adopt-hero__stats {
    grid-template-columns: 1fr;
  }
}

/* ── Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--adopt-ease), transform 0.55s var(--adopt-ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .adopt-btn-gold:hover,
  .adopt-card:hover,
  .adopt-feature:hover,
  .adopt-pkg:hover {
    transform: none;
  }
}

/* ── Sections ── */
.adopt-block {
  padding: clamp(56px, 8vw, 88px) 0;
}
.adopt-block--tint {
  background: var(--adopt-soft);
}
.adopt-narrow {
  max-width: 720px;
}
.adopt-eyebrow {
  margin: 0 0 12px;
  font: 800 0.78rem/1.2 var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--adopt-red);
}
.adopt-h2 {
  margin: 0 0 16px;
  font: 800 clamp(1.45rem, 3vw, 2rem) / 1.22 var(--font);
  color: var(--adopt-navy);
  text-wrap: balance;
}
.adopt-prose {
  margin: 0 0 16px;
  color: var(--adopt-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
/* user 29/10: Lời giới thiệu đậm hơn, rộng bằng mục «Số liệu trực tiếp» */
#adopt-loi-gioi-thieu .adopt-prose {
  font-weight: 700;
  color: var(--adopt-navy);
}
#adopt-loi-gioi-thieu .adopt-prose strong {
  font-weight: 900;
  color: var(--adopt-blue-strong);
}
.adopt-prose--focus {
  font-weight: 800;
  color: var(--adopt-blue-strong);
  font-size: 1.12rem;
}
.adopt-lead-soft {
  margin: 0 0 28px;
  max-width: 42rem;
  color: var(--adopt-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.adopt-center {
  text-align: center;
}
.adopt-center-row {
  justify-content: center;
}

.adopt-quote {
  margin: 28px 0;
  padding: 26px 26px 26px 60px;
  position: relative;
  background: var(--adopt-cream);
  border-radius: var(--adopt-radius);
  border: 0;
  box-shadow: 0 8px 24px rgba(192, 140, 0, 0.08);
}
.adopt-quote__mark {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 28px;
  height: 28px;
  color: var(--adopt-gold-strong);
  stroke-width: 1.5;
}
.adopt-quote p {
  margin: 0;
  font: italic 800 1.08rem/1.55 var(--font);
  color: var(--adopt-navy);
}

.adopt-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  color: var(--adopt-blue);
  font: 800 0.78rem/1 var(--font);
  letter-spacing: 0.14em;
}
.adopt-divider::before,
.adopt-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--adopt-line);
}

.adopt-split {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .adopt-split {
    grid-template-columns: 1.15fr 0.95fr;
    align-items: stretch;
    gap: 36px;
  }
}

.adopt-policy-card {
  background: linear-gradient(160deg, #0b2147, #0a3a7a);
  color: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(11, 33, 71, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.adopt-policy-card h3 {
  margin: 0 0 12px;
  font: 800 1.12rem/1.4 var(--font);
}
.adopt-policy-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.55;
}

.adopt-feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 24px;
}
.adopt-feature {
  background: #fff;
  border: 1px solid var(--adopt-line);
  border-radius: var(--adopt-radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(11, 33, 71, 0.05);
  transition: transform 0.25s var(--adopt-ease), box-shadow 0.25s ease;
}
.adopt-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 33, 71, 0.1);
}
.adopt-feature__ico {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f4ff, #d6ebff);
  color: var(--adopt-blue-strong);
  margin-bottom: 14px;
}
.adopt-feature__ico .ic {
  width: 26px;
  height: 26px;
}
.adopt-feature h3 {
  margin: 0 0 8px;
  font: 800 1.08rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-feature p {
  margin: 0;
  color: var(--adopt-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.adopt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.adopt-chips span {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid #b8d4f5;
  background: #fff;
  font: 700 0.86rem/1.2 var(--font);
  color: var(--adopt-navy);
}

.adopt-pilot-card {
  display: grid;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--adopt-line);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 12px 32px rgba(11, 33, 71, 0.06);
  border-left: 5px solid var(--adopt-blue);
}
@media (min-width: 900px) {
  .adopt-pilot-card {
    grid-template-columns: 1fr 1fr;
  }
}
.adopt-pilot-card h3 {
  margin: 0 0 16px;
  font: 800 1.12rem/1.3 var(--font);
  color: var(--adopt-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.adopt-num-badge {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--adopt-red);
  color: #fff;
  font: 800 0.85rem/1 var(--font);
}
.adopt-timeline {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-left: 2px solid #c9ddf5;
}
.adopt-timeline li {
  position: relative;
  padding: 0 0 18px 20px;
}
.adopt-timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--adopt-blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #c9ddf5;
}
.adopt-timeline strong {
  display: block;
  color: var(--adopt-navy);
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.adopt-timeline span {
  color: var(--adopt-muted);
  font-size: 0.92rem;
}
.adopt-big-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.adopt-big-nums strong {
  display: block;
  font: 900 1.65rem/1.1 var(--font);
  color: var(--adopt-blue-strong);
}
.adopt-big-nums span {
  font-size: 0.84rem;
  color: var(--adopt-muted);
  line-height: 1.35;
}
.adopt-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.adopt-checks li {
  position: relative;
  padding-left: 32px;
  color: var(--adopt-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.adopt-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f4ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

.adopt-how-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 24px 0 28px;
}
.adopt-how-card {
  border: 1px solid var(--adopt-line);
  border-radius: var(--adopt-radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 33, 71, 0.05);
  transition: transform 0.25s var(--adopt-ease), box-shadow 0.25s ease;
}
.adopt-how-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(11, 33, 71, 0.09);
}
.adopt-how-card__n {
  margin: 0 0 10px;
  font: 800 0.76rem/1.2 var(--font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--adopt-red);
}
.adopt-how-card h3 {
  margin: 0 0 10px;
  font: 800 1.08rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-how-card p {
  margin: 0;
  color: var(--adopt-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.adopt-cost-box {
  background: linear-gradient(180deg, #eef5ff, #e4efff);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid #c9ddf5;
}
.adopt-cost-box h3 {
  margin: 0 0 8px;
  font: 800 1.15rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-cost-box__formula {
  margin: 0 0 18px;
  color: var(--adopt-muted);
}
.adopt-cost-bar {
  display: flex;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  font: 800 0.88rem/1 var(--font);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.adopt-cost-bar__you {
  flex: 47.6;
  background: linear-gradient(90deg, #ff8a1f, #ff9f43);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.adopt-cost-bar__bnc {
  flex: 52.4;
  background: linear-gradient(90deg, #0066cc, #0088ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.adopt-cost-bar__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font: 700 0.88rem/1.35 var(--font);
  color: var(--adopt-muted);
}
@media (max-width: 560px) {
  .adopt-cost-bar {
    flex-direction: column;
    height: auto;
    border-radius: 14px;
  }
  .adopt-cost-bar__you,
  .adopt-cost-bar__bnc {
    padding: 14px;
  }
}

.adopt-pkg-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 28px;
  align-items: stretch;
}
.adopt-pkg {
  background: #fff;
  border: 1.5px solid var(--adopt-line);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(11, 33, 71, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s var(--adopt-ease), box-shadow 0.25s ease;
}
.adopt-pkg:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 33, 71, 0.1);
}
.adopt-pkg--featured {
  border: 2px solid var(--adopt-blue);
  box-shadow: 0 18px 40px rgba(0, 102, 204, 0.14);
  position: relative;
  transform: scale(1.02);
  z-index: 1;
}
@media (max-width: 900px) {
  .adopt-pkg--featured {
    transform: none;
  }
}
.adopt-pkg__name {
  margin: 4px 0 0;
  font: 800 1.2rem/1.2 var(--font);
  color: var(--adopt-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.adopt-pkg__price {
  margin: 0;
  color: var(--adopt-navy);
  font: 700 1rem/1.2 var(--font);
}
.adopt-pkg__price strong {
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.adopt-pkg__price--long strong {
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}
.adopt-pkg__desc {
  margin: 0;
  color: var(--adopt-muted);
  font-weight: 700;
}
.adopt-pkg ul {
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  flex: 1;
}
.adopt-pkg li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: var(--adopt-muted);
  font-size: 0.94rem;
  line-height: 1.4;
}
.adopt-pkg li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--adopt-blue-strong);
  font-weight: 900;
}
.adopt-pkg .seb-btn {
  width: 100%;
  min-height: 50px;
}

.adopt-stat-band {
  background: var(--adopt-navy);
  color: #fff;
  padding: 44px 0;
}
.adopt-stat-band__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}
.adopt-stat-band strong {
  display: block;
  font: 900 1.75rem/1.15 var(--font);
  margin-bottom: 8px;
  color: var(--adopt-gold);
}
.adopt-stat-band span {
  font: 600 0.9rem/1.4 var(--font);
  color: rgba(255, 255, 255, 0.85);
}

.adopt-cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0, 136, 255, 0.35), transparent 55%),
    linear-gradient(135deg, #0a3a8a, #0088ff 70%);
  color: #fff;
  padding: clamp(56px, 8vw, 80px) 0;
}
.adopt-cta-band__title {
  margin: 0 0 14px;
  font: 800 clamp(1.4rem, 3.2vw, 2rem) / 1.25 var(--font);
  text-wrap: balance;
}
.adopt-cta-band__title--long {
  max-width: 46rem;
  margin: 0 auto 26px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.4;
}
.adopt-cta-band__lead {
  margin: 0 auto 26px;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
}
.adopt-btn-ghost {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  min-height: 52px;
}
.adopt-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}
.adopt-cta-band__contact {
  margin: 20px 0 0;
  font: 700 0.98rem/1.4 var(--font);
  color: rgba(255, 255, 255, 0.92);
}

.adopt-footer-site {
  background: var(--adopt-navy-deep);
  color: rgba(255, 255, 255, 0.84);
  padding: 48px 0 0;
  font-size: 0.94rem;
}
.adopt-footer-site__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 32px;
}
.adopt-footer-site h4 {
  margin: 0 0 12px;
  font: 800 0.82rem/1.2 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.adopt-footer-site p {
  margin: 0 0 6px;
  line-height: 1.45;
}
.adopt-footer-site a {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.adopt-footer-site a:hover {
  color: var(--adopt-gold);
}
.adopt-footer-site__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px var(--gutter);
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

/* ── Flow: schools / classes ── */
.adopt-muted {
  color: var(--adopt-muted);
  margin: 0 0 20px;
}
.adopt-flow {
  padding: 0 0 72px;
  background: var(--adopt-soft);
  min-height: 70vh;
}
.adopt-flow-hero {
  background:
    radial-gradient(ellipse 50% 80% at 90% 0%, rgba(0, 136, 255, 0.28), transparent 55%),
    linear-gradient(135deg, #061530 0%, #0b2147 55%, #0a3a8a 100%);
  color: #fff;
  padding: 28px 0 36px;
  margin-bottom: 28px;
}
.adopt-flow-hero .adopt-back {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}
.adopt-flow-hero .adopt-back:hover {
  color: var(--adopt-gold);
}
.adopt-h2--light {
  color: #fff !important;
  margin: 0 0 10px !important;
}
.adopt-flow-lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  font: 600 1rem/1.5 var(--font);
}
.adopt-flow-body {
  padding-bottom: 24px;
}
.adopt-back {
  border: 0;
  background: transparent;
  color: var(--adopt-blue-strong);
  font: 700 0.95rem/1.2 var(--font);
  padding: 0;
  margin-bottom: 10px;
  cursor: pointer;
}
.adopt-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.adopt-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 0.82rem/1.2 var(--font);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}
.adopt-steps li span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
}
.adopt-steps li.is-active {
  color: #fff;
}
.adopt-steps li.is-active span {
  background: var(--adopt-gold);
  color: var(--adopt-navy);
}
.adopt-steps li.is-done {
  color: rgba(255, 255, 255, 0.75);
}
.adopt-steps li.is-done span {
  background: rgba(0, 200, 120, 0.35);
  color: #fff;
}
.adopt-steps--modal {
  margin-bottom: 18px;
}
.adopt-steps--modal li {
  color: var(--adopt-muted);
}
.adopt-steps--modal li span {
  background: var(--adopt-soft);
  color: var(--adopt-muted);
}
.adopt-steps--modal li.is-active {
  color: var(--adopt-navy);
}
.adopt-steps--modal li.is-active span {
  background: var(--adopt-blue);
  color: #fff;
}
.adopt-steps--modal li.is-done {
  color: #13804a;
}
.adopt-steps--modal li.is-done span {
  background: #e9f8f0;
  color: #13804a;
}

.adopt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.adopt-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1.5px solid var(--adopt-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 33, 71, 0.06);
  text-align: left;
  overflow: hidden;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.28s ease, transform 0.28s var(--adopt-ease), border-color 0.2s ease;
}
.adopt-card:hover {
  box-shadow: 0 18px 40px rgba(11, 33, 71, 0.12);
  transform: translateY(-4px);
  border-color: rgba(0, 136, 255, 0.35);
}
.adopt-card:focus-visible {
  outline: 3px solid var(--adopt-blue);
  outline-offset: 2px;
}
.adopt-card__art {
  position: relative;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0b2147, #0088ff);
  background-size: cover;
  background-position: center;
}
.adopt-card__art.has-photo {
  background-color: #0b2147;
}
.adopt-card.tone-1 .adopt-card__art:not(.has-photo) {
  background: linear-gradient(145deg, #0b2147 0%, #0088ff 100%);
}
.adopt-card.tone-2 .adopt-card__art:not(.has-photo) {
  background: linear-gradient(145deg, #061530 0%, #0a3a8a 55%, #c9a227 140%);
}
.adopt-card.tone-3 .adopt-card__art:not(.has-photo) {
  background: linear-gradient(145deg, #0a3a8a 0%, #0066cc 70%, #e8f4ff 160%);
}
.adopt-card.tone-4 .adopt-card__art:not(.has-photo) {
  background: linear-gradient(160deg, #0b2147, #1a4a9a 60%, #0088ff);
}
.adopt-card__mark {
  position: absolute;
  top: 12px;
  left: 14px;
  font: 800 0.72rem/1 var(--font);
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
.adopt-card__glyph {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
}
.adopt-card__glyph--school::before,
.adopt-card__glyph--school::after,
.adopt-card__glyph--class::before,
.adopt-card__glyph--class::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
}
.adopt-card__glyph--school::before {
  left: 12px;
  right: 12px;
  top: 14px;
  bottom: 10px;
  border-radius: 3px 3px 2px 2px;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
}
.adopt-card__glyph--school::after {
  width: 10px;
  height: 14px;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
  background: rgba(11, 33, 71, 0.45);
}
.adopt-card__glyph--class::before {
  width: 28px;
  height: 20px;
  left: 11px;
  top: 14px;
  border-radius: 3px;
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.55);
}
.adopt-card__glyph--class::after {
  width: 18px;
  height: 3px;
  left: 17px;
  bottom: 12px;
  border-radius: 2px;
  opacity: 0.85;
}
.adopt-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.adopt-card__kicker {
  margin: 0;
  font: 700 0.78rem/1.2 var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adopt-blue-strong);
}
.adopt-card__body h3 {
  margin: 0;
  font: 800 1.08rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-card__meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--adopt-muted);
  font-weight: 600;
}
.adopt-card__meta strong {
  color: var(--adopt-navy);
  font-weight: 900;
}
.adopt-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font: 800 0.88rem/1.2 var(--font);
  color: var(--adopt-blue-strong);
}
.adopt-card:hover .adopt-card__cta {
  color: var(--adopt-navy);
}
.adopt-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font: 800 0.75rem/1.2 var(--font);
  background: #e8f4ff;
  color: var(--adopt-blue-strong);
}
.adopt-badge--wait {
  background: #fff3e6;
  color: #c45a00;
}
.adopt-badge--done {
  background: #e9f8f0;
  color: #13804a;
}
.adopt-status {
  color: var(--adopt-muted);
  font: 700 1rem/1.4 var(--font);
  text-align: center;
  padding: 28px 12px;
}

/* ── Modals ── */
.adopt-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.adopt-modal[hidden] {
  display: none;
}
.adopt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 21, 48, 0.58);
  backdrop-filter: blur(4px);
}
.adopt-modal__card {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 28px 70px rgba(6, 21, 48, 0.32);
  animation: adopt-modal-in 0.32s var(--adopt-ease);
}
@keyframes adopt-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.adopt-modal__card--wide {
  width: min(640px, 100%);
  padding: 28px 28px 32px;
}
.adopt-modal__card--class {
  width: min(560px, 100%);
  overflow: hidden;
}
.adopt-modal__card--class .adopt-modal__art {
  height: 180px;
  margin: 0;
  border-radius: 0;
}
.adopt-modal__body {
  padding: 22px 26px 28px;
}
.adopt-modal__x {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--adopt-navy);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 21, 48, 0.15);
}
.adopt-modal__card--wide .adopt-modal__x {
  background: var(--adopt-soft);
  box-shadow: none;
}
.adopt-modal__art {
  height: 160px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0b2147, #0088ff);
  background-size: cover;
  background-position: center;
}
.adopt-modal__title {
  margin: 0 0 8px;
  font: 800 1.4rem/1.25 var(--font);
  padding-right: 36px;
  color: var(--adopt-navy);
}
.adopt-modal__school {
  margin: 0 0 4px;
  font: 700 0.82rem/1.3 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--adopt-blue-strong);
}
.adopt-modal__actions {
  margin-top: 8px;
}
.adopt-teacher {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--adopt-soft);
  border: 1px solid var(--adopt-line);
}
.adopt-teacher__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, #0b2147, #0088ff);
  background-size: cover;
  background-position: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(11, 33, 71, 0.12);
}
.adopt-teacher__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--adopt-muted);
}
.adopt-teacher__name {
  margin: 4px 0 0;
  font: 800 1.05rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-intro-html {
  font-size: 0.95rem;
  color: var(--adopt-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}
.adopt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.adopt-gallery__item {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(145deg, #0b2147, #0088ff);
  background-size: cover;
  background-position: center;
}
.adopt-contact-note {
  font: 600 0.9rem/1.45 var(--font);
  color: var(--adopt-muted);
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0e0b8;
}
.adopt-contact-note strong {
  color: var(--adopt-navy);
}
.adopt-status-badge {
  margin: 0 0 4px;
}
.adopt-flow-class-chip {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f4ff;
  color: var(--adopt-navy);
  font: 700 0.88rem/1.3 var(--font);
}
.adopt-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.adopt-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.adopt-field--full {
  grid-column: 1 / -1;
}
@media (max-width: 560px) {
  .adopt-form-grid {
    grid-template-columns: 1fr;
  }
}
.adopt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 700 0.9rem/1.2 var(--font);
  color: var(--adopt-navy);
}
.adopt-field input {
  min-height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 12px;
  font: 600 1rem/1.3 var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.adopt-field input:focus {
  outline: none;
  border-color: var(--adopt-blue);
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.18);
}
.adopt-field small {
  font-weight: 600;
  color: var(--adopt-muted);
}
.adopt-privacy {
  border: 1.5px solid var(--adopt-line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--adopt-soft);
}
.adopt-privacy legend {
  font: 800 0.9rem/1.2 var(--font);
  padding: 0 6px;
  color: var(--adopt-navy);
}
.adopt-privacy__all {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--adopt-navy);
}
.adopt-privacy__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.adopt-privacy label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: var(--adopt-muted);
}
.adopt-terms-panel {
  border: 1.5px solid var(--adopt-line);
  border-radius: 14px;
  overflow: hidden;
}
.adopt-terms-panel__label {
  margin: 0;
  padding: 10px 14px;
  font: 800 0.82rem/1.2 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--adopt-navy);
  color: #fff;
}
.adopt-terms-box {
  max-height: 160px;
  overflow: auto;
  padding: 12px 14px;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--adopt-muted);
  border: 0;
}
.adopt-terms-ver {
  margin: 0;
  padding: 8px 14px 10px;
  font-size: 0.82rem;
  background: var(--adopt-soft);
  border-top: 1px solid var(--adopt-line);
}
.adopt-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
  color: var(--adopt-navy);
}
.adopt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.adopt-form-error {
  color: var(--adopt-red);
  font-weight: 700;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffeef0;
}
.adopt-pay-status {
  margin: 0 0 8px;
  font: 600 0.95rem/1.4 var(--font);
  color: var(--adopt-muted);
}
.adopt-pay-box {
  border: 1.5px solid var(--adopt-line);
  border-radius: 18px;
  padding: 22px;
  margin: 12px 0 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 40%);
  text-align: center;
}
.adopt-pay-art {
  height: 140px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 2px dashed rgba(0, 136, 255, 0.35);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(0, 136, 255, 0.04) 8px,
      rgba(0, 136, 255, 0.04) 16px
    ),
    #f0f7ff;
  display: grid;
  place-items: center;
}
.adopt-pay-art span {
  font: 700 0.88rem/1.3 var(--font);
  color: var(--adopt-blue-strong);
  letter-spacing: 0.02em;
}
.adopt-pay-label {
  margin: 0;
  font: 700 0.8rem/1.2 var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adopt-muted);
}
.adopt-pay-code {
  font: 900 1.75rem/1.2 var(--font);
  letter-spacing: 0.08em;
  color: var(--adopt-navy);
  margin: 6px 0 10px;
}
.adopt-pay-expire {
  margin: 0 0 12px;
  font: 700 0.92rem/1.35 var(--font);
  color: #c45a00;
}
.adopt-pay-instructions {
  margin: 0;
  font: 600 0.95rem/1.5 var(--font);
  color: var(--adopt-muted);
  text-align: left;
}
.adopt-pay-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--adopt-soft);
  border: 1px solid var(--adopt-line);
}
.adopt-pay-note p {
  margin: 0 0 6px;
  font: 600 0.9rem/1.45 var(--font);
  color: var(--adopt-muted);
}
.adopt-pay-note p:last-child {
  margin-bottom: 0;
}
body.adopt-no-scroll {
  overflow: hidden;
}
body.adopt-flowing .seb-nav,
body.adopt-flowing .adopt-topbar,
body.adopt-flowing .seb-drawer,
body.adopt-flowing .seb-menu-btn {
  display: none !important;
}
body.adopt-flowing .adopt-footer-site {
  display: none;
}
@media (max-width: 640px) {
  .adopt-flow-hero {
    padding: 22px 0 28px;
  }
  .adopt-steps {
    gap: 8px 12px;
  }
  .adopt-steps li {
    font-size: 0.75rem;
  }
  .adopt-modal__body {
    padding: 18px 18px 24px;
  }
  .adopt-modal__card--wide {
    padding: 22px 18px 26px;
  }
}

/* ══ BNC-ADOPT-V2 (26/10): số liệu live · Quỹ chung · chuyển khoản QR ══ */
.adopt-hero__cta {
  justify-content: center;
  gap: 12px;
}
.adopt-hero__cta .adopt-btn-ghost {
  padding-inline: 24px;
}
.adopt-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 24px;
}
.adopt-kpi {
  padding: 18px 12px;
  border-radius: var(--adopt-radius);
  background: var(--adopt-soft);
  border: 1px solid var(--adopt-line);
  text-align: center;
}
.adopt-kpi strong {
  display: block;
  font: 900 1.9rem/1.1 var(--font);
  color: var(--adopt-navy);
  font-variant-numeric: tabular-nums;
}
.adopt-kpi span {
  font: 700 0.86rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-kpi--done {
  background: #e9f8f0;
  border-color: #bfe8d2;
}
.adopt-kpi--done strong {
  color: #13804a;
}
.adopt-kpi--need {
  background: var(--adopt-cream);
  border-color: #ffe08a;
}
.adopt-kpi--need strong {
  color: #a86b00;
}
.adopt-kpi-pool {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 18px;
  border: 1px solid #ffe08a;
  border-radius: var(--adopt-radius);
  background: var(--adopt-cream);
  color: var(--adopt-navy);
  text-decoration: none;
}
.adopt-kpi-pool:hover {
  border-color: #f0b400;
}
.adopt-kpi-pool__k {
  font: 800 0.8rem/1.2 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a86b00;
}
.adopt-kpi-pool strong {
  font: 900 1.15rem/1.2 var(--font);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.adopt-kpi-pool__bar > span {
  background: #f0b400;
}
.adopt-kpi-pool__s {
  font: 600 0.9rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-kpi-pool__go {
  font: 800 0.9rem/1 var(--font);
  color: var(--adopt-blue-strong);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .adopt-kpi-pool {
    grid-template-columns: auto 1fr auto;
  }
  .adopt-kpi-pool__bar {
    grid-column: 1 / -1;
    order: 5;
  }
  .adopt-kpi-pool__s {
    grid-column: 1 / -1;
    order: 6;
  }
}
@media (max-width: 900px) {
  .adopt-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .adopt-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adopt-kpi strong {
    font-size: 1.55rem;
  }
}
.adopt-provs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 14px;
}
.adopt-prov {
  padding: 20px 22px;
  border-radius: var(--adopt-radius);
  border: 1px solid var(--adopt-line);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.adopt-prov__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 12px;
}
.adopt-prov h3 {
  margin: 0;
  font: 900 1.25rem/1.2 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adopt-navy);
}
.adopt-prov__nums {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  font: 600 0.92rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-prov__nums strong {
  color: var(--adopt-navy);
}
.adopt-prov__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 10px 0 8px;
  font: 600 0.9rem/1.4 var(--font);
  color: var(--adopt-muted);
}
.adopt-bar {
  height: 12px;
  border-radius: 999px;
  background: #e6edf5;
  overflow: hidden;
}
.adopt-bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--adopt-gold);
  transition: width 0.6s var(--adopt-ease);
}
.adopt-bar--green > span {
  background: #22a565;
}
.adopt-link {
  padding: 0;
  border: 0;
  background: none;
  font: 800 0.95rem/1.3 var(--font);
  color: var(--adopt-blue-strong);
  cursor: pointer;
}
.adopt-link:hover {
  text-decoration: underline;
}

/* Quỹ chung */
.adopt-pool {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}
@media (max-width: 860px) {
  .adopt-pool {
    grid-template-columns: 1fr;
  }
}
.adopt-pool__progress,
.adopt-pool__give {
  padding: 24px;
  border-radius: var(--adopt-radius);
  border: 1px solid var(--adopt-line);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.adopt-pool__progress {
  background: linear-gradient(160deg, var(--adopt-navy) 0%, #12356f 100%);
  color: #fff;
  border-color: transparent;
}
.adopt-pool__label {
  margin: 0 0 8px;
  font: 800 0.8rem/1.2 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.adopt-pool__nums {
  margin: 0 0 14px;
  font: 700 1.1rem/1.2 var(--font);
}
.adopt-pool__nums strong {
  font: 900 clamp(1.8rem, 4vw, 2.4rem) / 1.1 var(--font);
  color: var(--adopt-gold);
  font-variant-numeric: tabular-nums;
}
.adopt-pool__progress .adopt-bar {
  height: 16px;
  background: rgba(255, 255, 255, 0.16);
}
.adopt-pool__sub,
.adopt-pool__funded {
  margin: 12px 0 0;
  font: 600 0.98rem/1.5 var(--font);
  color: rgba(255, 255, 255, 0.9);
}
.adopt-pool__funded strong {
  color: var(--adopt-gold);
}
.adopt-pool__hint {
  min-height: 1.4em;
  margin: 10px 0 14px;
  font: 700 0.92rem/1.4 var(--font);
  color: #13804a;
}
.adopt-pool__hint.is-error {
  color: var(--adopt-red);
}
.adopt-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--adopt-radius);
  background: var(--adopt-soft);
  border: 1px solid var(--adopt-line);
}
.adopt-explain h3 {
  margin: 0 0 10px;
  font: 900 1.15rem/1.3 var(--font);
  color: var(--adopt-navy);
}
@media (max-width: 860px) {
  .adopt-explain {
    grid-template-columns: 1fr;
  }
}
.adopt-example__title {
  margin: 0 0 8px;
  font: 800 0.95rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-example table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font: 700 0.92rem/1.35 var(--font);
  font-variant-numeric: tabular-nums;
}
.adopt-example th,
.adopt-example td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--adopt-line);
  text-align: left;
}
.adopt-example th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--adopt-muted);
  background: #eef5ff;
}
.adopt-example td:last-child {
  color: #13804a;
}
.adopt-promise {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .adopt-promise {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .adopt-promise {
    grid-template-columns: 1fr;
  }
}

/* Video + ảnh — BNC tự đưa nội dung vào Cài đặt Em Có Học */
.adopt-media {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  margin: 24px 0;
}
@media (max-width: 860px) {
  .adopt-media {
    grid-template-columns: 1fr;
  }
}
.adopt-media__video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--adopt-radius);
  overflow: hidden;
  background: var(--adopt-soft);
}
.adopt-media__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.adopt-media__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  min-height: 200px;
}
.adopt-media__empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  padding: 16px;
  border: 2px dashed var(--adopt-line);
  border-radius: var(--adopt-radius);
  background: var(--adopt-soft);
  font: 700 0.95rem/1.4 var(--font);
  color: var(--adopt-muted);
  text-align: center;
}
.adopt-media__item {
  position: relative;
  margin: 0;
  min-height: 120px;
  border-radius: 14px;
  background: var(--adopt-soft) center / cover no-repeat;
}
.adopt-media__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 6px 10px;
  border-radius: 0 0 14px 14px;
  background: rgba(6, 21, 48, 0.6);
  color: #fff;
  font: 700 0.8rem/1.3 var(--font);
}

/* Chọn tỉnh + thẻ lớp */
.adopt-prov-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.adopt-prov-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 800 0.92rem/1 var(--font);
  cursor: pointer;
}
.adopt-prov-tab.is-on {
  background: var(--adopt-gold);
  border-color: var(--adopt-gold);
  color: var(--adopt-navy-deep);
}
.adopt-badge--need {
  background: var(--adopt-cream);
  color: #a86b00;
}
.adopt-card__sponsor {
  margin: 6px 0 0;
  font: 600 0.86rem/1.35 var(--font);
  color: var(--adopt-muted);
}
.adopt-card__sponsor strong {
  color: #13804a;
}
.adopt-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #22a565;
  vertical-align: 1px;
}
.adopt-class-facts {
  margin: 4px 0 8px;
  font: 700 0.95rem/1.4 var(--font);
  color: var(--adopt-muted);
}

/* Hộp thông tin + chuyển khoản */
.adopt-field select,
.adopt-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 12px;
  font: 600 1rem/1.4 var(--font);
  background: #fff;
}
.adopt-field select {
  min-height: 50px;
}
.adopt-field select:focus,
.adopt-field textarea:focus {
  outline: none;
  border-color: var(--adopt-blue);
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.18);
}
[data-only][hidden] {
  display: none !important;
}
.adopt-pay {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: center;
  margin: 14px 0;
  padding: 18px;
  border-radius: var(--adopt-radius);
  border: 1px solid var(--adopt-line);
  background: var(--adopt-soft);
}
@media (max-width: 600px) {
  .adopt-pay {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
.adopt-pay__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font: 700 0.8rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-pay__qr img {
  width: 220px;
  height: 220px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--adopt-line);
}
.adopt-pay__noqr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 160px;
  border: 2px dashed var(--adopt-line);
  border-radius: 14px;
  text-align: center;
  padding: 12px;
}
.adopt-pay__info {
  margin: 0;
  width: 100%;
}
.adopt-pay__info > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--adopt-line);
}
.adopt-pay__info dt {
  font: 700 0.86rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-pay__info dd {
  margin: 0;
  font: 800 1rem/1.3 var(--font);
  color: var(--adopt-navy);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.adopt-pay__code dd strong {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--adopt-cream);
  border: 1.5px solid #ffe08a;
  font-family: Consolas, Menlo, monospace;
  letter-spacing: 0.04em;
}
.adopt-copy {
  margin-left: 6px;
  padding: 3px 10px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 999px;
  background: #fff;
  font: 800 0.75rem/1.3 var(--font);
  color: var(--adopt-blue-strong);
  cursor: pointer;
}
.adopt-pay-warn {
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff3e6;
  font: 600 0.92rem/1.45 var(--font);
  color: #7a3b00;
}

/* Video + ảnh lớp học thật (26/10) */
.adopt-media__video {
  margin: 0;
  aspect-ratio: auto;
  background: transparent;
  overflow: visible;
}
.adopt-media__video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--adopt-radius);
  background: #0b2147;
  object-fit: cover;
}
.adopt-media__video figcaption {
  margin-top: 8px;
  font: 600 0.9rem/1.45 var(--font);
  color: var(--adopt-muted);
}
/* Bên phải video: lưới 2×2 cao đúng bằng khung video (không chừa khe trống). */
.adopt-media__caption {
  margin: -12px 0 24px;
  font: 600 0.9rem/1.45 var(--font);
  color: var(--adopt-muted);
}
.adopt-media__gallery {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  aspect-ratio: 16 / 9;
  min-height: 0;
}
button.adopt-media__item {
  min-height: 0;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 0.2s var(--adopt-ease), box-shadow 0.2s ease;
}
button.adopt-media__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.adopt-media__more span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: rgba(6, 21, 48, 0.58);
  color: #fff;
  font: 900 1.15rem/1 var(--font);
}
@media (min-width: 861px) {
  .adopt-media {
    grid-template-columns: 1.6fr 1fr;
  }
  .adopt-media__gallery {
    aspect-ratio: auto;
  }
}
.adopt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
  background: rgba(6, 21, 48, 0.92);
}
.adopt-lightbox[hidden] {
  display: none;
}
.adopt-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  object-fit: contain;
}
.adopt-lightbox__x,
.adopt-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: 400 2rem/1 var(--font);
  cursor: pointer;
}
.adopt-lightbox__x:hover,
.adopt-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.26);
}
.adopt-lightbox__x {
  top: 12px;
  right: 12px;
}
.adopt-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}
.adopt-lightbox__nav--prev {
  left: 10px;
}
.adopt-lightbox__nav--next {
  right: 10px;
}
.adopt-lightbox__count {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font: 700 0.9rem/1.3 var(--font);
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 600px) {
  .adopt-lightbox {
    padding: 60px 8px;
  }
  .adopt-lightbox__nav {
    top: auto;
    bottom: 8px;
    transform: none;
  }
}
.adopt-media__video iframe {
  position: static;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--adopt-radius);
}

/* Form v2: email bắt buộc + hoá đơn (26/10) */
.adopt-topbar__contact a,
.adopt-cta-band__contact a,
.adopt-footer-site a[href^="tel:"],
.adopt-footer-site a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
}
.adopt-req {
  color: var(--adopt-red);
}
.adopt-private-note {
  margin: 4px 0 12px;
  font-size: 0.9rem;
}
.adopt-invoice {
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 14px;
}
.adopt-invoice__toggle {
  margin: 0;
}
.adopt-invoice__fields {
  margin-top: 12px;
}
.adopt-invoice__fields[hidden] {
  display: none;
}
.adopt-mst {
  display: flex;
  gap: 8px;
  align-items: center;
}
.adopt-mst input {
  flex: 1;
  min-width: 0;
}
.adopt-mst .adopt-copy {
  margin: 0;
  min-height: 44px;
  padding: 0 14px;
}
.adopt-invoice {
  min-width: 0;
}
.adopt-invoice__fields {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* Ảnh nền (user 26/10): BNC-1 cho khối mở đầu, BNC-2 (ảnh mờ) cho các khu vực nền trắng */
.adopt-hero__bg {
  background: #0b3a7a url("/images/adopt/nen-hero.webp") center 35% / cover no-repeat;
}
.adopt-hero__bg::before {
  display: none;
}
.adopt-hero__bg::after {
  /* phủ tối vừa đủ để chữ trắng đọc rõ, vẫn thấy cảnh lớp học */
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(6, 21, 48, 0.55), rgba(6, 21, 48, 0.25) 70%),
    linear-gradient(180deg, rgba(6, 21, 48, 0.35), rgba(6, 21, 48, 0.7));
}
.adopt-hero__title,
.adopt-hero__tag,
.adopt-hero__lead {
  text-shadow: 0 2px 12px rgba(6, 21, 48, 0.55);
}
/* Một lớp nền duy nhất, cố định sau trang: các khu vực nền trắng «nhìn xuyên» vào cùng một ảnh → không lặp theo từng khối. */
[data-view="intro"] {
  background: #fff url("/images/adopt/nen-mo.webp") center / cover no-repeat fixed;
}
#adopt-loi-gioi-thieu,
#adopt-live,
#adopt-pool,
#adopt-intro {
  background: transparent;
}
/* Điện thoại / máy tính bảng: nền cố định không chạy (iOS) → chỉ khối Lời giới thiệu có ảnh mờ. */
@media (hover: none), (max-width: 860px) {
  [data-view="intro"] {
    background: #fff;
  }
  #adopt-loi-gioi-thieu {
    background: #fff url("/images/adopt/nen-mo.webp") center / cover no-repeat;
  }
}

/* Khối nền xanh (Cách tài trợ, Cam kết): bỏ mảng màu phẳng — lớp phủ trong, mờ dần ở hai mép
   để ảnh nền phía sau vẫn hiện nhẹ và các khối nối liền nhau. */
[data-view="intro"] .adopt-block--tint {
  background: linear-gradient(
    180deg,
    rgba(240, 246, 255, 0) 0,
    rgba(240, 246, 255, 0.82) 120px,
    rgba(240, 246, 255, 0.82) calc(100% - 120px),
    rgba(240, 246, 255, 0) 100%
  );
}
[data-view="intro"] .adopt-block--tint .adopt-pkg,
[data-view="intro"] .adopt-block--tint .adopt-feature {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(213, 227, 245, 0.9);
  box-shadow: 0 1px 2px rgba(11, 33, 71, 0.04), 0 12px 32px rgba(11, 33, 71, 0.07);
  backdrop-filter: blur(6px);
}
[data-view="intro"] .adopt-block--tint .adopt-pkg--featured {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.06), 0 22px 48px rgba(0, 102, 204, 0.16);
}
@media (hover: none), (max-width: 860px) {
  [data-view="intro"] .adopt-block--tint {
    background:
      radial-gradient(circle at 8% 12%, rgba(0, 136, 255, 0.09), transparent 42%),
      radial-gradient(circle at 92% 88%, rgba(255, 193, 7, 0.12), transparent 42%),
      #fff;
  }
}

/* Chọn tỉnh/thành (26/10): thẻ kính trên nền xanh đậm; tỉnh sắp triển khai mờ hơn, bấm → liên hệ */
.adopt-eyebrow--gold {
  color: var(--adopt-gold);
}
.adopt-prov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  margin-top: 18px;
}
.adopt-prov-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--adopt-ease);
}
.adopt-prov-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}
.adopt-prov-card.is-on {
  border-color: var(--adopt-gold);
  background: rgba(255, 193, 7, 0.14);
  box-shadow: 0 0 0 1px var(--adopt-gold) inset, 0 10px 28px rgba(0, 0, 0, 0.18);
}
.adopt-prov-card__tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 165, 101, 0.22);
  color: #9ff0c4;
  font: 800 0.68rem/1.2 var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.adopt-prov-card__name {
  margin-top: 4px;
  font: 900 1.2rem/1.2 var(--font);
}
.adopt-prov-card__nums {
  font: 600 0.86rem/1.35 var(--font);
  color: rgba(255, 255, 255, 0.82);
}
.adopt-prov-card__need {
  margin-top: 2px;
  font: 700 0.86rem/1.35 var(--font);
  color: var(--adopt-gold);
}
.adopt-prov-card.is-soon {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.03);
}
.adopt-prov-card.is-soon .adopt-prov-card__tag {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}
.adopt-prov-card.is-soon .adopt-prov-card__name {
  color: rgba(255, 255, 255, 0.85);
}
.adopt-prov-card.is-soon .adopt-prov-card__need {
  color: #9fd0ff;
}
.adopt-flow-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 16px;
}
.adopt-flow-subhead h3 {
  margin: 0;
  font: 900 1.3rem/1.25 var(--font);
  color: var(--adopt-navy);
}
.adopt-flow-subhead p {
  margin: 0;
  font: 600 0.92rem/1.4 var(--font);
  color: var(--adopt-muted);
}

/* Thanh menu: đang ở bước chọn tỉnh/trường/lớp → nút quay về thay chỗ nút «Chọn lớp tài trợ» */
.adopt-hdr-back {
  display: none;
}
.adopt-flowing .adopt-hdr-back {
  display: inline-flex;
}
.adopt-flowing .adopt-hdr-start {
  display: none;
}
.adopt-flow-lead--one {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══ Bản đồ các địa phương tham gia (26/10) ══ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.adopt-atlas {
  margin-top: 8px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--adopt-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}
.adopt-atlas__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.adopt-atlas__head h3 {
  margin: 0;
  font: 900 1.15rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.adopt-region-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 999px;
  background: #fff;
  font: 700 0.86rem/1 var(--font);
  color: var(--adopt-navy);
  cursor: pointer;
}
.adopt-region-tabs button.is-on {
  background: var(--adopt-blue-strong);
  border-color: var(--adopt-blue-strong);
  color: #fff;
}
.adopt-atlas__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 760px) {
  .adopt-atlas__body {
    grid-template-columns: 1fr;
  }
}
.adopt-atlas__map {
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2f8ff, #eaf3ff);
}
#adopt-map {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  cursor: pointer;
}
.adopt-map__land circle {
  fill: #b9d4f5;
}
.adopt-map__isl {
  font: 700 9px/1 var(--font);
  fill: #5b7aa6;
}
.adopt-map__pin {
  cursor: pointer;
  outline: none;
}
.adopt-map__pin > circle:first-child {
  fill: rgba(0, 102, 204, 0.22);
}
.adopt-map__pin-core {
  fill: #0066cc;
}
.adopt-map__pin rect {
  fill: #0066cc;
  filter: drop-shadow(0 2px 4px rgba(11, 33, 71, 0.2));
}
.adopt-map__pin text {
  font: 800 11.5px/1 var(--font);
  fill: #fff;
}
.adopt-map__pin.is-need rect,
.adopt-map__pin.is-need .adopt-map__pin-core {
  fill: #5b8fd6;
}
.adopt-map__pin.is-soon rect {
  fill: #fff;
  stroke: #5b8fd6;
  stroke-dasharray: 3 2;
}
.adopt-map__pin.is-soon text {
  fill: #0b3a7a;
}
.adopt-map__pin.is-soon .adopt-map__pin-core {
  fill: #9bbbe6;
}
.adopt-map__pin.is-dim {
  opacity: 0.3;
}
.adopt-map__pin:hover rect,
.adopt-map__pin:focus rect {
  stroke: var(--adopt-gold);
  stroke-width: 2;
  stroke-dasharray: none;
}
.adopt-atlas__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
  font: 600 0.82rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-atlas__legend i,
.adopt-pcard__legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 0;
}
i.is-done {
  background: #0066cc;
}
i.is-need {
  background: #9bbbe6;
}
i.is-soon {
  background: #fff;
  border: 1.5px dashed #5b8fd6;
}
.adopt-atlas__search input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 0 14px 0 38px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 999px;
  font: 600 0.95rem/1.3 var(--font);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234a5d7a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 14px center no-repeat;
}
.adopt-atlas__search input:focus {
  outline: none;
  border-color: var(--adopt-blue);
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.18);
}
.adopt-atlas .adopt-provs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.adopt-pcard {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--adopt-line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--adopt-ease);
}
.adopt-pcard:hover {
  border-color: #9bbbe6;
  box-shadow: 0 10px 26px rgba(11, 33, 71, 0.1);
  transform: translateY(-1px);
}
.adopt-pcard__img {
  display: flex;
  align-items: flex-end;
  min-height: 92px;
  padding: 8px;
  border-radius: 12px;
  background-color: #2f6fc0;
  background-position: center;
  background-size: cover;
  color: rgba(255, 255, 255, 0.92);
}
.adopt-pcard__img b {
  display: none; /* 29/10: thẻ tỉnh đã có ảnh — bỏ chữ viết tắt ở góc (user) */
}
.adopt-pcard__img.rg-bac {
  background-color: #2e8b57;
  background-image: linear-gradient(160deg, #3aa36a, #1f6b44);
}
.adopt-pcard__img.rg-trung {
  background-color: #1f78c8;
  background-image: linear-gradient(160deg, #3b96e3, #155a9c);
}
.adopt-pcard__img.rg-taynguyen {
  background-color: #b5651d;
  background-image: linear-gradient(160deg, #d4893c, #8a4a12);
}
.adopt-pcard__img.rg-nam {
  background-color: #c9a227;
  background-image: linear-gradient(160deg, #e2bd45, #9c7a12);
}
.adopt-pcard__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 2px 4px 2px 0;
}
.adopt-pcard__name {
  display: flex;
  justify-content: space-between;
  font: 900 1rem/1.2 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--adopt-navy);
}
.adopt-pcard__name i {
  font-style: normal;
  color: var(--adopt-muted);
}
.adopt-pcard__nums {
  font: 600 0.84rem/1.35 var(--font);
  color: var(--adopt-muted);
}
.adopt-pcard__nums b {
  color: var(--adopt-navy);
}
.adopt-pcard__bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.adopt-pcard__bar .adopt-bar {
  flex: 1;
  height: 8px;
}
.adopt-pcard__bar em {
  font: 700 0.78rem/1 var(--font);
  font-style: normal;
  color: var(--adopt-muted);
}
.adopt-pcard__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  font: 600 0.8rem/1.35 var(--font);
  color: var(--adopt-muted);
}
.adopt-pcard.is-soon {
  border-style: dashed;
}
.adopt-pcard__soon {
  font: 600 0.84rem/1.4 var(--font);
  color: var(--adopt-muted);
}
.adopt-pcard__soon u {
  color: var(--adopt-blue-strong);
  text-decoration: none;
  font-weight: 800;
}
.adopt-atlas__more {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 999px;
  background: #fff;
  font: 800 0.92rem/1 var(--font);
  color: var(--adopt-blue-strong);
  cursor: pointer;
}
.adopt-atlas__more[hidden] {
  display: none;
}

/* Khối tỉnh (Natural Earth, 34 tỉnh/thành): tô theo trạng thái tham gia */
.adopt-map__prov {
  fill: #d6e5f7;
  stroke: #fff;
  stroke-width: 0.9;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.2s ease, opacity 0.2s ease;
}
.adopt-map__prov:hover {
  fill: #bcd5f2;
}
.adopt-map__prov.is-done {
  fill: #0066cc;
}
.adopt-map__prov.is-done:hover {
  fill: #0057ad;
}
.adopt-map__prov.is-need {
  fill: #5b8fd6;
}
.adopt-map__prov.is-need:hover {
  fill: #4a7ec6;
}
.adopt-map__prov.is-soon {
  fill: #a9c8ef;
}
.adopt-map__prov.is-soon:hover {
  fill: #93b9ea;
}
.adopt-map__prov.is-dim {
  opacity: 0.35;
}
.adopt-map__isl-g circle {
  fill: #b9d4f5;
}
.adopt-map__pin > circle:first-child {
  fill: rgba(255, 255, 255, 0.85);
}
.adopt-map__pin-core,
.adopt-map__pin.is-need .adopt-map__pin-core,
.adopt-map__pin.is-soon .adopt-map__pin-core {
  fill: #0b2147;
}
.adopt-atlas__legend i.is-need {
  background: #5b8fd6;
}
.adopt-atlas__legend i.is-soon {
  background: #a9c8ef;
  border: 0;
}
.adopt-atlas__legend i.is-none {
  background: #d6e5f7;
}
.adopt-atlas__map {
  background: linear-gradient(180deg, #f8fbff, #f1f7ff);
  border: 1px solid #e3edf9;
}
.adopt-map__prov.is-none {
  fill: #d3e3f6;
}

/* Thanh menu khổ hẹp: giữ nút «Chọn lớp tài trợ», «Vào lớp» chuyển vào menu ☰ (trang chủ làm ngược lại với nút thí điểm) */
@media (max-width: 640px) {
  .adopt-hdr-class {
    display: none;
  }
}
@media (max-width: 480px) {
  .adopt-brand__meta {
    display: none;
  }
}

/* BNC-EMCOHOC-NTT (27/10): nút «Em Có Học» (nhà tài trợ đăng nhập) — khổ hẹp chuyển vào menu ☰ */
@media (max-width: 780px) {
  .adopt-hdr-ntt {
    display: none;
  }
}

/* Rê chuột trên bản đồ: khối sáng lên + ô tên tỉnh (26/10) */
.adopt-atlas__map {
  position: relative;
}
.adopt-map__hl {
  fill: rgba(255, 213, 79, 0.42);
  stroke: #f0b400;
  stroke-width: 2;
  stroke-linejoin: round;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(240, 180, 0, 0.45));
}
.adopt-map-tip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 240px;
  padding: 7px 11px;
  border-radius: 10px;
  background: #0b2147;
  color: #fff;
  box-shadow: 0 8px 22px rgba(6, 21, 48, 0.28);
  pointer-events: none;
  white-space: nowrap;
}
.adopt-map-tip[hidden] {
  display: none;
}
.adopt-map-tip b {
  font: 900 0.92rem/1.2 var(--font);
}
.adopt-map-tip span {
  font: 600 0.78rem/1.3 var(--font);
  color: rgba(255, 255, 255, 0.82);
}

/* Hộp lựa chọn tỉnh chưa có trường (26/10): đầu hộp là ảnh BNC-1 thu gọn, hai lựa chọn có biểu tượng màu */
.adopt-modal__card.adopt-choice {
  width: min(540px, 100%);
  padding: 0;
  overflow: hidden;
}
.adopt-choice .adopt-modal__x {
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(6, 21, 48, 0.25);
}
.adopt-choice__head {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 150px;
  padding: 22px 26px 20px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 21, 48, 0.08) 0%, rgba(6, 21, 48, 0.55) 55%, rgba(6, 21, 48, 0.88) 100%),
    url("/images/adopt/nen-hero.webp") center 40% / cover no-repeat;
}
.adopt-choice__tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  font: 800 0.72rem/1.2 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.adopt-choice__tag.is-soon {
  background: var(--adopt-gold);
  border-color: var(--adopt-gold);
  color: var(--adopt-navy-deep);
}
.adopt-choice__title {
  margin: 0;
  font: 900 clamp(1.5rem, 4vw, 1.85rem) / 1.15 var(--font);
  text-shadow: 0 2px 12px rgba(6, 21, 48, 0.5);
}
.adopt-choice__body {
  padding: 18px 26px 24px;
  background: linear-gradient(180deg, #f5f9ff 0, #fff 90px);
}
.adopt-choice__lead {
  margin: 0;
  font: 600 0.98rem/1.55 var(--font);
  color: var(--adopt-muted);
}
.adopt-choice__opts {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.adopt-choice__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 44px 14px 14px;
  border: 1.5px solid var(--adopt-line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  text-decoration: none;
  color: var(--adopt-navy);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(11, 33, 71, 0.04);
  transition: transform 0.2s var(--adopt-ease), border-color 0.2s ease, box-shadow 0.2s ease;
}
.adopt-choice__opt::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font: 900 1.15rem/1 var(--font);
  transition: right 0.2s var(--adopt-ease);
}
.adopt-choice__opt:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 33, 71, 0.12);
}
.adopt-choice__opt:hover::after {
  right: 12px;
}
.adopt-choice__ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.adopt-choice__ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adopt-choice__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.adopt-choice__txt strong {
  font: 900 1.02rem/1.25 var(--font);
}
.adopt-choice__txt span {
  font: 600 0.86rem/1.4 var(--font);
  color: var(--adopt-muted);
}
.adopt-choice__opt--gold .adopt-choice__ico {
  background: linear-gradient(145deg, #ffd54f, #f0b400);
  color: var(--adopt-navy-deep);
}
.adopt-choice__opt--gold::after {
  color: #c98f00;
}
.adopt-choice__opt--gold:hover {
  border-color: var(--adopt-gold-strong);
  background: #fffbea;
}
.adopt-choice__opt--blue .adopt-choice__ico {
  background: linear-gradient(145deg, #3b9bff, #0066cc);
  color: #fff;
}
.adopt-choice__opt--blue::after {
  color: var(--adopt-blue-strong);
}
.adopt-choice__opt--blue:hover {
  border-color: var(--adopt-blue);
  background: #f2f8ff;
}
@media (max-width: 480px) {
  .adopt-choice__head {
    min-height: 130px;
    padding: 18px 18px 16px;
  }
  .adopt-choice__body {
    padding: 16px 18px 20px;
  }
}

/* Quần đảo bấm được (26/10) */
.adopt-map__isl-g {
  cursor: pointer;
  outline: none;
}
.adopt-map__isl-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.adopt-map__isl-g circle {
  transition: fill 0.2s ease;
}
.adopt-map__isl-g.is-hover .adopt-map__isl-hit,
.adopt-map__isl-g:focus .adopt-map__isl-hit {
  fill: rgba(255, 213, 79, 0.28);
  stroke: #f0b400;
}
.adopt-map__isl-g.is-hover circle,
.adopt-map__isl-g:focus circle {
  fill: #f0b400;
}
.adopt-map__isl-g.is-hover .adopt-map__isl {
  fill: #0b2147;
}

/* Hộp «Đề xuất thí điểm» ngay trên trang Em Có Học (26/10) */
.adopt-modal__card.adopt-pilot {
  width: min(580px, 100%);
  overflow: auto;
}
.adopt-pilot .adopt-choice__lead {
  margin-bottom: 14px;
}
.adopt-pilot .adopt-form-grid {
  margin-bottom: 12px;
}
.adopt-pilot__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 0 4px;
  text-align: center;
}
.adopt-pilot__done[hidden] {
  display: none;
}
.adopt-pilot__done h4 {
  margin: 4px 0 0;
  font: 900 1.25rem/1.3 var(--font);
  color: var(--adopt-navy);
}
.adopt-pilot__done .seb-btn {
  margin-top: 8px;
}
.adopt-pilot__ok {
  background: linear-gradient(145deg, #34c27a, #13804a);
  color: #fff;
}
.adopt-pilot .adopt-form[hidden] {
  display: none;
}

/* ══ «Minh bạch từng khoản» (26/10): khối xanh đậm, phiếu ghi nhận minh hoạ + 4 cam kết màu ══ */
.adopt-trust {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(0, 136, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 95%, rgba(255, 193, 7, 0.14), transparent 60%),
    linear-gradient(160deg, #0b2147 0%, #0f3170 60%, #0b2a63 100%);
}
.adopt-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}
@media (max-width: 900px) {
  .adopt-trust__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
.adopt-trust__lead {
  margin: 0 0 22px;
  max-width: 34rem;
  font: 600 1rem/1.6 var(--font);
  color: rgba(255, 255, 255, 0.82);
}
/* Phiếu ghi nhận minh hoạ */
.adopt-receipt {
  position: relative;
  margin: 0;
  max-width: 420px;
  padding: 18px 20px 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--adopt-navy);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
}
.adopt-receipt::before,
.adopt-receipt::after {
  content: "";
  position: absolute;
  top: 44px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d2b62;
}
.adopt-receipt::before {
  left: -9px;
}
.adopt-receipt::after {
  right: -9px;
}
.adopt-receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 2px dashed var(--adopt-line);
  font: 900 0.95rem/1.2 var(--font);
}
.adopt-receipt__head em {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--adopt-soft);
  font: 700 0.7rem/1.2 var(--font);
  font-style: normal;
  color: var(--adopt-muted);
}
.adopt-receipt__rows {
  margin: 0;
}
.adopt-receipt__rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font: 600 0.88rem/1.3 var(--font);
}
.adopt-receipt__rows dt {
  color: var(--adopt-muted);
}
.adopt-receipt__rows dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}
.adopt-receipt__rows code {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--adopt-cream);
  border: 1px solid #ffe08a;
  font: 700 0.85rem/1.3 Consolas, Menlo, monospace;
}
.adopt-receipt__stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 14px;
  padding: 6px 12px;
  border: 2px solid #22a565;
  border-radius: 999px;
  font: 800 0.82rem/1.2 var(--font);
  color: #13804a;
  background: #effaf4;
  transform: rotate(-2deg);
}
.adopt-receipt__stamp svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adopt-receipt__pool p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  font: 600 0.82rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-receipt__pool b {
  color: var(--adopt-navy);
  font-variant-numeric: tabular-nums;
}
.adopt-receipt__pool .adopt-bar {
  height: 10px;
}
/* 4 cam kết */
.adopt-trust__rules-title {
  margin: 0 0 14px;
  font: 900 1.3rem/1.3 var(--font);
  color: #fff;
}
.adopt-trust__rules-title small {
  display: block;
  margin-top: 4px;
  font: 700 0.95rem/1.4 var(--font);
  color: var(--adopt-gold);
}
.adopt-trust__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.adopt-trust__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: transform 0.2s var(--adopt-ease), background 0.2s ease, border-color 0.2s ease;
}
.adopt-trust__list li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}
.adopt-trust__ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.adopt-trust__ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adopt-trust__list .tone-green .adopt-trust__ico {
  background: linear-gradient(145deg, #34c27a, #13804a);
  color: #fff;
}
.adopt-trust__list .tone-blue .adopt-trust__ico {
  background: linear-gradient(145deg, #3b9bff, #0066cc);
  color: #fff;
}
.adopt-trust__list .tone-gold .adopt-trust__ico {
  background: linear-gradient(145deg, #ffd54f, #f0b400);
  color: var(--adopt-navy-deep);
}
.adopt-trust__list .tone-rose .adopt-trust__ico {
  background: linear-gradient(145deg, #ff7a8a, #e0445a);
  color: #fff;
}
.adopt-trust__no {
  display: block;
  font: 900 0.72rem/1 var(--font);
  letter-spacing: 0.12em;
  color: var(--adopt-gold);
}
.adopt-trust__list h3 {
  margin: 4px 0 4px;
  font: 900 1.08rem/1.3 var(--font);
  color: #fff;
}
.adopt-trust__list p {
  margin: 0;
  font: 600 0.92rem/1.5 var(--font);
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 480px) {
  .adopt-receipt {
    transform: none;
  }
  .adopt-trust__list li {
    padding: 14px;
    gap: 12px;
  }
}

/* BNC-LIVE-NOW (28/10): dải «Đang có tiết học» trong khối Số liệu */
.adopt-livenow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 14px 0 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #e8f7ee;
  border: 1px solid #b8e4c8;
  color: #0f3d24;
  font-weight: 600;
}
.adopt-livenow[hidden] {
  display: none;
}
.adopt-livenow__dot {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: #13a052;
  box-shadow: 0 0 0 0 rgba(19, 160, 82, 0.5);
  animation: adopt-live-pulse 1.8s ease-out infinite;
}
.adopt-livenow__txt {
  flex: 1 1 260px;
}
.adopt-livenow__at {
  font-size: 0.85rem;
  color: #3d6b52;
}
@keyframes adopt-live-pulse {
  70% { box-shadow: 0 0 0 10px rgba(19, 160, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(19, 160, 82, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .adopt-livenow__dot { animation: none; }
}

/* BNC-ADOPT-FLEX (user 29/10): thẻ «Đóng góp tuỳ tâm» (Quỹ chung) + nút xem điều khoản trong hộp gọn */
.adopt-pkg__pool {
  margin: 4px 0 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef5ff;
}
.adopt-pkg__pool .adopt-pool__nums {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.adopt-pkg__pool .adopt-bar {
  margin: 0 0 8px;
}
.adopt-pkg__pool .adopt-pool__sub {
  margin: 0;
  font-size: 0.82rem;
}
.adopt-terms-show {
  display: inline-block;
  margin: -4px 0 14px 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--adopt-blue-strong);
  font: 700 0.9rem/1.4 var(--font);
  text-decoration: underline;
  cursor: pointer;
}
.adopt-pkg__pool .adopt-pool__nums strong {
  font-size: 1.35rem;
  color: var(--adopt-blue-strong);
}
.adopt-pkg__pool .adopt-bar {
  background: #d5e3f5;
}
.adopt-pkg__pool .adopt-pool__sub {
  color: var(--adopt-muted);
}
/* 4 thẻ: 2×2 trên máy tính bảng / laptop nhỏ, 1 hàng 4 khi đủ rộng */
@media (min-width: 640px) {
  .adopt-pkg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1180px) {
  .adopt-pkg-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* BNC-ADOPT-STUDENTS (user 29/10): chọn số học sinh — trên thẻ «Tài trợ 1 học sinh» và trong hộp chuyển khoản */
.adopt-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.adopt-qty--card {
  margin: 4px 0 14px;
  font: 700 0.92rem/1.3 var(--font);
  color: var(--adopt-muted);
}
.adopt-qty__btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid #cfe0f5;
  border-radius: 10px;
  background: #fff;
  color: var(--adopt-blue-strong);
  font: 800 1.2rem/1 var(--font);
  cursor: pointer;
}
.adopt-qty__btn:hover {
  border-color: var(--adopt-blue-strong);
}
.adopt-qty input {
  width: 58px;
  height: 36px;
  padding: 0 6px;
  border: 1.5px solid #cfe0f5;
  border-radius: 10px;
  text-align: center;
  font: 800 1rem/1 var(--font);
  color: var(--adopt-ink, #0f2147);
}
.adopt-qty__total {
  font: 900 1.05rem/1.2 var(--font);
  color: var(--adopt-blue-strong);
}
/* BNC-ADOPT-TERMS (user 29/10): điều khoản theo gói + popup phóng to */
.adopt-terms-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--adopt-navy);
}
.adopt-terms-panel__head .adopt-terms-panel__label {
  background: none;
}
.adopt-terms-zoom {
  margin-right: 10px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 700 0.8rem/1 var(--font);
  cursor: pointer;
}
.adopt-terms-zoom:hover {
  background: rgba(255, 255, 255, 0.14);
}
.adopt-terms-ver {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.adopt-terms-ver a {
  font-weight: 700;
  color: var(--adopt-blue-strong);
}
.adopt-terms-doc__title {
  margin: 0 0 8px;
  font: 800 0.98rem/1.35 var(--font);
  color: var(--adopt-navy);
}
.adopt-terms-doc h4 {
  margin: 12px 0 4px;
  font: 800 0.92rem/1.35 var(--font);
  color: var(--adopt-navy);
}
.adopt-terms-doc p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.adopt-terms-doc [data-t] {
  color: var(--adopt-blue-strong);
}
.adopt-modal--top {
  z-index: 95;
}
.adopt-modal__card--terms {
  width: min(820px, 100%);
  max-height: 94vh;
  padding: 26px 28px 22px;
  display: flex;
  flex-direction: column;
}
.adopt-terms-full {
  flex: 1;
  overflow: auto;
  padding: 4px 6px 10px 0;
}
.adopt-terms-full .adopt-terms-doc p {
  font-size: 0.98rem;
  line-height: 1.65;
}
.adopt-terms-modal__actions {
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--adopt-line);
}
/* BNC-ADOPT-CART (user 29/10): giỏ lớp */
.adopt-classcell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.adopt-classcell .adopt-card {
  flex: 1;
}
.adopt-pick {
  min-height: 42px;
  border: 2px solid var(--adopt-blue-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--adopt-blue-strong);
  font: 800 0.95rem/1 var(--font);
  cursor: pointer;
}
.adopt-pick.is-on {
  background: var(--adopt-blue-strong);
  color: #fff;
}
.adopt-cart-hint {
  margin-top: 14px;
}
.adopt-cartbar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 70;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: var(--adopt-navy);
  color: #fff;
  box-shadow: 0 10px 30px rgba(6, 21, 48, 0.35);
  font: 600 0.98rem/1.3 var(--font);
}
.adopt-cartbar[hidden] {
  display: none;
}
.adopt-cartbar b {
  color: var(--adopt-gold);
}
.adopt-cartbar .seb-btn {
  min-height: 42px;
  white-space: nowrap;
}
body.adopt-has-cart {
  padding-bottom: 84px;
}
.adopt-cart {
  margin: 6px 0 12px;
  padding: 0;
  list-style: none;
}
.adopt-cart__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--adopt-line);
}
.adopt-cart__stt {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--adopt-gold);
  color: var(--adopt-navy);
  font: 800 0.85rem/26px var(--font);
  text-align: center;
}
.adopt-cart__name {
  flex: 1;
  font-size: 0.95rem;
}
.adopt-cart__rm {
  width: 32px;
  height: 32px;
  border: 1px solid var(--adopt-line);
  border-radius: 50%;
  background: #fff;
  color: #c0392b;
  font: 800 1.1rem/1 var(--font);
  cursor: pointer;
}
.adopt-cart__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--adopt-muted);
}
.adopt-cart__sum strong {
  color: var(--adopt-navy);
  font: 900 1.15rem/1.2 var(--font);
}
.adopt-cart__actions {
  justify-content: flex-end;
}
.adopt-pay-classes {
  margin: 8px 0 0;
  padding-left: 22px;
  font-size: 0.92rem;
}
.adopt-terms-doc__title {
  display: none; /* tên văn bản đã có ở thanh tiêu đề khung / popup */
}
.adopt-cart__sum span,
.adopt-cart__sum strong {
  white-space: nowrap;
}
