/* =============================================================
   INDEX.CSS – Custom styles bổ sung cho Tailwind CSS
   (Chỉ chứa những gì Tailwind không xử lý được qua class)
============================================================= */

html {
  scroll-behavior: smooth;
}

/* -------------------------------------------------------------
   Brand color token – #ED4F55
   Override trực tiếp để không phụ thuộc vào Tailwind config cache.
   Tailwind Play CDN đôi khi giữ lại class cũ khi config thay đổi.
------------------------------------------------------------- */
:root {
  --brand: #C83A3E;
  --brand-dark: #9B2428;
  --brand-light: #fff5f5;
  --btn-gradient-from: #E16F73;
  --btn-gradient-to: #A71C20;
  --btn-gradient: linear-gradient(0deg, #E16F73 0%, #A71C20 100%);
  --btn-shadow: 0 4px 16px rgba(167, 28, 32, 0.32);
  --btn-inner-shadow: 1.6px 1.6px 3.2px 0px rgba(255, 255, 255, 0.50) inset;
  --card-pink-from: #FFF7F7;
  --card-pink-to: #FFE4E4;
  --ribbon: #E56363;
  --section-gradient: linear-gradient(180deg, #FFFFFF 0%, #FFF0F0 100%);
  --section-gradient-warm: linear-gradient(180deg, #FBF7EC 0%, #FCEFDA 100%);
}

/* Ghi đè các Tailwind utility class liên quan đến brand color */
.text-brand          { color: var(--brand) !important; }
.bg-brand            { background-color: var(--brand) !important; }
.border-brand        { border-color: var(--brand) !important; }
.bg-btn-gradient     { background: var(--btn-gradient) !important; box-shadow: var(--btn-shadow), var(--btn-inner-shadow); }
.bg-section-gradient { background: var(--section-gradient) !important; }
.bg-section-gradient-warm { background: var(--section-gradient-warm) !important; }
.section-group-warm { background: var(--section-gradient-warm); }
.text-gradient-red {
  background: linear-gradient(0deg, #A71C20 0%, #E72A1A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.12em;
}


/* -------------------------------------------------------------
   Ken-Burns zoom effect trên slide đang active
   Class .swiper-slide-active được Swiper tự gán động,
   nên không thể dùng Tailwind class thông thường
------------------------------------------------------------- */
.swiper-slide img {
  transition: transform 6s ease;
}

.swiper-slide-active img {
  transform: scale(1.06);
}

/* -------------------------------------------------------------
   Custom Swiper pagination pill
   Override style mặc định của thư viện Swiper
------------------------------------------------------------- */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: all 0.25s ease;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   Override kích thước nút prev/next của Swiper
------------------------------------------------------------- */
.swiper-button-prev,
.swiper-button-next {
  width: 40px !important;
  height: 40px !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a1a2e;
}

/* Hero nav – nửa nút đè lên mép ảnh trái / phải */
.hero-slider {
  overflow: visible;
  height: 100%;
}

.hero-slider__media {
  height: 100%;
  min-height: 280px;
}

.hero-slider__media .swiper,
.hero-slider__media .swiper-slide,
.hero-slider__media .swiper-slide img {
  height: 100%;
}

@media (max-width: 1023px) {
  .hero-slider,
  .hero-slider__media {
    height: auto;
  }

  .hero-slider__media {
    aspect-ratio: 4 / 3;
  }
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-nav::after {
  font-family: swiper-icons;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}

.hero-nav--prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.hero-nav--prev::after {
  content: 'prev';
}

.hero-nav--next {
  right: 0;
  transform: translate(50%, -50%);
}

.hero-nav--next::after {
  content: 'next';
}

.hero-nav:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-nav--prev:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.hero-nav--next:hover {
  transform: translate(50%, -50%) scale(1.05);
}

.hero-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* -------------------------------------------------------------
   Stagger fade-up animation cho các phần tử bên trái
   Dùng :nth-child nên không thể viết bằng Tailwind
------------------------------------------------------------- */
@keyframes fade-up {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
  animation: fade-up 0.55s ease both;
}

.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.12s; }
.hero-left > *:nth-child(3) { animation-delay: 0.18s; }
.hero-left > *:nth-child(4) { animation-delay: 0.24s; }
.hero-left > *:nth-child(5) { animation-delay: 0.30s; }
.hero-left > *:nth-child(6) { animation-delay: 0.36s; }

/* Mobile flow for section 1:
   logo/title/tagline -> slider -> stats -> description -> form */
@media (max-width: 1023px) {
  .hero-layout {
    gap: 1rem;
  }

  .hero-left {
    display: contents !important;
  }

  .hero-left > :nth-child(1) { order: 1; } /* logo */
  .hero-left > :nth-child(2) { order: 2; } /* heading */
  .hero-left > :nth-child(3) { order: 3; } /* tagline */
  .hero-right { order: 4 !important; }      /* slider */
  .hero-right,
  .hero-slider,
  .hero-slider__media {
    width: 100%;
    max-width: 100%;
  }

  .hero-right {
    justify-self: stretch;
  }

  .hero-slider {
    overflow: hidden;
  }

  .hero-left > :nth-child(5) { order: 5; } /* stats */
  .hero-left > :nth-child(4) { order: 6; } /* description */
  .hero-left > :nth-child(6) { order: 7; } /* form */

  .hero-left > :nth-child(4) {
    margin-top: 0.25rem;
  }

  .hero-nav {
    display: none !important;
  }
}

/* =============================================================
   SECTION 2 – LOGO MARQUEE
============================================================= */

/* Keyframe: scroll from 0 → -50% (vì đã nhân đôi items) */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

/* Dừng khi hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ---- Logo item: hiển thị rõ, không mờ ---- */
.marquee-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
  opacity: 1;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.marquee-logo-item img {
  display: block;
  height: 72px;
  width: auto;
  max-width: none;
  pointer-events: none;
}

.marquee-logo-item:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

/* =============================================================
   SECTION 3 – THÁCH THỨC
============================================================= */

/* Vòng tròn trang trí góc phải trên challenge card */
.challenge-card {
  height: 100%;
}


.challenge-card-rings {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1.5px solid rgba(167, 28, 32, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-card-rings::before,
.challenge-card-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(167, 28, 32, 0.12);
  inset: 18px;
}

.challenge-card-rings::after {
  inset: 36px;
}

.challenge-card:hover .challenge-card-rings {
  opacity: 1;
}

/* ---- Comparison card: 2 bên chiếm hết diện tích còn lại ---- */
.compare-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}


.compare-card-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  width: 100%;
  gap: 0.75rem;
}

.compare-side {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  min-height: 120px;
  padding-top: 0.25rem;
}

.compare-side--left {
  justify-content: flex-start;
}

/* Chữ sát lề trái (gần VS), ảnh nằm mép phải */
.compare-side--right {
  justify-content: space-between;
  padding-left: 3rem;
}

.compare-side__img {
  width: 160px;
  height: auto;
  min-height: 160px;
  object-fit: cover;
  border-radius: 1rem;
  flex-shrink: 0;
  align-self: stretch;
}

.compare-side__text {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

.compare-side__list {
  list-style: disc;
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #404040;
  line-height: 1.45;
}

.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.compare-vs__img {
  width: 100px;
  height: 100px;
  display: block;
}

@media (max-width: 1023px) {
  .compare-card-row {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 1.25rem;
  }

  .compare-side--right {
    justify-content: flex-start;
    padding-left: 0;
  }

  .compare-side--right .compare-side__img {
    order: -1;
  }

  .compare-vs {
    justify-self: center;
    align-self: center;
  }

  .compare-vs__img {
    width: 88px;
    height: 88px;
  }

  .compare-side__img {
    width: 120px;
    min-height: 88px;
  }
}

/* =============================================================
   SECTION 4 – VÌ SAO TIN CHỌN
============================================================= */

.why-feature-rings {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(167, 28, 32, 0.12);
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.why-feature-rings::before,
.why-feature-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(167, 28, 32, 0.12);
  inset: 16px;
}

.why-feature-rings::after {
  inset: 32px;
}

.why-feature-card:hover .why-feature-rings {
  opacity: 1;
}

.why-benefit__icon {
  display: inline-block;
  line-height: 0;
}

.why-benefit__icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.why-benefit {
  border-bottom: 1px solid #E8EDF5;
  padding-bottom: 1.25rem;
}

.why-benefit:hover {
  border-bottom-color: rgba(237, 79, 85, 0.35);
}

/* =============================================================
   SECTION 5 – CHƯƠNG TRÌNH ĐÀO TẠO
============================================================= */

.program-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Khoảng cách cứng giữa danh sách khóa và khối ước tính */
.program-stack__gap {
  display: block;
  width: 100%;
  height: 2.5rem;
  min-height: 2.5rem;
  flex: 0 0 2.5rem;
  pointer-events: none;
}

.program-cards {
  align-items: stretch;
  padding-top: 2.75rem;
  margin: 0;
}

.program-estimator {
  margin-top: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.program-estimator:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 32px rgba(11, 31, 68, 0.08);
  border-color: #CBD5E1;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1.5px solid #E8EDF5;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(11, 31, 68, 0.06);
  overflow: visible;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.program-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 36px rgba(11, 31, 68, 0.12);
  border-color: #CBD5E1;
  z-index: 10;
}

.program-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  padding: 1.5rem 1.75rem 1.75rem;
  border-radius: 24px;
  background: #fff;
}

.program-card__title {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E8EDF5;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0B1F44;
}

/* Ribbon – chỉ hiện trên card featured */
.program-card__ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 18px); /* chồng nhẹ lên body để lộ góc cong */
  z-index: 0;
  background: var(--ribbon);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.65rem 1rem 1.35rem;
  border-radius: 24px 24px 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/*
  Card featured (Khóa 3) – luôn hiện ribbon + gradient hồng như design
*/
.program-card--featured {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  border-radius: 24px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.program-card--featured:hover {
  transform: translateY(-8px) scale(1.03);
  z-index: 10;
}

.program-card--featured .program-card__ribbon {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.program-card--featured .program-card__body {
  position: relative;
  z-index: 1;
  background: linear-gradient(165deg, var(--card-pink-from) 0%, #FFF0F0 42%, var(--card-pink-to) 100%);
  border: 1.5px solid #F0C8C8;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(176, 48, 48, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.program-card--featured:hover .program-card__body {
  box-shadow: 0 18px 40px rgba(176, 48, 48, 0.22);
  border-color: #E28888;
}

.program-card--featured .program-card__title {
  border-bottom-color: #F0D0D2;
  color: #1A2B48;
}

/* Mobile spacing – đặt SAU mọi rule height:100% của card */
@media (max-width: 767px) {
  .program-stack__gap {
    height: 2rem;
    min-height: 2rem;
    flex-basis: 2rem;
  }

  .program-cards {
    padding-top: 0;
    row-gap: 1.5rem;
  }

  .program-card,
  .program-card--featured,
  .program-card__body {
    height: auto;
  }

  .program-card--featured {
    margin-top: 2.85rem;
  }
}

.program-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(229, 99, 99, 0.4);
  color: #C83A3E;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fff;
}

.program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.program-card__body .program-btn-primary {
  margin-top: auto;
}

.program-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #3D4A63;
  font-weight: 500;
}

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

.program-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 0;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--btn-gradient);
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.program-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(176, 48, 48, 0.4);
}

.program-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  background: #fff;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.program-btn-outline:hover {
  background: var(--brand-light);
}

