/* ============================================
   Marine Taekwondo — Design tokens
   To change colors, edit only the :root values below.
============================================ */
:root {
  --navy-950: #0a1a35;
  --navy-900: #0f2347;
  --navy-800: #16305e;
  --navy-700: #1c3d75;
  --blue-500: #2f6fd9;
  --blue-400: #4a8ce8;
  --blue-300: #7db2f2;
  --blue-100: #dce9fc;
  --ink-white: #ffffff;
  --muted: #b8c9e8;
  --gold: #f2b705;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 26, 53, 0.25);
  --container: 1160px;
  --font: 'Segoe UI', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink-white);
  color: var(--navy-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff;
  box-shadow: 0 8px 22px rgba(47, 111, 217, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 111, 217, 0.55); }
a.btn-primary[href="free-trial.html"]:hover {
  background: linear-gradient(135deg, var(--gold), #ffb703);
  box-shadow: 0 12px 28px rgba(242,183,5,0.45);
}
.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-900);
  border-bottom: 3px solid var(--blue-400);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; transition: transform .15s ease; }
.brand:hover img { transform: scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links a.top-link {
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-links a.top-link:hover,
.nav-links li.active a.top-link { border-bottom-color: var(--blue-300); color: var(--blue-300); }

.nav-links a.top-link.btn-nav {
  color: #fff;
  font-weight: 700;
  padding: 9px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  box-shadow: 0 6px 16px rgba(47,111,217,0.35);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.nav-links a.top-link.btn-nav:hover {
  border-bottom-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #ffb703);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 22px rgba(242,183,5,0.45);
}
@media (max-width: 900px) {
  .nav-links a.top-link.btn-nav { display: inline-block; margin-top: 10px; }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 35, 71, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(5,14,32,0.4);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity .18s ease, translate .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; translate: 0 0;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--blue-100);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.dropdown-menu li a:hover { background: rgba(255,255,255,0.12); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.social-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  transition: background .15s ease, transform .15s ease;
}
.social-icon:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex: none;
  color: #fff;
}
.nav-toggle svg { width: 24px; height: 24px; }

.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5, 12, 28, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999;
}
@media (max-width: 900px) {
  .nav-backdrop { display: block; }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
  .nav-links {
    position: fixed;
    top: 66px;
    right: 16px;
    left: auto;
    width: min(280px, calc(100vw - 32px));
    max-height: calc(100vh - 66px - 16px);
    height: fit-content;
    background: rgba(15, 35, 71, 0.78);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(5,14,32,0.45);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 10px;
    gap: 2px;
    transform: translateY(-8px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    overflow-y: auto;
    z-index: 1001;
  }
  .nav-links.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  .nav-links a.top-link {
    display: block;
    padding: 13px 12px;
    border-radius: 10px;
    border-bottom: none;
    transition: background .15s ease;
  }
  .nav-links a.top-link:hover, .nav-links a.top-link:active { background: rgba(255,255,255,0.08); }
  .nav-links li:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; background: rgba(255,255,255,0.05); border-radius: 10px;
    margin: 0 0 6px 0; padding: 4px; display: none;
  }
  .dropdown-menu li a { padding: 10px 12px; }
  .has-dropdown.open .dropdown-menu { display: block; }
  .brand { flex: none; order: 1; }
  .nav-actions { flex: none; order: 2; margin-left: auto; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; order: 3; }
}

/* ---------- Hero ---------- */
/* Background photo (assets/hero-bg.jpg) shows through a dark navy tint so the
   white text stays readable. To swap the photo, replace assets/hero-bg.jpg
   with a new image of the same rough aspect ratio (wide, landscape). */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,26,53,0.82), rgba(15,35,71,0.74) 45%, rgba(10,26,53,0.9)),
    url('../assets/hero-bg.jpg') center 30% / cover no-repeat;
  color: #fff;
  padding: 54px 0 90px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(74,140,232,0.25), transparent 55%);
  pointer-events: none;
}
.hero-text { position: relative; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.hero h1 {
  margin: 0 0 16px;
  line-height: 1.2;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.hero h1 .line-before {
  display: block;
  font-size: clamp(1.25rem, 5.8vw, 3.4rem);
  font-weight: 800;
  color: rgba(255,255,255,0.68);
  white-space: nowrap;
}
.hero h1 .line-after {
  display: block;
  font-size: clamp(1.25rem, 5.8vw, 3.4rem);
  font-weight: 800;
  color: var(--blue-300);
  margin-top: 6px;
  opacity: 0;
  white-space: nowrap;
  animation: heroReveal 0.9s cubic-bezier(.16,.84,.44,1) 0.4s forwards;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .line-after { animation: none; opacity: 1; }
}
.hero .hero-statement {
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  font-weight: 700;
  letter-spacing: normal;
  color: #fff;
  max-width: 640px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero .hero-statement br.mobile-break { display: none; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero {
    padding: 40px 0 70px;
    background-position: 85% 24%;
  }
  .hero-badge {
    font-size: clamp(0.6rem, 3.2vw, 0.82rem);
    letter-spacing: 0.04em;
    padding: 6px 12px;
    white-space: nowrap;
  }
  .hero h1 .line-before, .hero h1 .line-after {
    font-size: clamp(1.3rem, 6.6vw, 1.9rem);
  }
  .hero .hero-statement {
    font-size: clamp(0.85rem, 4.2vw, 1.15rem);
    margin-bottom: 28px;
  }
  .hero .hero-statement br.mobile-break { display: inline; }
}

/* ---------- Section base ---------- */
.section { padding: 84px 0; }
.section-alt {
  position: relative;
  background: linear-gradient(180deg, #eef4fd, var(--blue-100));
  overflow: hidden;
}
.section-alt::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(74,140,232,0.14), transparent 55%);
  pointer-events: none;
}
.section-alt > * { position: relative; }
.section-dark {
  position: relative;
  background: radial-gradient(circle at 15% 0%, var(--navy-700), var(--navy-950) 65%);
  color: #fff;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 100%, rgba(74,140,232,0.28), transparent 55%);
  pointer-events: none;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow {
  color: var(--blue-500);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.section-dark .eyebrow { color: var(--blue-300); }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 10px 0 14px; }
.section-head p { color: #55688f; }
.section-dark .section-head p { color: var(--muted); }

/* ---------- Benefit / feature grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: 0 6px 20px rgba(15, 35, 71, 0.08);
  border: 1px solid #eef2fb;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,35,71,0.14); }
.card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  transition: transform .2s ease;
}
.card:hover .icon { transform: rotate(-6deg) scale(1.08); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: #55688f; font-size: 0.96rem; }

/* ---------- Differentiator grid ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.diff-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.diff-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
.diff-card .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.diff-card h4 { margin: 0 0 6px; font-size: 1.02rem; }
.diff-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .diff-grid { gap: 10px; }
  .diff-card { padding: 16px 14px; }
  .diff-card .num { width: 26px; height: 26px; font-size: 0.8rem; margin-bottom: 10px; }
  .diff-card h4 { font-size: 0.88rem; line-height: 1.3; }
  .diff-card p { font-size: 0.78rem; line-height: 1.42; }
}

/* ---------- Award spotlight ---------- */
.award-spotlight-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.award-spotlight-img {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(242,183,5,0.14), transparent 70%);
}
.award-spotlight-img img {
  width: 100%; max-width: 420px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.award-spotlight-text h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin: 10px 0 18px; color: var(--navy-900); }
.award-spotlight-text p { color: #55688f; font-size: 1.02rem; max-width: 480px; margin: 0 0 28px; }
@media (max-width: 860px) {
  .award-spotlight-wrap { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .award-spotlight-img img { max-width: 300px; }
  .award-spotlight-text p { margin-left: auto; margin-right: auto; }
}

/* ---------- Reviews ---------- */
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 44px; }
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; }
.rating-summary .score { font-weight: 800; font-size: 1.2rem; }
.rating-summary .count { color: #55688f; }

.review-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}
.review-scroll::-webkit-scrollbar { height: 8px; }
.review-scroll::-webkit-scrollbar-thumb { background: var(--blue-300); border-radius: 8px; }
.review-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #eef2fb;
  box-shadow: 0 6px 20px rgba(15,35,71,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,35,71,0.14); }
.review-card .google-link { transition: color .15s ease; }
.review-card .google-link:hover { color: var(--navy-900); }
.review-card .stars { font-size: 0.95rem; margin-bottom: 10px; display: block; }
.review-card p { color: #33415f; font-size: 0.94rem; min-height: 72px; }
.review-card .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.review-card .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.review-card .name { font-weight: 700; font-size: 0.92rem; }
.review-card .date { color: #8394b6; font-size: 0.8rem; }
.review-card .google-link { display: inline-block; margin-top: 10px; font-size: 0.82rem; color: var(--blue-500); font-weight: 600; }

/* ---------- Social feed section ---------- */
.social-embeds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.social-embeds.single { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
@media (max-width: 760px) { .social-embeds { grid-template-columns: 1fr; } }
.embed-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 6px 20px rgba(15,35,71,0.08);
  border: 1px solid #eef2fb;
  transition: transform .15s ease, box-shadow .15s ease;
}
.embed-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,35,71,0.14); }
.embed-card h3 { display: flex; align-items: center; gap: 10px; margin: 4px 6px 14px; font-size: 1.05rem; }
.embed-card iframe, .embed-card .embed-slot {
  width: 100%;
  border: none;
  border-radius: 10px;
  display: block;
}
/* ---------- Contact / footer ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px 18px;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.contact-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.contact-item .icon { margin: 0 auto 14px; transition: transform .15s ease; }
.contact-item:hover .icon { transform: scale(1.12); }
.contact-item a, .contact-item span { color: #fff; font-weight: 600; }

.visit-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; margin-top: 8px; }
.visit-wrap .map-embed iframe { height: 260px; }
.site-bottom .section-head p { color: var(--muted); }
.site-bottom .section-head p a { color: var(--blue-300); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; transition: color .15s ease; }
.site-bottom .section-head p a:hover { color: var(--gold); }
.contact-list { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.contact-list .contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  text-align: left;
}
.contact-list .contact-item .icon { margin: 0; font-size: 1.1rem; flex: none; }
.contact-list .contact-item a, .contact-list .contact-item span { font-size: 0.92rem; }
@media (max-width: 760px) {
  .visit-wrap { grid-template-columns: 1fr; }
}

/* ---------- Unified bottom block: contact + certifications + copyright ---------- */
/* One continuous gradient, no hard section seams — only thin 1px dividers between parts. */
.site-bottom {
  position: relative;
  background: radial-gradient(circle at 15% 0%, var(--navy-700), var(--navy-950) 65%);
  color: #fff;
  overflow: hidden;
  padding-top: 76px;
}
.site-bottom::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 100%, rgba(74,140,232,0.28), transparent 55%);
  pointer-events: none;
}
.site-bottom .container { position: relative; }

