:root {
  --navy: #1b3a6b;
  --navy-dark: #12294d;
  --orange: #f7941e;
  --orange-dark: #ef6c1a;
  --sky-top: #cfe9fb;
  --sky-bottom: #eef8ff;
  --white: #ffffff;
  --text-gray: #6b7280;
  --card-blue: #2f6fed;
  --card-pink: #ec4899;
  --cream-peach-top: #fdf1e4;
  --cream-peach-bottom: #fbe4de;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--navy);
}

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section 1: Banner ---------- */
/* Ép đúng tỉ lệ khung hình gốc của ảnh thật (2021:778) — object-fit: cover
   sẽ vừa khít mọi kích thước màn hình mà không méo/crop sai, cùng kỹ
   thuật đã dùng cho .conquer ở mc-caymicvang. */
.hero {
  width: 100%;
  aspect-ratio: 2021 / 778;
  overflow: hidden;
}

.hero-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Chữ tiêu đề dưới banner ---------- */
/* margin-top âm = -15% chiều cao THẬT của .hero (hạ bớt so với 30% trước
   đó) = 0.15 × 778/2021 × 100vw ≈ 5.77vw. Đã bỏ nền trắng — giờ chữ nằm
   trực tiếp trên ảnh banner, không còn khối trắng che ảnh phía dưới. Thêm
   text-shadow ở tiêu đề/phụ đề để chữ vẫn đọc rõ trên nền ảnh. */
.course-intro {
  position: relative;
  z-index: 2;
  margin-top: -5.77vw;
  padding: 28px 0 8px;
  text-align: center;
}

/* Đổi từ Baloo 2 (bo tròn/mềm) sang Montserrat (font cứng, cùng font
   display đang dùng chung cho các trang For Future khác như mc-caymicvang). */
.course-intro-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--navy);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(255, 255, 255, 0.9);
}

.course-intro-star {
  flex-shrink: 0;
  font-size: 0.6em;
  color: var(--orange);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

.course-intro-sub {
  margin: 10px 0 0;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  color: var(--orange-dark);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

/* ---------- Section 2: 3 thẻ khóa học ---------- */
/* padding-bottom tăng lên 240px (đủ chỗ AN TOÀN cho mức đè 30% mới, xem
   .s34-bg) để KHÔNG BAO GIỜ chạm tới lưới 3 thẻ khóa học phía trên, chỉ
   đè lên phần nền trắng trống bên dưới thẻ. */
.courses {
  padding: 8px 0 240px;
  background: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  padding: 0 24px;
}

/* Đúng tỉ lệ thật của 3 ảnh (1122×1402) — ảnh đã tự có khoảng trống pha
   màu ở nửa dưới, không cần overlay gradient riêng. */
.course-card {
  position: relative;
  aspect-ratio: 1122 / 1402;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.course-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* top:44% (tính theo chiều cao thẻ vì position:absolute) — đúng điểm bắt
   đầu vùng pha màu trống trong ảnh, chữ đặt từ đó trở xuống. */
/* top: 44% → 64% (đẩy xuống thêm 20 điểm %). */
.course-card-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 64%;
  bottom: 0;
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
}

.course-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

/* font-size × 1.3 (tăng 30%): 1.375rem → 1.7875rem. */
.course-card-head h3 {
  margin: 0;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 1.7875rem;
}

.course-card-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 4px;
}

/* font-size × 1.3 (tăng 30%): 0.875rem → 1.1375rem. */
.course-card-desc {
  margin: 4px 0 14px;
  font-size: 1.1375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-gray);
}

.course-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* font-size × 1.3 (tăng 30%): 0.8125rem → 1.05625rem. */
.course-card-list li {
  position: relative;
  padding-left: 24px;
  font-size: 1.05625rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.course-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 9px 9px;
  background-repeat: no-repeat;
  background-position: center;
}

.course-card-blue h3,
.course-card-blue .course-card-icon {
  color: var(--card-blue);
}

.course-card-blue .course-card-list li::before {
  background-color: var(--card-blue);
}

.course-card-pink h3,
.course-card-pink .course-card-icon {
  color: var(--card-pink);
}

.course-card-pink .course-card-list li::before {
  background-color: var(--card-pink);
}

.course-card-orange h3,
.course-card-orange .course-card-icon {
  color: var(--orange-dark);
}

.course-card-orange .course-card-list li::before {
  background-color: var(--orange-dark);
}