.program-select {
  appearance: none;
  width: 100%;
  padding: 0.65rem 2.75rem 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(237, 79, 85, 0.12);
}

.program-select__arrow {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  pointer-events: none;
}

.program-estimator__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #0B1F44;
  flex-shrink: 0;
}

/* =============================================================
   SECTION 6 – QUY TRÌNH 4 BƯỚC
============================================================= */

.process-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.process-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(11, 31, 68, 0.07);
  padding: 4rem 1.5rem 2.25rem;
  margin-top: 2.25rem;
  min-height: 300px;
}

/* Vòng trắng bao quanh + nhô lên mép card – tỉ lệ lớn hơn so với card */
.process-card__badge {
  position: absolute;
  top: -1.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: visible;
}

/* Shadow chỉ nửa trên – nửa dưới hòa vào nền card trắng */
.process-card__badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 3px 14px rgba(11, 31, 68, 0.16);
  clip-path: inset(0 0 50% 0 round 50%);
  pointer-events: none;
  z-index: -1;
}

.process-card__badge-inner {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(0deg, #E16F73 0%, #A71C20 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(180, 40, 45, 0.35);
}

.process-card__badge-label {
  position: relative;
  z-index: 2;
  color: #fff;
}

.process-card__badge-inner::before,
.process-card__badge-inner::after {
  display: none;
}

.process-card__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #FFF0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.process-card__icon img {
  width: 52px;
  height: 52px;
  display: block;
}

