:root {
  --orange-500: #ff8a1f;
  --orange-600: #f97316;
  --orange-100: #fff3e5;
  --text-900: #1c1f2a;
  --text-700: #4a5162;
  --text-500: #6d7485;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --border: #e9edf5;
  --shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

/* =========================
   Base
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--surface);
  color: var(--text-900);
  line-height: 1.6;
}

img,
video {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 90px;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section-pad {
  padding: 4rem 0;
}

.section-soft {
  background: var(--surface-soft);
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

h6 {
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--orange-600);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: var(--text-900);
  color: #fff;
}

.skip-link:focus-visible {
  top: 1rem;
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.faq-trigger:focus-visible,
input:focus-visible,
select:focus-visible,
.wa-float:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* =========================
   Header
========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease;
}

.logo__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav {
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  display: none;
  padding: 1rem 4%;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
}

.primary-nav.is-open {
  display: block;
}

.primary-nav ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: var(--text-900);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-login {
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu-toggle {
  display: grid;
  gap: 4px;
  padding: 0.4rem;
  border: 0;
  background: transparent;
}

#video-subtitle {
  padding-top: 14px;
  color: white;
  font-weight: lighter;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: background 0.3s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .primary-nav a,
.site-header.is-scrolled .nav-login,
.site-header.menu-open .logo,
.site-header.menu-open .primary-nav a,
.site-header.menu-open .nav-login {
  color: var(--text-900);
}

.site-header.is-scrolled .menu-toggle span,
.site-header.menu-open .menu-toggle span {
  background: var(--text-900);
}

.site-header.is-scrolled .logo__icon,
.site-header.menu-open .logo__icon {
  background: var(--orange-100);
}

/* =========================
   Buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: var(--shadow);
}

.btn--ghost {
  color: var(--orange-600);
  background: #fff;
  border-color: #ffd7b1;
}

.btn--video-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn--video-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn--small {
  display: none;
}

.btn--full {
  width: 100%;
}

/* =========================
   Fullscreen Video Hero
========================= */

.video-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--text-900);
}

.video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(17, 20, 28, 0.84) 0%,
      rgba(17, 20, 28, 0.62) 45%,
      rgba(17, 20, 28, 0.25) 78%,
      rgba(17, 20, 28, 0.16) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.38));
}

.video-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(6.5rem, 11vh, 8.5rem);
  padding-bottom: clamp(6rem, 11vh, 8rem);
}

.video-hero__content {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.video-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.3rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.video-hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 5px rgba(255, 138, 31, 0.18);
}

.video-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.video-hero h1 span {
  color: var(--orange-500);
}

.video-hero__sub {
  max-width: 720px;
  margin: 1.6rem auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

.video-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.video-hero__actions .btn {
  min-height: 54px;
  padding-inline: 1.55rem;
}

.video-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.15rem;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 600;
}

.video-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.video-hero__trust span::before {
  content: "✓";
  color: var(--orange-500);
  font-weight: 800;
}

.video-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.video-hero__scroll span {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* =========================
   Shared Sections & Cards
========================= */

.stats {
  position: relative;
  z-index: 4;
}


/* =========================
   Future Showcase Statistics
   Single combined background image
========================= */

.stats.stats--background {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--surface-soft);
  background-image: url("./assets/future-showcase.webp");
  background-position: 47% top;
  background-size: 90% auto;
  background-repeat: no-repeat;
}

.stats.stats--background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.04) 48%,
    rgba(255, 255, 255, 0.28) 70%,
    rgba(255, 255, 255, 0.82) 92%,
    rgba(255, 255, 255, 0.98) 100%
  );
}

.stats.stats--background .stats__overlay {
  display: none;
}