.cert-block { text-align: center; }
.cert-block.with-divider {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cert-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cert-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 64px;
}
.cert-logos img {
  height: 52px;
  width: 100px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity .15s ease, transform .15s ease;
}
.cert-logos img:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 560px) {
  .cert-logos { gap: 36px; }
  .cert-logos img { height: 40px; width: 80px; }
}

.footer-bottom {
  position: relative;
  margin-top: 44px;
  padding: 22px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, var(--navy-700), var(--navy-950) 70%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(74,140,232,0.35), transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; }
.page-hero p { color: var(--muted); margin: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--blue-300); margin-bottom: 10px; }

/* ---------- Program detail ---------- */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 860px) { .program-detail { grid-template-columns: 1fr; } }
.program-detail .visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue-400), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.program-detail .visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.program-detail .visual:hover img { transform: scale(1.06); }
.program-detail h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
.program-detail p { color: #45557a; margin: 0 0 16px; }

.program-nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.program-nav a {
  padding: 8px 18px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  background: rgba(255,255,255,0.08); color: var(--blue-100);
  border: 1px solid rgba(255,255,255,0.15);
}
.program-nav a.active, .program-nav a:hover { background: var(--blue-400); color: #fff; }

/* ---------- Class schedule table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table.schedule { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--navy-800); color: #fff; }
table.schedule th, table.schedule td {
  padding: 16px 14px; text-align: center; font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
table.schedule thead th {
  background: var(--navy-950);
  text-transform: uppercase; letter-spacing: .06em; font-size: 0.8rem; color: var(--blue-300);
}
table.schedule tbody tr:nth-child(even) { background: rgba(255,255,255,0.04); }
table.schedule td.class-name { text-align: left; font-weight: 700; }
table.schedule td.class-name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.75rem; }
.schedule-note { text-align: center; color: #55688f; margin-top: 18px; font-size: 0.9rem; }

/* ---------- Floating chat button ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(47,111,217,0.5);
  border: none; cursor: pointer;
}
.chat-fab svg { width: 26px; height: 26px; }

/* ---------- Free trial form ---------- */
.trial-form { text-align: left; display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.trial-form input, .trial-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #dde5f5;
  background: #f7f9fd;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--navy-900);
  transition: border-color .15s ease, background .15s ease;
}
.trial-form input:focus, .trial-form select:focus {
  outline: none;
  border-color: var(--blue-400);
  background: #fff;
}
.trial-form select { color: var(--navy-900); }
.trial-form select:invalid { color: #7c8aa8; }
.trial-form button[disabled] { opacity: 0.7; cursor: not-allowed; }

.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-size: 0.92rem; }
.form-status.success { background: #e5f7ec; color: #1c7a45; }
.form-status.error { background: #fdecec; color: #b3261e; }

/* ---------- Top promo bar ---------- */
.promo-bar {
  background: var(--navy-950);
  color: var(--blue-100);
  text-align: center;
  font-size: 0.86rem;
  padding: 9px 16px;
}
.promo-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; transition: color .15s ease; }
.promo-bar a:hover { color: var(--gold); }

/* ---------- Trust strip (dark, full width) ---------- */
.trust-strip { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); border-top: 1px solid rgba(255,255,255,0.08); }
.trust-strip .grid-4 { gap: 0; }
.trust-strip-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px; border-right: 1px solid rgba(255,255,255,0.08);
  transition: background .15s ease;
}
.trust-strip-item:hover { background: rgba(255,255,255,0.04); }
.grid-4 > .trust-strip-item:last-child { border-right: none; }
.trust-strip-item .icon {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(74,140,232,0.15); color: var(--blue-300);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.trust-strip-item:hover .icon { background: var(--blue-500); color: #fff; transform: scale(1.1); }
.trust-strip-item .icon svg { width: 22px; height: 22px; }
.trust-strip-item h5 { margin: 0; font-size: 0.94rem; color: #fff; }
.trust-strip-item p { margin: 2px 0 0; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) and (min-width: 561px) {
  .trust-strip .grid-4 { grid-template-columns: 1fr 1fr; }
  .trust-strip-item { border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .trust-strip-item:nth-child(2n) { border-right: none; }
  .trust-strip-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .trust-strip .grid-4 { grid-template-columns: 1fr; }
  .trust-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .trust-strip-item:last-child { border-bottom: none; }
}

/* ---------- Persona / "sound familiar" cards ---------- */
.persona-card {
  background: #fff; border-radius: var(--radius); padding: 26px 24px;
  border: 1px solid #eef2fb; box-shadow: 0 6px 20px rgba(15,35,71,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.persona-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,35,71,0.14); }
.persona-card .persona-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: .08em;
  color: var(--blue-500); text-transform: uppercase; margin-bottom: 10px;
}
.persona-card .quote { font-style: italic; color: #45557a; margin: 0 0 14px; }
.persona-card .arrow-row { display: flex; gap: 10px; align-items: flex-start; }
.persona-card .arrow-row .arrow { color: var(--blue-400); font-weight: 800; flex: none; }
.persona-card .outcome { margin: 0; font-weight: 600; color: var(--navy-900); }

/* ---------- FAQ accordion (native <details>) ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff; border: 1px solid #eef2fb; border-radius: 10px;
  padding: 4px 20px; box-shadow: 0 4px 14px rgba(15,35,71,0.05);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.faq-item:hover { box-shadow: 0 8px 22px rgba(15,35,71,0.1); border-color: var(--blue-300); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 700; color: var(--navy-900); font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: color .15s ease;
}
.faq-item:hover summary { color: var(--blue-500); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--blue-500); flex: none;
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: #55688f; font-size: 0.95rem; }

/* ---------- Reassurance strip (near booking widgets) ---------- */
.reassure-row {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px; font-size: 0.86rem; color: #55688f;
}
.reassure-row span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Photo gallery grid ---------- */
.photo-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-gallery-grid a {
  position: relative; display: block; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 20px rgba(15,35,71,0.12);
}
.photo-gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.photo-gallery-grid a:hover img { transform: scale(1.06); }
.photo-gallery-grid .cap {
  position: absolute; inset: auto 0 0 0; padding: 10px 12px 8px;
  background: linear-gradient(180deg, transparent, rgba(8,18,40,0.88));
  color: #fff; font-size: 0.82rem; font-weight: 700;
}
@media (max-width: 760px) { .photo-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.section-dark .photo-gallery-grid a {
  box-shadow: 0 20px 44px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
}
.section-dark .photo-gallery-grid a:hover { border-color: rgba(255,255,255,0.25); }


/* ---------- First-class timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.timeline-step { position: relative; text-align: center; padding: 0 8px; }
.timeline-step::after {
  content: ""; position: absolute; top: 22px; left: calc(50% + 30px); right: calc(-50% + 30px);
  height: 2px; background: #dde5f5;
}
.timeline-step:last-child::after { display: none; }
.timeline-step .num {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(47,111,217,0.35);
}
.timeline-step h4 { margin: 0 0 6px; font-size: 0.98rem; color: var(--navy-900); }
.timeline-step p { margin: 0; font-size: 0.85rem; color: #55688f; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .timeline-step { display: flex; gap: 16px; text-align: left; padding: 0; }
  .timeline-step .num { margin: 0; flex: none; }
  .timeline-step::after { display: none; }
}

/* ---------- Map embed ---------- */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: none; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-embed.square { aspect-ratio: 1 / 1; }
.map-embed.square iframe { height: 100%; }

/* ---------- Mobile sticky book bar ---------- */
.mobile-book-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
}
.mobile-book-bar .row { display: flex; gap: 10px; align-items: center; }
.mobile-book-bar .contact-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.mobile-book-bar .btn { flex: 1; text-align: center; padding: 13px 20px; }
@media (max-width: 640px) {
  .mobile-book-bar { display: block; }
  body { padding-bottom: 80px; }
}

/* ---------- Live review toast (bottom-left, rotates through real reviews) ---------- */
.review-toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 997;
  width: 320px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15,35,71,0.2);
  padding: 16px 34px 16px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.review-toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.review-toast .avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.review-toast .body { flex: 1; min-width: 0; }
.review-toast .stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 1px; }
.review-toast .name { font-weight: 700; font-size: 0.86rem; color: var(--navy-900); margin-top: 2px; }
.review-toast .quote {
  font-size: 0.8rem; color: #55688f; margin: 4px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.review-toast .google-badge { font-size: 0.72rem; color: #8394b6; }
.review-toast .close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; color: #b8c2d9; font-size: 1.1rem; line-height: 1;
  cursor: pointer; padding: 4px;
}
.review-toast .close:hover { color: #55688f; }
@media (max-width: 640px) { .review-toast { bottom: 92px; left: 12px; width: calc(100vw - 24px); } }

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
