/* ════════════════════════════════════════════════
    — Kid Leader Hub · Hero
   Requires: variables.css
   ════════════════════════════════════════════════ */
.hero {
  margin-top: 80px;
  height: 90vh;
  background:
    linear-gradient(
      135deg,
      rgba(10, 10, 10, 0.95),
      rgba(0, 51, 102, 0.6),
      rgba(0, 169, 157, 0.5)
    ),
    url("https://kidleaderhub.com/wp-content/uploads/2026/03/hero-wro.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
/* .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85),
        rgba(0, 51, 102, 0.7),
        rgba(0, 169, 157, 0.6)
    );
    z-index: 1;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2); /* Tăng scale lên */
    /* width: 177.78vh;
    height: 56.25vw; */
    min-width: 100%;
    min-height: 100%;
    border: none;
}

.hero-content {
    position: relative;
    z-index: 2; /* Nổi lên trên overlay */
} */

.btn-secondary:hover {
  background: #fff !important;
  color: var(--color-primary) !important;
  box-shadow: initial !important;
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-yellow);
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Tablet ≤1024px ────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    height: 85vh;
  }

  .hero-content {
    max-width: 720px;
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ── Mobile ≤768px ─────────────────────────────── */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll; /* chỉ apply trên iOS */
  }
}
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100svh; /* svh tránh bị che bởi browser bar mobile */
    padding: 6rem 0 4rem;
    /* background-attachment: scroll; */
  }
  

  .hero-content {
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero h2 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-badges {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .hero-badges span {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-cta a {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* ════════════════════════════════════════════════
   wro-intro.css — WRO Intro Section
   Requires: variables.css
   ════════════════════════════════════════════════ */

/* ── Section ───────────────────────────────────── */
.wro-intro {
  padding: 6rem 0;
  background: #fff;
}

/* ── Header ────────────────────────────────────── */
.wro-intro__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 4rem;
}

.wro-intro__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.wro-intro__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ── Grid ──────────────────────────────────────── */
.wro-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card__icon {
  width: 100%;
  overflow: hidden;
}
.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 20px 20px 0 0;
}
@media (max-width: 1024px) {
  .wro-intro__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wro-intro__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Card ──────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 2px solid #f3f4f6;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  text-align: center;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.feature-card:hover .feature-card__icon img {
  transform: scale(1.05);
}

/* ── Title ─────────────────────────────────────── */
.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.875rem;
  line-height: 1.4;
  padding: 0 1.5rem;
}

/* ── Desc ──────────────────────────────────────── */
.feature-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  padding: 0 20px 20px;
}

/* ── Responsive adjustments ────────────────────── */
@media (max-width: 1024px) {
  .wro-intro {
    padding: 5rem 0;
  }

  /* Card 3 căn giữa khi grid 2 cột */
  .wro-intro__grid .feature-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .wro-intro {
    padding: 4rem 0;
  }

  .wro-intro__header {
    margin-bottom: 2.5rem;
  }

  /* Reset grid-column override trên mobile */
  .wro-intro__grid .feature-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
}

/* ════════════════════════════════════════════════
   why.css — WRO Why Section
   Requires: variables.css
   ════════════════════════════════════════════════ */

/* ── Section ───────────────────────────────────── */
.why {
  padding: 6rem 0;
  background-color: var(--klh-bg-light, #f8f9fb);
}

/* ── Header ────────────────────────────────────── */
.why__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 4rem;
}

.why__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.why__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ── Grid ──────────────────────────────────────── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Card ──────────────────────────────────────── */
.why-card {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  border: 2px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  overflow: hidden;
}

.why-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0, 32, 88, 0.1);
  transform: translateY(-6px);
}

/* ── Icon ──────────────────────────────────────── */
.why-card__icon {
  width: 100%;
  overflow: hidden;
}

.why-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 20px 20px 0 0;
}
.why-card:hover .why-card__icon img {
  transform: scale(1.05);
}

/* ── Title ─────────────────────────────────────── */
.why-card__title,
.why-card__problem,
.why-card__solution {
  padding: 0 1.5rem;
}
.why-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-top: 0;
}

/* ── Problem block ─────────────────────────────── */
.why-card__problem,
.why-card__solution {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 1.5rem;
}