@media (max-width: 900px) {
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ---------- Nền chung Section 3+4 (ảnh thật) ---------- */
/* Ảnh thật do người dùng cung cấp (2026-09-21) đã có sẵn chữ trang trí +
   hình sách/máy bay giấy cho section 4 — trải liền mạch qua cả 2 section
   bằng 1 background duy nhất trên khối bọc chung, thay vì gradient riêng
   từng section như trước. */
/* background-size: cover trước đây ép ảnh phóng to hết cỡ để LẤP ĐẦY cả
   chiều cao 2 section (thường cao hơn tỉ lệ thật của ảnh) — đổi sang
   100% auto để ảnh hiển thị ĐÚNG kích thước thật theo chiều rộng (không
   zoom/crop), chiều cao tự động theo đúng tỉ lệ gốc (1448:1086). */
/* Đẩy ảnh đè lên PHẦN NỀN TRẮNG TRỐNG của section 2 phía trên (KHÔNG đè
   lên 3 thẻ khóa học) để lộ hình cuốn sách ở đáy ảnh. margin-top âm =
   -30% chiều cao thật của ảnh (1086/1448 × 0.3 × 100vw ≈ -22.5vw), nhưng
   chặn tối đa -240px bằng max() — khớp đúng padding-bottom mới của
   .courses nên luôn an toàn, không chạm vào các thẻ dù ở màn hình rất rộng. */
/* Màu nền dự phòng khớp tông kem/vàng nhạt của ảnh thật (đo trực tiếp từ
   ảnh) — vì background-size:100% auto chỉ cao đúng tỉ lệ ảnh (1448:1086),
   trong khi nội dung thật (đặc biệt form đăng ký 8 trường) có thể cao hơn
   nhiều trên màn hình hẹp, để lộ khoảng trắng bên dưới ảnh nếu không có
   màu dự phòng liền tông. */
.s34-bg {
  position: relative;
  z-index: 2;
  margin-top: max(-240px, -22.5vw);
  background: var(--cream-peach-top) url("../images/bg-section-3-4.png?v=1") no-repeat top center;
  background-size: 100% auto;
}

/* ---------- Section 3: Vì sao chọn For Future ---------- */
.why-us {
  position: relative;
  padding: 56px 0 64px;
}

.why-us-title {
  margin: 0 0 40px;
  padding: 0 24px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  color: var(--navy);
  line-height: 1.4;
}

.hl-pink {
  color: var(--card-pink);
}

.hl-orange {
  color: var(--orange-dark);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  padding: 0 24px;
}

.why-us-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Icon ảnh thật do người dùng cung cấp (2026-09-21) — nền trong suốt, tự
   có màu riêng từng icon, không cần class màu riêng như bản SVG cũ nữa. */
.why-us-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.why-us-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.why-us-item h3 {
  margin: 0 0 8px;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--navy);
}

.why-us-item p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-gray);
}

@media (max-width: 960px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}

@media (max-width: 560px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---------- Header ---------- */
/* Nền trời mây xanh dựng bằng gradient — chưa có ảnh mây thật riêng cho
   trang này, xem comment trong index.html. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  border-bottom: 1px solid rgba(27, 58, 107, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

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

.logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--orange);
}

/* Là con cuối của .main-nav (không phải anh em cùng cấp) — margin-left:auto
   tự đẩy sát phải trên desktop nhờ flexbox, không cần CSS riêng cho mobile
   vì lúc đó .main-nav đổi thành cột dọc, nút tự xếp full-width như 1 mục
   trong danh sách. */
.btn-cta {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(239, 108, 26, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(239, 108, 26, 0.45);
}

.btn-cta svg {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 960px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--sky-bottom);
    border-bottom: 1px solid rgba(27, 58, 107, 0.08);
    display: none;
  }

  .main-nav a:not(.btn-cta) {
    padding: 10px 0;
  }

  .site-header.is-menu-open .main-nav {
    display: flex;
  }

  .btn-cta {
    margin: 10px 0 0;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .logo-img {
    height: 28px;
  }
}

/* ---------- Section 4: Đăng ký học bổng ---------- */
/* Nền + chữ trang trí (trái/phải) giờ nằm trong ảnh thật dùng chung với
   section 3 (.s34-bg phía trên) — không cần gradient/khối chữ tự code
   riêng nữa. */
/* padding-bottom tăng lên 120px — chỗ AN TOÀN cho phần đè của section 5
   phía dưới (xem .testimonials), không bao giờ chạm vào thẻ đăng ký. */
.register {
  padding: 24px 0 120px;
}

.register-inner {
  display: flex;
  justify-content: center;
}

.register-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: 24px;
  padding: 32px 36px 28px;
  box-shadow: 0 24px 60px rgba(122, 65, 15, 0.18);
}

.register-card-title {
  margin: 0 0 20px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #e6d9cb;
  border-radius: 12px;
  background: #fdfaf6;
}

.register-field svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--orange-dark);
}

.register-field input,
.register-field select {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.875rem;
  color: var(--navy);
}

.register-field select {
  cursor: pointer;
}

.register-msg {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.8125rem;
  text-align: center;
}

.register-msg.is-error {
  color: #dc2626;
}