.stats.stats--background .stats__grid {
  position: relative;
  z-index: 2;
  width: min(1120px, 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stats.stats--background .stat-card {
  min-height: 190px;
  padding: 1.55rem;
  border: 1px solid rgba(233, 237, 245, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stats.stats--background .stat-card h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.stats.stats--background .stat-card p {
  margin: 0;
  color: var(--text-700);
}

@media (max-width: 900px) {
  .stats.stats--background {
    min-height: 760px;
    padding-bottom: 3rem;
    background-position: center top;
  }

  .stats.stats--background .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .stats.stats--background {
    min-height: 960px;
    padding: 23rem 0 2rem;
    align-items: flex-end;
    background-position: center top;
    background-size: auto 390px;
    background-color: #fff;
  }

  .stats.stats--background::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.12) 34%,
      rgba(255, 255, 255, 0.8) 44%,
      rgba(255, 255, 255, 1) 52%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  .stats.stats--background .stats__grid {
    grid-template-columns: 1fr;
    width: min(92%, 420px);
  }

  .stats.stats--background .stat-card {
    min-height: auto;
    padding: 1.25rem;
  }

  .stats.stats--background .stat-card h2 {
    font-size: 2.3rem;
  }
}


.stats__grid,
.card-grid,
.program-grid,
.testimonial-grid,
.tutor-grid,
.steps {
  display: grid;
  gap: 1rem;
}

.stat-card,
.value-card,
.testimonial-card,
.tutor-card,
.steps li,
.outcomes,
.lead-form,
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.stat-card,
.value-card,
.testimonial-card,
.tutor-card,
.steps li {
  padding: 1.3rem;
}

.section-head {
  margin-bottom: 1.4rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.testimonial-card blockquote,
.faq-panel p,
.tutor-card__desc {
  color: var(--text-700);
}

/* =========================
   Why Hanhub — Balanced Layout
========================= */

.why-section {
  overflow: hidden;
}

.why-section .section-head {
  max-width: 760px;
  margin-bottom: 1rem;
}

.why-section .section-head h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.1vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

/* Counter masih berjalan */
.stats .counter {
  color: var(--text-900);
  transition:
    color 0.28s ease,
    text-shadow 0.28s ease,
    transform 0.28s ease;
  will-change: transform, color;
}

.stats .counter.is-counting {
  color: var(--text-900);
}

/* Counter sudah mencapai target */
.stats .counter.is-achieved {
  color: var(--orange-600);
  text-shadow: 0 8px 22px rgba(249, 115, 22, 0.18);
  animation: counterAchievedBounce 0.72s
    cubic-bezier(0.2, 0.9, 0.32, 1.25);
}

/* Card ikut mendapat highlight */
.stats .stat-card.is-achieved {
  border-color: rgba(249, 115, 22, 0.34);
  box-shadow:
    0 20px 45px rgba(16, 24, 40, 0.1),
    0 0 0 4px rgba(249, 115, 22, 0.06);
  animation: cardAchievementPulse 0.75s ease-out;
}

@keyframes counterAchievedBounce {
  0% {
    transform: translateY(0) scale(1);
  }

  30% {
    transform: translateY(-12px) scale(1.08);
  }

  52% {
    transform: translateY(3px) scale(0.98);
  }

  72% {
    transform: translateY(-4px) scale(1.025);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes cardAchievementPulse {
  0% {
    transform: translateY(0);
  }

  38% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats .counter.is-achieved,
  .stats .stat-card.is-achieved {
    animation: none !important;
  }
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(360px, 430px);
  justify-content: space-between;
  gap: clamp(2rem, 3.5vw, 3rem);
  align-items: start;
}

/* LEFT BENEFITS */

.why-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 440px;
}

.why-benefits .value-card {
  position: relative;
  min-height: 128px;
  padding: 0.78rem 0.82rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.07);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.why-benefits .value-card:hover {
  transform: translateY(-4px);
  border-color: #ffc48a;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
}

.value-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.55rem;
  border-radius: 9px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 0.68rem;
  font-weight: 800;
}

.why-benefits .value-card h3 {
  max-width: 190px;
  margin-bottom: 0.28rem;
  font-size: 0.88rem;
  line-height: 1.24;
}

.why-benefits .value-card p {
  margin: 0;
  color: var(--text-700);
  font-size: 0.73rem;
  line-height: 1.38;
}

/* RIGHT GALLERY */

.why-gallery {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
}

.why-gallery__viewport {
  position: relative;
  overflow: visible;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.why-gallery__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.why-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(16, 24, 40, 0.16);
  opacity: 0;
  transform: translateX(34%) scale(0.9);
  pointer-events: none;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease,
    filter 0.5s ease;
}

.why-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active image */
.why-slide.is-active {
  z-index: 4;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  filter: none;
}

/* Next image peeking from behind */
.why-slide.is-next {
  z-index: 3;
  opacity: 0.28;
  transform: translateX(13%) scale(0.94);
  filter: saturate(0.7);
}

/* Previous image peeking on the opposite side */
.why-slide.is-prev {
  z-index: 2;
  opacity: 0.12;
  transform: translateX(-8%) scale(0.9);
  filter: saturate(0.5);
}

.why-gallery__controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.35rem;
}

.why-gallery__button {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-900);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.why-gallery__button:hover {
  transform: translateY(-2px);
  color: var(--orange-600);
  border-color: #ffc48a;
}

.why-gallery__button--prev {
  justify-self: start;
}

.why-gallery__button--next {
  justify-self: end;
  color: #fff;
  border-color: var(--orange-600);
  background: linear-gradient(
    135deg,
    var(--orange-500),
    var(--orange-600)
  );
}

.why-gallery__counter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-500);
  font-size: 0.9rem;
  font-weight: 700;
}

#why-current-slide {
  color: var(--orange-600);
  font-size: 1.05rem;
}

/* =========================
   Tablet
========================= */


@media (min-width: 1024px) {
  .why-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .why-layout {
    min-height: 330px;
  }

  .why-gallery__controls {
    margin-top: 0.75rem;
  }
}

@media (max-width: 980px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .why-section .section-head h2 {
    max-width: 760px;
  }

  .why-benefits {
    max-width: 680px;
    margin-inline: auto;
  }

  .why-gallery {
    max-width: 460px;
    margin-inline: auto;
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 640px) {
  .why-section .section-head {
    margin-bottom: 1.5rem;
  }

  .why-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .why-benefits .value-card {
    min-height: 150px;
    padding: 0.82rem;
    border-radius: 14px;
  }

  .value-card__number {
    width: 36px;
    height: 36px;
    margin-bottom: 0.9rem;
    border-radius: 11px;
    font-size: 0.75rem;
  }

  .why-benefits .value-card h3 {
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .why-benefits .value-card p {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .why-gallery {
    width: 88%;
    max-width: 410px;
    margin-inline: auto;
  }

  .why-gallery__viewport {
    aspect-ratio: 4 / 5;
  }

  .why-slide {
    border-radius: 22px;
  }

  .why-slide.is-next {
    opacity: 0.25;
    transform: translateX(11%) scale(0.95);
  }

  .why-slide.is-prev {
    opacity: 0.08;
    transform: translateX(-6%) scale(0.91);
  }

  .why-gallery__controls {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.55rem;
  }

  .why-gallery__button {
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* Very small screens */
@media (max-width: 390px) {
  .why-benefits {
    grid-template-columns: 1fr;
  }

  .why-benefits .value-card {
    min-height: auto;
  }
}

/* =========================
   Programs
========================= */

.program-card {
  display: block;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.program-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.program-card__content {
  padding: 1.5rem;
}

.program-card h3 {
  margin-bottom: 1rem;
}

.program-card p {
  margin-bottom: 1.25rem;
  color: var(--text-700);
}

.program-card__duration,
.program-card__more {
  display: inline-block;
  color: var(--orange-600);
  font-size: 0.92rem;
  font-weight: 700;
}

.program-card__duration {
  margin-bottom: 1rem;
}

.program-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: #ffc48a;
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.12);
}

.program-card:hover .program-card__thumb {
  transform: scale(1.03);
}

.program-card:hover .program-card__more {
  transform: translateX(4px);
}

.program-card:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

/* =========================
   Outcomes
========================= */

.outcomes {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
}

.outcomes ul {
  margin: 0;
  padding-left: 1.1rem;
}

.outcomes__badge {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--orange-100);
}

.outcomes__badge strong {
  display: block;
  font-size: 2rem;
}

/* =========================
   Tutors
========================= */

.tutor-card--profile {
  overflow: hidden;
  padding: 0;
}

.tutor-card__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tutor-card__content {
  padding: 1.25rem 1.25rem 1.4rem;
}

.tutor-card__role {
  margin: 0 0 0.8rem;
  color: var(--orange-600);
  font-weight: 700;
}

.tutor-card__desc {
  margin: 0 0 1rem;
}

.tutor-card__socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tutor-card__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--orange-100);
  color: var(--orange-600);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.tutor-card__socials a:hover {
  transform: translateY(-2px);
  background: #ffe7cc;
}

.tutor-card__socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* =========================
   FAQ
========================= */

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 1.2rem 1rem;
}

.faq-item.active .faq-panel {
  max-height: 300px;
}

/* =========================
   Final CTA & Form
========================= */

.final-cta .container {
  position: relative;
  display: grid;
  gap: 1rem;
}

.final-cta__content,
.lead-form {
  position: relative;
  z-index: 2;
}

.final-cta__mascot {
  display: none;
}

.lead-form {
  padding: 1.2rem;
}

.form-field {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid #d8deea;
  border-radius: 12px;
  font: inherit;
}

.error {
  display: block;
  min-height: 1rem;
  margin-top: 0.2rem;
  color: #dc2626;
  font-size: 0.85rem;
}

.form-note {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  color: #16a34a;
  font-weight: 600;
}

/* =========================
   Modal
========================= */

body.modal-open {
  overflow: hidden;
}

body.modal-open .site-header,
body.modal-open main,
body.modal-open .site-footer,
body.modal-open .wa-float {
  filter: blur(8px);
  transition: filter 0.25s ease;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(20, 24, 35, 0.28);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18);
}