.process-card__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #0B1F44;
  font-weight: 500;
  margin: 0;
  margin-top: auto;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.75rem;
  width: 3.75rem;
  padding: 0 0.25rem;
  margin-top: 0.75rem;
}

.process-arrow svg {
  display: block;
  width: 100%;
  height: auto;
}

.process-info {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(237, 79, 85, 0.35);
  background: #FFF5F5;
  color: #C93A40;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 100%;
}

.process-info p {
  margin: 0;
  font-weight: 500;
}

.process-info__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ED4F55;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .process-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .process-arrow {
    transform: rotate(90deg);
    flex: 0 0 auto;
    width: 2.75rem;
    padding: 0;
    margin: 0.35rem 0;
    align-self: center;
  }

  .process-card {
    margin-top: 0.75rem;
  }
}

@media (max-width: 767px) {
  .process-steps {
    max-width: 430px;
    gap: 1.1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .process-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    min-height: 0;
    border-radius: 22px;
    padding: 2.9rem 1.35rem 1.35rem;
    margin-top: 1.35rem;
    min-height: 136px;
  }

  .process-card__badge {
    top: -1.25rem;
    width: 3.2rem;
    height: 3.2rem;
  }

  .process-card__badge-inner {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 0.86rem;
  }

  .process-card__icon {
    width: 64px;
    height: 64px;
    margin: 0;
    flex-shrink: 0;
  }

  .process-card__icon img {
    width: 34px;
    height: 34px;
  }

  .process-card__text {
    flex: 1 1 auto;
    margin-top: 0;
    font-size: 1.06rem;
    line-height: 1.52;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .process-arrow {
    width: 2.5rem;
    margin: 0.1rem auto;
    transform: rotate(90deg);
    align-self: center;
  }

  .process-arrow svg {
    width: 100%;
    height: auto;
  }

  .lecturer-pagination .swiper-pagination-bullet {
    background: rgba(167, 28, 32, 0.26);
  }

  .lecturer-pagination .swiper-pagination-bullet-active {
    background: #A71C20;
  }
}

/* =============================================================
   SECTION 7 – TẢI PDF
============================================================= */

.pdf-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
}