.why-card__problem p,
.why-card__solution p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.why-card__problem p {
  color: var(--color-text-light);
}
.why-card__solution p {
  color: var(--color-secondary, #39a653);
}

/* ── Labels ────────────────────────────────────── */
.why-card__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  width: fit-content;
}

.why-card__label--problem {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.why-card__label--solution {
  background: rgba(57, 166, 83, 0.1);
  color: var(--color-secondary, #39a653);
}

/* ── Divider between problem & solution ───────── */
.why-card__problem {
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed #e5e7eb;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .why {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .why {
    padding: 4rem 0;
  }
  .why__header {
    margin-bottom: 2.5rem;
  }
}

/* ════════════════════════════════════════════════
   outcomes.css — WRO Outcomes Section
   Requires: variables.css
   ════════════════════════════════════════════════ */

/* ── Section ───────────────────────────────────── */
.outcomes {
  padding: 6rem 0;
  background: #fff;
}

/* ── Header ────────────────────────────────────── */
.outcomes__header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 4rem;
}

.outcomes__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.outcomes__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ── 2-col grid ────────────────────────────────── */
.outcomes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .outcomes__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Outcomes list ─────────────────────────────── */
.outcomes__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 5rem;
}

.outcomes__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.outcomes__item i {
  font-size: 1.25rem;
  color: var(--color-secondary, #39a653);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.outcomes__item div {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.outcomes__item strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 0.2rem;
}

/* ── Photo grid 2×2 ────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.photo-grid__item {
  display: block;
  border-radius: 0.875rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 260px;
}

@media (max-width: 768px) {
  .photo-grid__item {
    height: 200px;
  }
}

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

.photo-grid__item:hover img {
  transform: scale(1.06);
}

/* ── Overlay "Xem thêm" trên ảnh cuối ─────────── */
.photo-grid__item--more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(15 15 15 / 78%);
  border-radius: 0.875rem;
  transition: background 0.3s ease;
}

.photo-grid__item--more:hover::after {
  background: rgba(0, 32, 88, 0.7);
}

.photo-grid__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  pointer-events: none;
}

.photo-grid__overlay i {
  font-size: 2rem;
  opacity: 0.95;
}

.photo-grid__overlay span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1200px) {
  .outcomes__list {
    padding-left: 4rem;
    gap: 1rem;
  }
}
@media (max-width: 1024px) {
  .outcomes {
    padding: 5rem 0;
  }
  .outcomes__list {
    padding-left: 1rem;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .outcomes__item div {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .outcomes {
    padding: 4rem 0;
  }
  .outcomes__header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .outcomes__list {
    padding-left: 0;
    gap: 0.75rem;
  }
}

/* ════════════════════════════════════════════════
   roadmap.css — WRO Roadmap Section
   Requires: variables.css
   Dùng CSS counter cho số thứ tự phase
   ════════════════════════════════════════════════ */

/* ── Section ───────────────────────────────────── */
.roadmap-section {
  padding: 6rem 0;
  background-color: var(--klh-bg-light, #f8f9fb);
}

/* ── Header ────────────────────────────────────── */
.roadmap-section__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 5rem; /* extra margin cho badge nhô lên */
}

.roadmap-section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.roadmap-section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ── Grid ──────────────────────────────────────── */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: phase; /* khởi tạo counter */
}

@media (max-width: 1024px) {
  .roadmap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .roadmap {
    grid-template-columns: 1fr;
    gap: 3rem; /* thêm gap vì badge nhô lên */
  }
}

/* ── Card ──────────────────────────────────────── */
.phase-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 2px solid #f3f4f6;
  position: relative;
  margin-top: 2rem; /* chỗ cho badge nhô ra ngoài */
  counter-increment: phase;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.phase-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(0, 32, 88, 0.1);
  transform: translateY(-4px);
}

/* ── Badge số thứ tự (CSS counter) ────────────── */
.phase-card::before {
  content: counter(phase);
  position: absolute;
  top: -2.5rem; /* nhô ra trên card */
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color-secondary); /* gradient vàng → teal như hình */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* flex không work trên ::before — dùng line-height */
  line-height: 3rem;
  text-align: center;
}