.modal-scroll {
  max-height: 88vh;
  overflow-y: auto;
}

.modal-cover {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.modal-content {
  padding: 1.5rem;
}

.modal-content p,
.modal-points {
  color: var(--text-700);
}

.modal-points {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.modal-cta {
  margin-top: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

/* =========================
   Floating WhatsApp & Footer
========================= */

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 1.4rem 0 4rem;
  border-top: 1px solid var(--border);
}

.footer-wrap {
  display: grid;
  gap: 0.8rem;
}

.footer-wrap nav {
  display: flex;
  gap: 1rem;
}

.footer-wrap a {
  color: var(--text-700);
  text-decoration: none;
}

/* =========================
   Reveal Animation
========================= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* =========================
   Responsive
========================= */

@media (min-width: 760px) {
  .btn--small {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .primary-nav ul {
    display: flex;
    gap: 1.2rem;
  }

  .primary-nav a {
    color: #fff;
  }

  .site-header.is-scrolled .primary-nav a {
    color: var(--text-900);
  }

  .outcomes,
  .final-cta .container {
    grid-template-columns: 1.1fr 1fr;
  }

  .stats__grid,
  .card-grid,
  .program-grid,
  .testimonial-grid,
  .tutor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .section-pad {
    padding: 5rem 0;
  }

  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid,
  .program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonial-grid,
  .tutor-grid,
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .final-cta .container {
    grid-template-columns: 0.6fr 1fr 1fr;
    align-items: center;
  }

  .final-cta__mascot {
    display: block;
    width: 100%;
    max-width: 230px;
    justify-self: center;
    filter: drop-shadow(0 14px 24px rgba(255, 122, 31, 0.26));
  }
}

@media (max-width: 768px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 68px;
  }

  .logo {
    min-width: 0;
  }

  .logo__text {
    overflow: hidden;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-login {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .btn--small {
    display: none;
  }

  .video-hero__inner {
    padding-top: 6.8rem;
    padding-bottom: 6rem;
  }

  .video-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .video-hero__actions {
    flex-direction: column;
  }

  .video-hero__actions .btn {
    width: 100%;
  }

  .modal-backdrop {
    padding: 1rem;
  }

  .modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px;
  }

  .modal-cover {
    aspect-ratio: 16 / 7;
  }

  .modal-content {
    padding: 1.25rem;
  }

  .wa-float {
    right: 0.8rem;
    bottom: 0.9rem;
    z-index: 30;
    max-width: 135px;
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: center;
  }

  .wa-float h6 {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    line-height: 1.1;
  }
}

@media (max-width: 560px) {
  .video-hero__inner {
    padding-top: 6.4rem;
    padding-bottom: 5.5rem;
  }

  .video-hero__eyebrow {
    font-size: 0.74rem;
  }

  .video-hero__sub {
    line-height: 1.65;
  }

  .video-hero__trust {
    gap: 0.5rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   Why Hanhub — Full View Desktop Fix
========================= */

@media (min-width: 1024px) {
  .why-section {
    padding-top: 2.2rem;
    padding-bottom: 2.4rem;
  }

  .why-section .section-head {
    max-width: 670px;
    margin-bottom: 0.9rem;
  }

  .why-section .section-head h2 {
    max-width: 670px;
    font-size: clamp(2.35rem, 3.45vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .why-layout {
    grid-template-columns: minmax(0, 500px) minmax(300px, 350px);
    gap: clamp(2.2rem, 5vw, 5.2rem);
    align-items: start;
    min-height: auto;
  }

  .why-benefits {
    max-width: 500px;
    gap: 0.65rem;
  }

  .why-benefits .value-card {
    min-height: 118px;
    padding: 0.72rem 0.82rem;
  }

  .value-card__number {
    width: 30px;
    height: 30px;
    margin-bottom: 0.45rem;
    font-size: 0.64rem;
  }

  .why-benefits .value-card h3 {
    margin-bottom: 0.22rem;
    font-size: 0.84rem;
    line-height: 1.22;
  }

  .why-benefits .value-card p {
    font-size: 0.7rem;
    line-height: 1.32;
  }

  .why-gallery {
    max-width: 350px;
    margin-top: -7.1rem;
    margin-left: auto;
  }

  .why-gallery__viewport {
    aspect-ratio: 4 / 5;
    max-height: 438px;
  }

  .why-slide {
    border-radius: 20px;
  }

  .why-gallery__controls {
    margin-top: 0.65rem;
  }

  .why-gallery__button {
    min-height: 40px;
    padding: 0.55rem 0.78rem;
    font-size: 0.78rem;
  }

  .why-gallery__counter {
    font-size: 0.78rem;
  }
}

/* Large screens: keep the same composition but allow a slightly larger gallery. */
@media (min-width: 1440px) {
  .why-layout {
    grid-template-columns: minmax(0, 520px) minmax(320px, 380px);
  }

  .why-gallery {
    max-width: 380px;
    margin-top: -7.4rem;
  }

  .why-gallery__viewport {
    max-height: 475px;
  }
}

/* Tablet and mobile: no negative overlap. */
@media (max-width: 1023px) {
  .why-gallery {
    margin-top: 0;
  }
}

/* =========================
   Why Gallery — Side Arrow Controls
========================= */

.why-gallery {
  position: relative;
}

/* Keep the counter below, but place arrows over the carousel */
.why-gallery__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.7rem;
}

.why-gallery__counter {
  position: static;
}

/* Both buttons become circular side arrows */
.why-gallery__button {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-900);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-50%);
  font-size: 0;
}

.why-gallery__button::before {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
}

.why-gallery__button--prev {
  left: -24px;
}

.why-gallery__button--prev::before {
  content: "←";
}

.why-gallery__button--next {
  right: -24px;
  border-color: var(--orange-600);
  background: linear-gradient(
    135deg,
    var(--orange-500),
    var(--orange-600)
  );
  color: #fff;
}

.why-gallery__button--next::before {
  content: "→";
}

.why-gallery__button:hover {
  transform: translateY(-50%) scale(1.06);
}

.why-gallery__button--prev:hover {
  color: var(--orange-600);
  border-color: #ffc48a;
}

.why-gallery__button--next:hover {
  color: #fff;
}

/* Tablet */
@media (max-width: 980px) {
  .why-gallery__button--prev {
    left: -20px;
  }

  .why-gallery__button--next {
    right: -20px;
  }
}

/* =========================
   Testimonial Universe — Leaflet
========================= */
.testimonial-universe{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(255,138,31,.1),transparent 42%),linear-gradient(180deg,#fff 0%,#fff8f1 100%)}
.testimonial-universe__heading{max-width:760px;margin-bottom:2rem}
.testimonial-universe__heading h2{margin-bottom:.65rem;font-size:clamp(2rem,4vw,3.7rem);line-height:1.05;letter-spacing:-.045em}
.testimonial-universe__intro{max-width:580px;margin:0;color:var(--text-700)}
.testimonial-map-shell{position:relative;overflow:hidden;border:1px solid rgba(255,138,31,.16);border-radius:30px;background:#fff;box-shadow:0 26px 70px rgba(16,24,40,.1)}
.testimonial-live-map{width:100%;height:590px;background:#f5f1eb}
.testimonial-live-map .leaflet-control-zoom{overflow:hidden;border:0;border-radius:14px;box-shadow:0 10px 24px rgba(16,24,40,.14)}
.testimonial-live-map .leaflet-control-zoom a{color:var(--text-900);border:0;font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.testimonial-live-map .leaflet-control-attribution{padding:.35rem .55rem;border-radius:10px 0 0;background:rgba(255,255,255,.88);font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:.68rem}
.hanhub-map-marker{border:0;background:transparent}.hanhub-map-marker__pulse{position:relative;display:grid;place-items:center;width:34px;height:34px}.hanhub-map-marker__pulse:before{content:"";position:absolute;inset:0;border-radius:50%;background:rgba(249,115,22,.24);animation:leafletMarkerPulse 2s ease-out infinite}.hanhub-map-marker__pulse:after{content:"";position:relative;width:15px;height:15px;border:4px solid #fff;border-radius:50%;background:var(--orange-600);box-shadow:0 7px 16px rgba(249,115,22,.34),0 0 0 1px rgba(249,115,22,.14)}
.testimonial-live-map .leaflet-popup-content-wrapper{overflow:hidden;border-radius:20px;box-shadow:0 20px 46px rgba(16,24,40,.18)}
.testimonial-live-map .leaflet-popup-content{width:min(310px,70vw)!important;margin:0}.testimonial-map-popup{padding:1.2rem;font-family:"Plus Jakarta Sans",system-ui,sans-serif}.testimonial-map-popup__location{display:inline-flex;align-items:center;gap:.4rem;margin-bottom:.75rem;color:var(--orange-600);font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.testimonial-map-popup__location:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--orange-600);box-shadow:0 0 0 5px rgba(249,115,22,.13)}.testimonial-map-popup blockquote{margin:0 0 1rem;color:var(--text-900);font-size:.92rem;line-height:1.62}.testimonial-map-popup__person{display:flex;align-items:center;gap:.7rem}.testimonial-map-popup__avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--orange-100);color:var(--orange-600);font-weight:800}.testimonial-map-popup__person strong,.testimonial-map-popup__person small{display:block}.testimonial-map-popup__person small{margin-top:.1rem;color:var(--text-500);font-size:.74rem;line-height:1.4}
.testimonial-map-hint{position:absolute;left:1rem;bottom:1rem;z-index:500;display:inline-flex;align-items:center;gap:.55rem;padding:.65rem .85rem;border:1px solid rgba(233,237,245,.9);border-radius:999px;background:rgba(255,255,255,.92);color:var(--text-700);box-shadow:0 8px 24px rgba(16,24,40,.08);font-size:.78rem;font-weight:700;pointer-events:none;backdrop-filter:blur(10px)}.testimonial-map-hint span{width:10px;height:10px;border-radius:50%;background:var(--orange-600);box-shadow:0 0 0 5px rgba(249,115,22,.14)}
@keyframes leafletMarkerPulse{0%{opacity:.85;transform:scale(.6)}80%,100%{opacity:0;transform:scale(1.65)}}
@media(max-width:900px){.testimonial-live-map{height:540px}}
@media(max-width:640px){.testimonial-universe{padding-top:3rem;padding-bottom:3rem}.testimonial-universe__heading{margin-bottom:1.35rem}.testimonial-map-shell{border-radius:22px}.testimonial-live-map{height:520px}.testimonial-map-hint{right:.75rem;bottom:.75rem;left:.75rem;justify-content:center;font-size:.72rem}}

/* Mobile */
@media (max-width: 640px) {
  .why-gallery__button {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .why-gallery__button::before {
    font-size: 1.2rem;
  }

  .why-gallery__button--prev {
    left: -14px;
  }

  .why-gallery__button--next {
    right: -14px;
  }
}

/* =========================
   Testimonial Vector Map Overrides
========================= */

.testimonial-map-shell {
  background:
    radial-gradient(
      circle at 55% 48%,
      rgba(249, 115, 22, 0.13),
      transparent 34%
    ),
    linear-gradient(145deg, #fffdf9 0%, #fff4e8 100%);
}

.testimonial-live-map {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(
      rgba(249, 115, 22, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(249, 115, 22, 0.035) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.92),
      rgba(255, 246, 236, 0.96)
    );
  background-size:
    42px 42px,
    42px 42px,
    auto;
}

.testimonial-live-map::before,
.testimonial-live-map::after {
  content: "";
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(249, 115, 22, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.testimonial-live-map::before {
  top: 50%;
  left: 52%;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
}

.testimonial-live-map::after {
  top: 50%;
  left: 52%;
  width: 650px;
  height: 650px;
  transform: translate(-50%, -50%);
}

.testimonial-live-map .leaflet-map-pane,
.testimonial-live-map .leaflet-control-container {
  z-index: 2;
}

.testimonial-live-map .leaflet-container {
  background: transparent;
}

.testimonial-live-map .leaflet-pane,
.testimonial-live-map .leaflet-map-pane {
  background: transparent;
}

.testimonial-live-map path.leaflet-interactive {
  transition:
    fill 0.25s ease,
    stroke 0.25s ease;
}

.testimonial-map-status {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: min(360px, calc(100% - 2rem));
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-700);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.testimonial-map-status.is-error {
  top: 1rem;
  transform: translateX(-50%);
  border-radius: 14px;
  color: #9a3412;
}

.hanhub-map-tooltip {
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-900);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.09);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.hanhub-map-tooltip::before {
  display: none;
}

@media (max-width: 640px) {
  .testimonial-live-map::before {
    width: 320px;
    height: 320px;
  }

  .testimonial-live-map::after {
    width: 470px;
    height: 470px;
  }
}

/* =========================
   Testimonial Vector Map V2
   Larger map, compact frame, labeled markers
========================= */

.testimonial-map-shell--compact {
  max-width: 1060px;
  margin-inline: auto;
  border-radius: 24px;
}

.testimonial-map-shell--compact .testimonial-live-map {
  height: 470px;
}

/* Enlarge the geographic drawing inside the same box. */
.testimonial-live-map .leaflet-map-pane {
  transform-origin: center;
}

.hanhub-map-marker,
.hanhub-map-marker * {
  cursor: pointer !important;
}

.hanhub-map-marker {
  width: 150px !important;
  height: 42px !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.hanhub-map-marker__pulse {
  position: absolute;
  top: 4px;
  left: 0;
  width: 34px;
  height: 34px;
}

.hanhub-map-marker__pulse::after {
  width: 17px;
  height: 17px;
  border: 4px solid #fff;
  background: #f97316;
  box-shadow:
    0 0 0 2px #1c1f2a,
    0 8px 18px rgba(28, 31, 42, 0.28);
}

.hanhub-map-marker__label {
  position: absolute;
  top: 50%;
  left: 26px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: max-content;
  padding: 0.28rem 0.58rem 0.28rem 0.34rem;
  border: 1px solid rgba(28, 31, 42, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1c1f2a;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.14);
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  backdrop-filter: blur(10px);
}

.hanhub-map-marker:hover .hanhub-map-marker__label,
.hanhub-map-marker:focus-within .hanhub-map-marker__label {
  border-color: #1c1f2a;
  background: #1c1f2a;
  color: #fff;
  transform: translateY(-50%) translateX(4px);
}

.hanhub-map-marker__avatar {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff3e5;
  flex: 0 0 auto;
}

.hanhub-map-marker__avatar img,
.testimonial-map-popup__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hanhub-map-marker__avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: #f97316;
  font-size: 0.7rem;
  font-weight: 800;
}

.hanhub-map-marker__city {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Popup profile photo */
.testimonial-map-popup__avatar {
  overflow: hidden;
  padding: 0;
}

.testimonial-map-popup__avatar span {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
}

/* Improve pointer contrast on the whole map */
.testimonial-live-map .leaflet-interactive,
.testimonial-live-map .leaflet-marker-icon,
.testimonial-live-map .leaflet-popup-close-button {
  cursor: pointer !important;
}

.testimonial-live-map .leaflet-popup-close-button {
  color: #1c1f2a !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
}

@media (min-width: 1024px) {
  .testimonial-universe {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .testimonial-universe__heading {
    margin-bottom: 1.25rem;
  }

  .testimonial-live-map .leaflet-map-pane {
    /* Slightly zoom visual presentation without making the box taller */
    scale: 1.08;
  }
}

@media (max-width: 900px) {
  .testimonial-map-shell--compact .testimonial-live-map {
    height: 430px;
  }

  .hanhub-map-marker {
    width: 128px !important;
  }

  .hanhub-map-marker__city {
    font-size: 0.66rem;
  }
}

@media (max-width: 640px) {
  .testimonial-map-shell--compact .testimonial-live-map {
    height: 400px;
  }

  .hanhub-map-marker {
    width: 42px !important;
    height: 42px !important;
  }

  .hanhub-map-marker__label {
    display: none;
  }
}

/* =========================
   Testimonial Vector Map V3
   Collision-free city labels
========================= */

.hanhub-map-marker {
  width: 260px !important;
  height: 90px !important;
}

.hanhub-map-marker__pulse {
  top: 28px;
}

.hanhub-map-marker__label {
  top: 45px;
  left: 0;
  transform:
    translate(var(--label-x, 34px), var(--label-y, 0px))
    translateY(-50%);
}

.hanhub-map-marker:hover .hanhub-map-marker__label,
.hanhub-map-marker:focus-within .hanhub-map-marker__label {
  transform:
    translate(var(--label-x, 34px), var(--label-y, 0px))
    translateY(-50%)
    scale(1.03);
}

.hanhub-map-marker__label--left {
  flex-direction: row-reverse;
  text-align: right;
}

.hanhub-map-marker__label--left::after,
.hanhub-map-marker__label--right::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(28, 31, 42, 0.28);
}

.hanhub-map-marker__label--left::after {
  right: -18px;
}

.hanhub-map-marker__label--right::before {
  left: -18px;
}

.hanhub-map-marker:hover .hanhub-map-marker__label--left::after,
.hanhub-map-marker:hover .hanhub-map-marker__label--right::before {
  background: #1c1f2a;
}

/* Keep marker stacking predictable instead of labels jumping randomly. */
.testimonial-live-map .leaflet-marker-pane {
  z-index: 650;
}

.testimonial-live-map .leaflet-popup-pane {
  z-index: 900;
}

@media (max-width: 900px) {
  .hanhub-map-marker {
    width: 220px !important;
    height: 84px !important;
  }

  .hanhub-map-marker__pulse {
    top: 25px;
  }

  .hanhub-map-marker__label {
    top: 42px;
    transform:
      translate(
        calc(var(--label-x, 34px) * 0.82),
        calc(var(--label-y, 0px) * 0.82)
      )
      translateY(-50%);
  }

  .hanhub-map-marker:hover .hanhub-map-marker__label,
  .hanhub-map-marker:focus-within .hanhub-map-marker__label {
    transform:
      translate(
        calc(var(--label-x, 34px) * 0.82),
        calc(var(--label-y, 0px) * 0.82)
      )
      translateY(-50%)
      scale(1.02);
  }
}

@media (max-width: 640px) {
  .hanhub-map-marker {
    width: 42px !important;
    height: 42px !important;
  }

  .hanhub-map-marker__pulse {
    top: 4px;
  }
}

/* =========================
   Trial Class Experience
========================= */

.trial-experience {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 35%, rgba(249, 115, 22, 0.08), transparent 30%),
    #fff;
}

.trial-experience__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.trial-showcase {
  position: relative;
  min-height: 560px;
}

.trial-showcase__main {
  position: absolute;
  inset: 0 9% 0 0;
  overflow: hidden;
  border-radius: 32px;
  background: var(--orange-100);
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.14);
}

.trial-showcase__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(16, 24, 40, 0.46) 100%);
  pointer-events: none;
}

.trial-showcase__main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trial-showcase__live {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-900);
  font-size: 0.74rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.trial-showcase__live span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.13);
}

.trial-showcase__student-card {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 35px rgba(16, 24, 40, 0.16);
  backdrop-filter: blur(14px);
}

.trial-showcase__avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 1.05rem;
  font-weight: 800;
}

.trial-showcase__student-card strong,
.trial-showcase__student-card small {
  display: block;
}

.trial-showcase__student-card small {
  margin-top: 0.15rem;
  color: var(--text-500);
}

.trial-showcase__mini {
  position: absolute;
  right: 0;
  z-index: 4;
  width: 34%;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.18);
}

.trial-showcase__mini img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.trial-showcase__mini span {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-900);
  font-size: 0.68rem;
  font-weight: 800;
}

.trial-showcase__mini--top {
  top: 2rem;
}

.trial-showcase__mini--bottom {
  top: 42%;
}

.trial-panel {
  max-width: 560px;
}

.trial-panel__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
  color: var(--text-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.trial-panel__brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--orange-600);
  color: #fff;
  font-size: 1rem;
}