.pdf-feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid #E5EAF2;
}

.pdf-feature:last-child {
  border-bottom: none;
  padding-bottom: 0.25rem;
}

.pdf-feature p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #3D4A63;
  font-weight: 500;
}

.pdf-feature__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 31, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-feature__icon img {
  width: 36px;
  height: 36px;
  display: block;
}

.pdf-input {
  width: 100%;
  padding: 0.65rem 1.1rem 0.65rem 2.75rem;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pdf-input::placeholder {
  color: #94a3b8;
}

.pdf-input:focus {
  border-color: #ED4F55;
  box-shadow: 0 0 0 3px rgba(237, 79, 85, 0.12);
}

.pdf-input__icon {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  color: #94a3b8;
  pointer-events: none;
}

.pdf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: auto;
  max-width: 100%;
  padding: 0.85rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-gradient);
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pdf-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* =============================================================
   SECTION 8 – TESTIMONIALS SLIDER
============================================================= */

.testimonial-nav {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 999px;
  padding: 0.35rem 0.4rem;
  gap: 0.45rem;
  box-shadow: 0 2px 10px rgba(11, 31, 68, 0.04);
}

.testimonial-nav[hidden] {
  display: none !important;
}

.testimonial-prev,
.testimonial-next {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.testimonial-prev {
  background: #fff;
  border: 1.5px solid #A71C20;
  color: #A71C20;
  box-shadow: none;
}

.testimonial-next {
  background: var(--btn-gradient);
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
  border: 0;
  color: #fff;
  box-shadow: 0 3px 10px rgba(176, 48, 48, 0.28);
}

.testimonial-prev:hover {
  background: #FFF5F5;
  border-color: #B03030;
  color: #B03030;
}

.testimonial-next:hover {
  filter: brightness(1.05);
}

.testimonial-slide {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.testimonial-video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0B1F44;
  height: 100%;
  max-height: 400px;
}

.testimonial-video__player {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 400px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}

/* Fullscreen: hiện đủ video, không crop */
.testimonial-video__player:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}