/* ── Phase title ───────────────────────────────── */
.phase-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 1rem; /* space dưới badge */
  margin-bottom: 0.5rem;
  text-align: center;
}

/* ── Period ────────────────────────────────────── */
.phase-card__period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary, #39a653);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ── List ──────────────────────────────────────── */
.phase-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.phase-card__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Icon cố định dùng FA unicode */
.phase-card__list li::before {
  content: "\f0da"; /* fa-circle-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--color-secondary, #39a653);
  flex-shrink: 0;
}

/* ── Result ────────────────────────────────────── */
.phase-card__result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-orange, #f97316);
  padding-top: 1.25rem;
  border-top: 1px dashed #e5e7eb;
}

.phase-card__result i {
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .roadmap-section {
    padding: 5rem 0;
  }

  /* Card lẻ căn giữa khi 2 cột */
}

@media (max-width: 768px) {
  .roadmap-section {
    padding: 4rem 0;
  }
  .roadmap-section__header {
    margin-bottom: 4rem;
  }
}

/* ════════════════════════════════════════════════
   video-section.css
   Requires: variables.css, Font Awesome, GLightbox
   ════════════════════════════════════════════════ */

/* ── Section wrapper ───────────────────────────── */
.video-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

/* ── Inner: giữ tỷ lệ 16:9 ────────────────────── */
.video-section__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* ── Video background ──────────────────────────── */
.video-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Overlay ───────────────────────────────────── */
.video-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* ── Content (center) ──────────────────────────── */
.video-section__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* ════════════════════════════════════════════════
   Arrow
   ════════════════════════════════════════════════ */
.video-arrow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  color: #fff;
}

.video-arrow__text {
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.video-arrow__lines {
  display: flex;
  align-items: center;
  gap: 0;
}

/* 3 mũi tên chạy lần lượt */
.video-arrow__lines i {
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  opacity: 0;
  animation: arrowChase 1.2s ease-in-out infinite;
}

.video-arrow__lines i:nth-child(1) {
  animation-delay: 0s;
}
.video-arrow__lines i:nth-child(2) {
  animation-delay: 0.2s;
}
.video-arrow__lines i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrowChase {
  0% {
    opacity: 0;
    transform: translateX(-4px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(4px);
  }
}

/* ════════════════════════════════════════════════
   Play button
   ════════════════════════════════════════════════ */
.video-play {
  position: relative;
  width: clamp(4rem, 10vw, 6rem);
  height: clamp(4rem, 10vw, 6rem);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.video-play:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  transform: scale(1.08);
}

.video-play__icon {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-left: 0.2em; /* optical center cho icon play */
}

/* Pulse rings */
.video-play__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: playPulse 2s ease-out infinite;
  pointer-events: none;
}

.video-play__pulse--delay {
  animation-delay: 0.8s;
}

@keyframes playPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

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

/* Mobile: giữ 16:9 nhưng min-height để không quá nhỏ */
@media (max-width: 768px) {
  .video-section__inner {
    aspect-ratio: auto;
    min-height: 240px;
    max-height: 56vw; /* xấp xỉ 16:9 */
  }

  .video-section__content {
    gap: 1.25rem;
  }

  .video-arrow__text {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .video-section__inner {
    min-height: 200px;
  }

  /* Ẩn arrow text, giữ icon */
  .video-arrow__text {
    display: none;
  }
}

/* ════════════════════════════════════════════════
   cta-section.css — WRO CTA Section
   Background: #fff
   ════════════════════════════════════════════════ */

/* ── Section ───────────────────────────────────── */
.cta-section .container {
  max-width: 1200px;
}
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #003366, #00a99d);
}

/* ── Header ────────────────────────────────────── */
.cta-section__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 3.5rem;
}

.cta-section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-section__subtitle {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.75;
}