.trial-panel h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.2rem, 4.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.trial-panel h2 span {
  color: var(--orange-600);
}

.trial-panel__description {
  max-width: 570px;
  margin: 0 0 1.5rem;
  color: var(--text-700);
  font-size: 1rem;
  line-height: 1.75;
}

.trial-benefits {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.55rem;
}

.trial-benefits div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.trial-benefits span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 0.68rem;
  font-weight: 800;
}

.trial-benefits p {
  margin: 0;
  color: var(--text-900);
  font-size: 0.86rem;
  font-weight: 700;
}

.trial-panel__field {
  margin-bottom: 0.8rem;
}

.trial-panel__field label {
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.trial-panel__select-wrap {
  position: relative;
}

.trial-panel__select-wrap::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--text-900);
  font-size: 1.2rem;
  pointer-events: none;
  transform: translateY(-55%);
}

.trial-panel__select-wrap select {
  min-height: 56px;
  padding: 0.8rem 3rem 0.8rem 1rem;
  border: 2px solid #dfe3eb;
  border-radius: 14px;
  background: #fff;
  color: var(--text-900);
  appearance: none;
  font-weight: 700;
}

.trial-panel__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 58px;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--text-900);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.trial-panel__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.28);
}

.trial-panel__cta span:last-child {
  font-size: 1.4rem;
}