.testimonial-video__player:fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}

.testimonial-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #ED4F55;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
  padding-left: 4px;
}

.testimonial-video__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff;
}

.testimonial-video.is-playing .testimonial-video__play {
  display: none;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(11, 31, 68, 0.06);
  padding: 1.1rem 1.15rem 1.15rem;
  height: 100%;
  max-height: 400px;
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #F5F7FA;
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.9rem;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0B1F44;
}

.testimonial-card__role {
  margin: 0.1rem 0 0;
  font-size: 0.8125rem;
  color: #5A6478;
}

.testimonial-card__logo {
  width: auto;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: auto;
}

.testimonial-card__quote {
  display: block;
  width: 32px;
  height: auto;
  margin-bottom: 0.65rem;
  opacity: 0.85;
}

.testimonial-card__text {
  margin: 0 0 0.9rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #3D4A63;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: #FFF0F0;
  color: #C93A40;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
}

.testimonial-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #ED4F55;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .testimonial-slide {
    grid-template-columns: 1fr;
  }

  .testimonial-video,
  .testimonial-video__player,
  .testimonial-card {
    max-height: none;
  }

  .testimonial-video__player {
    aspect-ratio: 16 / 10;
  }
}

/* Gallery Slider trong section 8 */
.gallery-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-prev,
.gallery-next {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-prev {
  background: #fff;
  border: 1px solid #D9E1EC;
  color: #5A6478;
}

.gallery-prev:hover {
  background: #FFF5F5;
  border-color: #B03030;
  color: #B03030;
}

.gallery-next {
  background: var(--btn-gradient);
  border: 0;
  color: #fff;
  box-shadow: 0 3px 10px rgba(176, 48, 48, 0.28);
}

.gallery-next:hover {
  filter: brightness(1.05);
}

.gallery-swiper {
  width: 100%;
  overflow: hidden;
  padding: 4px 0 8px;
}

.gallery-swiper .swiper-slide {
  height: auto;
}

.training-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #E8EDF5;
  border: 1px solid #E8EDF5;
  box-shadow: 0 4px 16px rgba(11, 31, 68, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.training-gallery__item:hover {
  box-shadow: 0 8px 24px rgba(11, 31, 68, 0.12);
  transform: translateY(-2px);
}

.training-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.training-gallery__item:hover img {
  transform: scale(1.06);
}

.training-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.85rem 0.75rem;
  background: linear-gradient(180deg, rgba(11, 31, 68, 0) 0%, rgba(11, 31, 68, 0.88) 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.gallery-pagination .swiper-pagination-bullet {
  background: #CBD5E1;
  opacity: 0.85;
  width: 8px;
  height: 8px;
  transition: all 0.25s ease;
}

.gallery-pagination .swiper-pagination-bullet-active {
  background: #A71C20;
  width: 22px;
  border-radius: 4px;
  opacity: 1;
}

/* =============================================================
   SECTION 9 – GIẢNG VIÊN SLIDER
============================================================= */

.lecturer-slider-wrap {
  position: relative;
  padding: 0 3.75rem;
}

.lecturer-prev,
.lecturer-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #5A6478;
  box-shadow: 0 2px 12px rgba(11, 31, 68, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lecturer-prev { left: 0; }
.lecturer-next { right: 0; }

.lecturer-prev:hover,
.lecturer-next:hover {
  color: #ED4F55;
  box-shadow: 0 4px 16px rgba(237, 79, 85, 0.2);
}

.lecturer-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(11, 31, 68, 0.07);
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
}

/* Equal height slides */
#lecturer-swiper .swiper-wrapper {
  align-items: stretch;
}

#lecturer-swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.lecturer-card__media {
  position: relative;
  aspect-ratio: 3 / 3.35;
  background: #E8EDF5;
  overflow: hidden;
  border-radius: 16px;
  flex-shrink: 0;
}

.lecturer-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.lecturer-card__tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #F0C4C4;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF0F0 45%, #FFE0E0 100%);
  color: #A71C20;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow:
    0 0 14px rgba(229, 99, 99, 0.38),
    0 2px 8px rgba(176, 48, 48, 0.1);
}