/* ── Body: contacts + form ─────────────────────── */
.cta-section__body {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .cta-section__body {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .cta-section__body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cta-section__contacts {
    width: 100%;
    gap: 1rem !important;
  }
}

/* ── Contact list ──────────────────────────────── */
.cta-section__contacts {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.contact-item__icon i {
  font-size: 1rem;
  color: #fff;
  transition: color 0.25s ease;
}

.contact-item__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
  margin-top: 0;
}

.contact-item__desc {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}

.contact-item__desc a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item__desc a:hover {
  color: var(--color-primary, #002058);
}

/* ── Form wrap ─────────────────────────────────── */
.cta-section__form {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 0;
  }
  .cta-section__form {
    padding: 1.5rem;
  }
}

/* ════════════════════════════════════════════════
   cta-form.css — CF7 override trong CTA Section
   Background: #f8f9fb (light)
   Scope: .cta-section__form
   ════════════════════════════════════════════════ */

/* ── Ẩn field không cần ────────────────────────── */
.cta-section__form .form-group:has([name="course"]),
.cta-section__form .form-group:has([name="city"]) {
  display: none !important;
}

/* ── Reset CF7 wrapper ─────────────────────────── */
.cta-section__form .wpcf7 {
  margin: 0;
}

.cta-section__form .wpcf7-form p {
  margin: 0;
}

/* ── Form 2 cột ────────────────────────────────── */
.cta-section__form .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  width: 100%; /* ✅ thêm cái này */
  min-width: 0; /* ✅ ngăn grid overflow */
}

/* Full width: textarea, turnstile, submit, response */
.cta-section__form .form-group.full-width,
.cta-section__form .form-group:has(.wpcf7-turnstile),
.cta-section__form .form-submit,
.cta-section__form .wpcf7-response-output {
  grid-column: 1 / -1;
}

/* ── Field group ───────────────────────────────── */
.cta-section__form .form-group {
  margin-bottom: 1.2rem;
}
.cta-section__form .form-group br {
  display: none;
}
/* ── Label ─────────────────────────────────────── */
.cta-section__form .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.cta-section__form .form-label .required {
  color: #ef4444;
}

/* ── Input ─────────────────────────────────────── */
.cta-section__form
  .wpcf7-form-control:is(
    input[type="text"],
    input[type="email"],
    input[type="tel"]
  ) {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 0.625rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-section__form .wpcf7-form-control:is(input)::placeholder {
  color: #9ca3af;
}

.cta-section__form .wpcf7-form-control:is(input):focus {
  border-color: var(--color-primary, #002058);
  box-shadow: 0 0 0 3px rgba(0, 32, 88, 0.08);
}

/* ── Select ────────────────────────────────────── */
.cta-section__form .wpcf7-select {
  width: 100%;
  height: 2.75rem;
  padding: 0 2.25rem 0 0.875rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.75rem center;
  border: 2px solid #e5e7eb;
  border-radius: 0.625rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-section__form .wpcf7-select:focus {
  border-color: var(--color-primary, #002058);
  box-shadow: 0 0 0 3px rgba(0, 32, 88, 0.08);
}

/* ── Textarea ──────────────────────────────────── */
.cta-section__form .wpcf7-textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 0.625rem;
  outline: none;
  resize: vertical;
  min-height: 90px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  height: 150px;
}

.cta-section__form .wpcf7-textarea::placeholder {
  color: #9ca3af;
}

.cta-section__form .wpcf7-textarea:focus {
  border-color: var(--color-primary, #002058);
  box-shadow: 0 0 0 3px rgba(0, 32, 88, 0.08);
}

/* ── Submit ────────────────────────────────────── */
.cta-section__form .wpcf7-submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary, #002058);
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-section__form .wpcf7-submit:hover {
  background: #001540;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 32, 88, 0.2);
}

.cta-section__form .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Validation ────────────────────────────────── */
.cta-section__form .wpcf7-not-valid-tip {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.2rem;
  display: block;
}

.cta-section__form .wpcf7-not-valid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ── Response ──────────────────────────────────── */
.cta-section__form .wpcf7-response-output {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  border: none !important;
}

.cta-section__form .wpcf7-mail-sent-ok {
  background: rgba(57, 166, 83, 0.1);
  color: var(--color-secondary, #39a653);
}

.cta-section__form .wpcf7-mail-sent-ng,
.cta-section__form .wpcf7-validation-errors,
.cta-section__form .wpcf7-spam-blocked {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 640px) {
  .cta-section__form .wpcf7-form {
    grid-template-columns: 1fr;
  }
}