.trial-panel__note {
  margin: 0.85rem 0 0;
  color: var(--text-500);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 980px) {
  .trial-experience__layout {
    grid-template-columns: 1fr;
  }

  .trial-showcase {
    min-height: 520px;
  }

  .trial-panel {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .trial-showcase {
    min-height: 430px;
  }

  .trial-showcase__main {
    inset: 0;
    border-radius: 24px;
  }

  .trial-showcase__mini {
    width: 33%;
    border-radius: 18px;
  }

  .trial-showcase__mini--top {
    top: 1rem;
    right: 0.6rem;
  }

  .trial-showcase__mini--bottom {
    top: 35%;
    right: 0.6rem;
  }

  .trial-showcase__student-card {
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
    padding: 0.8rem;
    border-radius: 16px;
  }

  .trial-panel h2 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .trial-benefits div {
    grid-template-columns: 34px 1fr;
  }
}

/* =========================
   Pricing Section + 5-Day Promo
========================= */
.pricing-section { position: relative; overflow: hidden; }
.pricing-section::before { content: ""; position: absolute; top: -220px; right: -180px; width: 520px; height: 520px; border-radius: 50%; background: rgba(249,115,22,.08); pointer-events:none; }
.pricing-heading { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2rem; align-items:end; margin-bottom:2rem; }
.pricing-heading > div { max-width:720px; }
.pricing-heading h2 { margin-bottom:.8rem; font-size:clamp(2rem,4vw,3.8rem); line-height:1.04; letter-spacing:-.045em; }
.pricing-heading p { margin:0; color:var(--text-700); }
.promo-countdown { min-width:260px; padding:1rem 1.15rem; border:1px solid rgba(249,115,22,.2); border-radius:18px; background:rgba(255,255,255,.94); box-shadow:0 14px 34px rgba(16,24,40,.08); }
.promo-countdown__label,.promo-countdown small { display:block; }
.promo-countdown__label { color:var(--text-500); font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.promo-countdown strong { display:block; margin:.25rem 0; color:var(--orange-600); font-size:1.3rem; }
.promo-countdown small { color:var(--text-500); font-size:.72rem; }
.pricing-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; align-items:stretch; }
.pricing-card { position:relative; display:flex; flex-direction:column; min-height:100%; padding:1.35rem; border:1px solid var(--border); border-radius:22px; background:#fff; box-shadow:0 18px 40px rgba(16,24,40,.08); transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.pricing-card:hover { transform:translateY(-6px); border-color:rgba(249,115,22,.32); box-shadow:0 24px 52px rgba(16,24,40,.12); }
.pricing-card--featured { border:2px solid var(--orange-600); box-shadow:0 24px 55px rgba(249,115,22,.16); }
.pricing-card__ribbon { position:absolute; top:-14px; left:50%; padding:.45rem .8rem; border-radius:999px; background:var(--text-900); color:#fff; font-size:.72rem; font-weight:800; white-space:nowrap; transform:translateX(-50%); }
.pricing-card__top { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:1rem; }
.pricing-card__top h3 { margin:.35rem 0 0; font-size:1.18rem; }
.pricing-card__tag { display:inline-flex; padding:.34rem .55rem; border-radius:999px; background:var(--orange-100); color:var(--orange-600); font-size:.68rem; font-weight:800; }
.pricing-card__icon { display:grid; flex:0 0 auto; place-items:center; width:42px; height:42px; border-radius:13px; background:var(--surface-soft); font-size:1.1rem; }
.pricing-card__summary { min-height:78px; margin:0 0 1rem; color:var(--text-700); font-size:.84rem; line-height:1.55; }
.pricing-card__old-price { min-height:24px; color:var(--text-500); font-size:.76rem; font-weight:600; }
.pricing-card__price { display:flex; align-items:baseline; gap:.35rem; margin:.3rem 0 .15rem; }
.pricing-card__price strong { font-size:clamp(1.9rem,3vw,2.5rem); line-height:1; letter-spacing:-.04em; }
.pricing-card__price span { color:var(--text-500); font-size:.8rem; font-weight:700; }
.pricing-card__meta { margin:0 0 .5rem; color:var(--text-500); font-size:.76rem; }
.pricing-card__discount { align-self:flex-start; margin:.45rem 0 1rem; padding:.35rem .58rem; border-radius:999px; background:#dcfce7; color:#15803d; font-size:.7rem; font-weight:800; }
.pricing-card__features { display:grid; gap:.6rem; margin:1rem 0 1.3rem; padding:0; list-style:none; }
.pricing-card__features li { position:relative; padding-left:1.45rem; color:var(--text-700); font-size:.8rem; line-height:1.4; }
.pricing-card__features li::before { content:"✓"; position:absolute; top:0; left:0; color:var(--orange-600); font-weight:900; }
.pricing-card__extra { display:flex; justify-content:space-between; gap:1rem; margin-top:auto; margin-bottom:1rem; padding:.75rem; border-radius:14px; background:var(--surface-soft); font-size:.78rem; }
.pricing-card__button { display:inline-flex; justify-content:center; align-items:center; width:100%; min-height:50px; margin-top:auto; padding:.75rem 1rem; border:2px solid var(--text-900); border-radius:13px; background:linear-gradient(135deg,var(--orange-500),var(--orange-600)); color:#fff; cursor:pointer; font:inherit; font-size:.82rem; font-weight:800; text-decoration:none; transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease; }
.pricing-card__button:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(249,115,22,.22); }
.pricing-card__button--ghost { border-color:var(--border); background:#fff; color:var(--text-900); }
.pricing-card.is-expired .pricing-card__discount { background:#fee2e2; color:#b91c1c; }
.pricing-card.is-expired .pricing-card__button { border-color:#d1d5db; background:#e5e7eb; color:#6b7280; cursor:not-allowed; box-shadow:none; }
.pricing-card.is-expired .pricing-card__old-price { visibility:hidden; }
.pricing-footnote { margin:1rem 0 0; color:var(--text-500); font-size:.72rem; line-height:1.55; text-align:center; }
@media (max-width:980px){ .pricing-heading{grid-template-columns:1fr;align-items:start}.promo-countdown{width:min(100%,360px)}.pricing-grid{grid-template-columns:1fr;max-width:620px;margin-inline:auto}.pricing-card__summary{min-height:auto} }
@media (max-width:640px){ .pricing-card{padding:1.15rem}.promo-countdown{min-width:0} }
\n\n/* Customer Journey Refinements */\n.stats-notes{position:relative;z-index:3;margin-top:.85rem;text-align:center}.stats-notes p{margin:.2rem 0;color:var(--text-500);font-size:.72rem}.brand-disclaimer{max-width:760px;margin-inline:auto!important}.program-card__category{display:inline-flex;margin-bottom:.65rem;padding:.3rem .55rem;border-radius:999px;background:var(--orange-100);color:var(--orange-600);font-size:.68rem;font-weight:800}.tutor-grid{align-items:stretch}.tutor-card--profile{display:flex;flex-direction:column}.tutor-card__content{display:flex;flex:1;flex-direction:column}.tutor-card__socials,.tutor-card__availability{margin-top:auto}.tutor-card__availability{color:var(--text-500);font-size:.8rem;font-weight:600}.faq-trigger{position:relative;padding-right:3.5rem}.faq-trigger::after{content:"+";position:absolute;top:50%;right:1.2rem;width:28px;height:28px;border-radius:50%;background:var(--orange-100);color:var(--orange-600);display:grid;place-items:center;transform:translateY(-50%);transition:transform .2s ease}.faq-item.active .faq-trigger::after{content:"−";transform:translateY(-50%) rotate(180deg)}.form-reassurance{margin:.8rem 0 0;color:var(--text-500);font-size:.74rem;line-height:1.5;text-align:center}.wa-float{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;padding:0;overflow:hidden;white-space:nowrap;transition:width .25s ease,padding .25s ease,transform .2s ease}.wa-float__short{display:inline}.wa-float__full{display:none}.wa-float:hover{width:210px;padding-inline:1rem}.wa-float:hover .wa-float__short{display:none}.wa-float:hover .wa-float__full{display:inline}.testimonial-map-shell--compact .testimonial-live-map{height:420px}@media(min-width:1024px){.trial-showcase{min-height:510px}.trial-panel__brand{margin-bottom:1rem}.trial-panel__description{margin-bottom:1rem}.trial-benefits{margin-bottom:1rem}.pricing-card__features{gap:.45rem;margin:.8rem 0 1rem}}@media(max-width:640px){.wa-float,.wa-float:hover{width:50px;height:50px;padding:0}.wa-float__short{display:inline!important}.wa-float__full{display:none!important}.testimonial-map-shell--compact .testimonial-live-map{height:360px}}\n

/* =========================
   Stats Notes Layout Fix
========================= */

.stats.stats--background {
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.stats.stats--background .stats__grid {
  flex: 0 0 auto;
}

.stats.stats--background .stats-notes {
  width: min(1120px, 92%);
  margin: 0.9rem auto 0;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(109, 116, 133, 0.16);
  text-align: center;
}

.stats.stats--background .stats-notes p {
  margin: 0.15rem 0;
  color: var(--text-500);
  font-size: 0.7rem;
  line-height: 1.45;
}

.stats.stats--background .brand-disclaimer {
  max-width: 820px;
  margin-inline: auto !important;
}

@media (max-width: 900px) {
  .stats.stats--background .stats-notes {
    width: min(92%, 680px);
  }
}

@media (max-width: 560px) {
  .stats.stats--background .stats-notes {
    width: min(92%, 420px);
    margin-top: 0.7rem;
    padding: 0.75rem 0.5rem 0;
  }

  .stats.stats--background .stats-notes p {
    font-size: 0.66rem;
  }
}

/* =========================
   Why Hanhub — Larger Card Typography
========================= */

.why-benefits .value-card {
  min-height: 150px;
  padding: 1rem 1.05rem;
}

.why-benefits .value-card h3 {
  max-width: none;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
}

.why-benefits .value-card p {
  font-size: 0.84rem;
  line-height: 1.5;
}

.value-card__number {
  width: 34px;
  height: 34px;
  margin-bottom: 0.65rem;
  font-size: 0.74rem;
}

@media (min-width: 1024px) {
  .why-benefits .value-card {
    min-height: 150px;
    padding: 1rem 1.05rem;
  }

  .why-benefits .value-card h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .why-benefits .value-card p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .value-card__number {
    width: 34px;
    height: 34px;
    margin-bottom: 0.65rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 640px) {
  .why-benefits .value-card {
    min-height: 158px;
    padding: 0.9rem;
  }

  .why-benefits .value-card h3 {
    font-size: 0.94rem;
  }

  .why-benefits .value-card p {
    font-size: 0.8rem;
    line-height: 1.45;
  }
}

/* =========================
   FINAL FIX — Stats notes must stay below all cards
========================= */

.stats.stats--background {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr auto !important;
  align-items: end !important;
  justify-items: stretch !important;
}

.stats.stats--background .stats__grid {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: min(1120px, 92%) !important;
  margin-inline: auto !important;
  align-self: end !important;
}

.stats.stats--background .stats-notes {
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: min(1120px, 92%) !important;
  margin: 1rem auto 0 !important;
  padding: 0.9rem 1rem 0 !important;
  border-top: 1px solid rgba(109, 116, 133, 0.18) !important;
  text-align: center !important;
}

.stats.stats--background .stats-notes p {
  display: block !important;
  width: 100% !important;
  margin: 0.15rem auto !important;
  color: var(--text-500) !important;
  font-size: 0.7rem !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.stats.stats--background .brand-disclaimer {
  max-width: 820px !important;
}

@media (max-width: 900px) {
  .stats.stats--background .stats-notes {
    width: min(92%, 680px) !important;
  }
}

@media (max-width: 560px) {
  .stats.stats--background .stats-notes {
    width: min(92%, 420px) !important;
    margin-top: 0.75rem !important;
    padding-inline: 0.25rem !important;
  }

  .stats.stats--background .stats-notes p {
    font-size: 0.66rem !important;
  }
}