.register-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(239, 108, 26, 0.35);
  transition: transform 0.15s ease;
}

.register-submit:hover {
  transform: translateY(-1px);
}

.register-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.register-submit svg {
  width: 17px;
  height: 17px;
}

.register-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-gray);
}

.register-note span {
  margin: 0 4px;
  color: #d6c5b3;
}

@media (max-width: 640px) {
  .register-card {
    padding: 26px 20px 22px;
  }
}

/* ---------- Section 5: Cảm nhận phụ huynh & học viên ---------- */
/* Nền gradient TẠM (xanh lá công viên nhạt) — ảnh nền thật người dùng sẽ
   gửi sau (2026-09-21), chỉ cần đổi "background" thành background-image
   khi có ảnh thật. */
/* Ảnh nền thật do người dùng cung cấp (2026-09-21) — tỉ lệ rất rộng/thấp
   (2170:725 ≈ 3:1) nên dùng cover + position:top để luôn phủ kín chiều
   cao thật của nội dung (tiêu đề + 3 thẻ + tagline, thường cao hơn hẳn
   tỉ lệ gốc ảnh), ưu tiên giữ trọn phần bầu trời/skyline phía trên. Bỏ
   màu nền dự phòng (từng đặt xanh lá) — chính ảnh có mép rách TRONG SUỐT
   ở mép trên, để lộ màu dự phòng ra thành 1 dải xanh lá lạc quẻ; không
   đặt màu nền riêng thì mép đó tự trong suốt, hoà với nền trắng mặc định
   của trang phía sau. */
/* Đè lên phần nền kem của section 4 (margin-top âm, chặn tối đa -100px
   bằng max() — khớp đúng padding-bottom mới của .register nên luôn an
   toàn, không chạm vào thẻ đăng ký). Mép rách trong suốt ở đỉnh ảnh giờ
   lộ ra màu kem của section 4 phía sau thay vì nền trắng của trang. */
.testimonials {
  position: relative;
  z-index: 3;
  margin-top: max(-100px, -7vw);
  padding: 64px 0 56px;
  background: url("../images/bg-section-5.png?v=1") no-repeat top center;
  background-size: cover;
}

.testimonials-title {
  margin: 0 0 40px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 900;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  color: var(--navy);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.85), 0 1px 3px rgba(255, 255, 255, 0.85);
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 50%;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--white);
}

.testimonial-avatar-blue {
  background: linear-gradient(135deg, var(--card-blue), #1e4fc4);
}

.testimonial-avatar-pink {
  background: linear-gradient(135deg, var(--card-pink), #c22a75);
}

.testimonial-avatar-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.testimonial-quote {
  margin: 0 0 14px;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy-dark);
}

.testimonial-stars {
  margin-bottom: 10px;
  color: var(--icon-yellow, #f5b70e);
  letter-spacing: 2px;
  font-size: 0.9375rem;
}

.testimonial-name {
  margin: 0;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--navy);
}

.testimonial-name span {
  font-weight: 600;
  color: var(--text-gray);
}

.testimonial-role {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: var(--text-gray);
}

.testimonials-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 0;
}

.testimonials-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5c9;
}

.testimonials-dots span.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--orange-dark);
}

.testimonials-tagline {
  margin-top: 28px;
  text-align: center;
}

.tagline-brand {
  margin: 0;
  font-family: "Georgia", "Be Vietnam Pro", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--orange-dark);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.85);
}

.tagline-text {
  margin: 4px 0 0;
  font-family: "Georgia", "Be Vietnam Pro", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--navy);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 20px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand-text strong {
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-brand-text span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.footer-divider {
  width: 1px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.footer-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--orange);
}

.footer-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-item strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.footer-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-row svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.footer-contact-row a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
}

.footer-contact-row a:hover {
  color: var(--orange);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}

.footer-social > strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.footer-social-icons {
  display: flex;
  gap: 8px;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-dark);
}

.footer-social-icons a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-social-icons svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1100px) {
  .footer-inner {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .footer-divider {
    display: none;
  }

  .footer-social {
    margin-left: 0;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* ---------- Popup "Đăng ký thành công" ---------- */
.reg-success-overlay[hidden] {
  display: none;
}

.reg-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(27, 58, 107, 0.55);
}

.reg-success-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 36px 32px 32px;
  border-radius: 20px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.reg-success-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f4ede4;
  color: var(--text-gray);
  cursor: pointer;
}

.reg-success-close svg {
  width: 16px;
  height: 16px;
}

.reg-success-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.reg-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #15803d;
}

.reg-success-icon svg {
  width: 34px;
  height: 34px;
}

.reg-success-title {
  margin: 0 0 10px;
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}

.reg-success-text {
  margin: 0 0 24px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.reg-success-ok {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-family: "Montserrat", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  cursor: pointer;
}