.lecturer-card__info {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 4px 16px rgba(11, 31, 68, 0.08);
}

.lecturer-card__name {
  margin: 0 0 0.3rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0B1F44;
  line-height: 1.3;
}

.lecturer-card__edu {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #5A6478;
}

.lecturer-card__list {
  list-style: none;
  margin: 0;
  padding: 0.95rem 0.4rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1 1 auto;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 100%);
  border-radius: 0 0 12px 12px;
}

.lecturer-card__list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #3D4A63;
}

.lecturer-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0;
  background: url('assets/images/checked.svg') center / contain no-repeat;
  box-shadow: none;
}

.lecturer-pagination {
  display: none;
}

@media (max-width: 767px) {
  .lecturer-slider-wrap {
    padding: 0;
  }

  .lecturer-prev,
  .lecturer-next {
    display: none;
  }

  .lecturer-pagination {
    display: flex;
    position: static !important;
    margin-top: 0.85rem;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
  }
}


/* =============================================================
   SECTION 10 – FAQ
============================================================= */

/* ---- Layout: flat list, 2 cột trên desktop ---- */
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}

/* Ẩn các câu hỏi mở rộng theo mặc định trên cả mobile và desktop */
.faq-item--extra {
  display: none;
}

/* Khi đã mở rộng thì hiện tất cả */
.faq-list.is-expanded .faq-item--extra {
  display: block;
}

/* Mobile: 1 cột */
@media (max-width: 767px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

/* ---- Nút Xem thêm (hiện trên cả mobile và desktop) ---- */
.faq-show-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  text-align: center;
}

.faq-show-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  background: #fff;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-show-more__btn:hover {
  background: var(--brand-light);
}

.faq-show-more__icon {
  transition: transform 0.25s ease;
}

.faq-show-more__btn[aria-expanded="true"] .faq-show-more__icon {
  transform: rotate(180deg);
}

.faq-item {
  width: 100%;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(11, 31, 68, 0.07);
  overflow: hidden;
  transition: border-radius 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-radius: 24px !important;
  box-shadow: 0 6px 24px rgba(11, 31, 68, 0.1);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  text-align: left;
  color: #0B1F44;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}

.faq-item__num {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--btn-gradient);
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;

  justify-content: center;
}

.faq-item__q {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #0B1F44;
}

@media (min-width: 1024px) {
  .faq-item__q {
    font-size: 0.875rem;
  }
}

.faq-item__icon {
  flex-shrink: 0;
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  color: #5A6478;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-item.is-open .faq-item__trigger {
  border-bottom: 1px solid #CBD5E1;
}

.faq-item__panel {
  padding: 0.85rem 1.15rem 1.15rem 3.75rem;
}

.faq-item__panel[hidden] {
  display: none;
}

.faq-item__panel p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #2D3748;
}

.faq-item__panel strong {
  color: #0B1F44;
}

.faq-item__list {
  margin: 0.4rem 0 0 0;
  padding-left: 1.15rem;
  list-style-type: disc;
}

.faq-item__list li {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #2D3748;
  margin-bottom: 0.35rem;
}

.faq-item__list li:last-child {
  margin-bottom: 0;
}

.faq-cta__btn {
  background: var(--btn-gradient);
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
}

@media (max-width: 767px) {
  .faq-item__panel {
    padding-left: 1.15rem;
  }
}


/* =============================================================
   SECTION 10 – PROMO / COUNTDOWN
============================================================= */
/* ── Slot indicator (thay countdown) ───────────────────── */
.promo-slots {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}


/* Dòng số nổi bật */
.promo-slots__headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0B1F44;
  line-height: 1.3;
}

.promo-slots__count {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

/* Dòng mô tả */
.promo-slots__desc {
  font-size: 0.9375rem;
  color: #5A6478;
  line-height: 1.55;
}

.promo-slots__desc em {
  font-style: normal;
  font-weight: 700;
  color: #0B1F44;
}

.promo-offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promo-offer-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(11, 31, 68, 0.08);
}

.promo-offer-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: #ED4F55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.promo-offer-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0B1F44;
}

.promo-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #5A6478;
}

.promo-note svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #ED4F55;
}

.promo-cta {
  background: var(--btn-gradient);
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
}

@media (min-width: 640px) {
  .promo-countdown__unit {
    min-width: 5.45rem;
    padding: 0.9rem 1rem 0.7rem;
  }

  .promo-countdown__value {
    font-size: 1.9rem;
  }
}


/* =============================================================
   SECTION 12 – QUOTE FORM
============================================================= */
.quote-section {
  background-color: #F3F6FA;
  background-image: url("assets/images/bg-form.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.quote-card {
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 32px rgba(11, 31, 68, 0.08);
}

.quote-heading h2 {
  line-height: 1.55 !important;
}

@media (min-width: 640px) {
  .quote-card {
    padding: 1.85rem 1.75rem;
  }
}

.quote-label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #3D4A63;
}

.quote-required {
  color: #ED4F55;
}

.quote-input,
.quote-select {
  width: 100%;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-input::placeholder {
  color: #B0BAC9;
}

.quote-input:focus,
.quote-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(237, 79, 85, 0.12);
}

.quote-select {
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  color: #1a1a2e;
}

.quote-select:invalid,
.quote-select option[value=""] {
  color: #B0BAC9;
}

.quote-select option {
  color: #1a1a2e;
}

.quote-select__arrow {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  pointer-events: none;
}

.quote-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #5A6478;
}

.quote-privacy svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #8A94A6;
}

.quote-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-gradient);
  box-shadow: var(--btn-shadow), var(--btn-inner-shadow);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.quote-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.quote-submit:active {
  transform: translateY(0);
}

/* ── Trust badges dưới nút submit ──────────────────────── */
.quote-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.85rem;
}

.quote-trust__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #5A6478;
  font-weight: 500;
}

.quote-trust__item svg {
  stroke: var(--brand);
  flex-shrink: 0;
}

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
  background: #fff;
}

.site-footer__main {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid #EEF2F7;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 0.9fr 1.35fr auto;
    align-items: start;
  }

  .site-footer__terms {
    justify-self: end;
    text-align: left;
    min-width: 11rem;
  }
}

.site-footer__logo img {
  display: block;
  height: 3rem;
  width: auto;
}

.site-footer__contact {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: #5A6478;
}

.site-footer__contact svg {
  flex-shrink: 0;
  color: #8A94A6;
}

.site-footer__contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact a:hover {
  color: #ED4F55;
}

.site-footer__title {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0B1F44;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #5A6478;
}

.site-footer__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #A0AABC;
}

.site-footer__links a {
  color: #5A6478;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: #ED4F55;
}

.site-footer__bar {
  background: #F5F7FA;
  padding: 0.85rem 0;
}

.site-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: #8A94A6;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8A94A6;
  transition: color 0.2s ease;
}

.site-footer__social-link:hover {
  color: #ED4F55;
}


/* =============================================================
   FLOATING ACTION BUTTONS
============================================================= */
.fab-stack {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fab-stack--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.fab {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: var(--btn-gradient);
  box-shadow: 0 5px 14px rgba(167, 28, 32, 0.38), var(--btn-inner-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(167, 28, 32, 0.48);
  filter: brightness(1.04);
}

.fab:active {
  transform: translateY(0) scale(1);
}

.fab--call svg {
  display: block;
}

.fab--quote {
  text-align: center;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.fab--quote span {
  display: block;
}

.fab--backtop {
  border: none;
  background: var(--btn-gradient);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(167, 28, 32, 0.38), var(--btn-inner-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.85);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.fab--backtop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.fab--backtop:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(167, 28, 32, 0.48);
  filter: brightness(1.08);
}

.fab--backtop:active {
  transform: translateY(0) scale(1);
}

.fab--contact {
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

/* Khi cuộn tới footer: ẩn 2 nút hotline và nhận báo giá, giữ lại nút Back to top */
.fab-stack--hide-contact .fab--contact {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.85);
}

@media (max-width: 640px) {
  .fab-stack {
    right: 0.75rem;
    bottom: 3.25rem;
    gap: 0.5rem;
  }

  .fab {
    width: 3.15rem;
    height: 3.15rem;
  }

  .fab--quote {
    font-size: 0.5625rem;
  }
}

/* =============================================================
   TOAST NOTIFICATION
============================================================= */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  max-width: 22rem;
  padding: 0.875rem 1rem;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: #f0fdf4;
  color: #166534;
  border: 1.5px solid #bbf7d0;
}

.toast--error {
  background: #fff1f2;
  color: #9f1239;
  border: 1.5px solid #fecdd3;
}

.toast__icon {
  flex-shrink: 0;
  margin-top: 1px;
  width: 18px;
  height: 18px;
}

@media (max-width: 480px) {
  .toast {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* =============================================================
   FORM FEEDBACK ALERT (Inline on Form)
============================================================= */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1.1rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: formFeedbackFade 0.35s ease forwards;
}

.form-feedback[hidden] {
  display: none !important;
}

@keyframes formFeedbackFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-feedback--success {
  background: #f0fdf4;
  color: #166534;
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.08);
}

.form-feedback--error {
  background: #fff1f2;
  color: #9f1239;
  border: 1.5px solid #fecdd3;
  box-shadow: 0 4px 14px rgba(159, 18, 57, 0.08);
}

.form-feedback__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.form-feedback--success .form-feedback__icon {
  stroke: #16a34a;
}

.form-feedback--error .form-feedback__icon {
  stroke: #e11d48;
}

.form-feedback__content {
  flex: 1;
  min-width: 0;
}

.form-feedback__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.form-feedback__desc {
  font-size: 0.8125rem;
  opacity: 0.92;
}
