/* ---------- Page hero ---------- */
.page-hero {
  padding: 90px 24px 50px;
  text-align: center;
}
.page-hero-content { max-width: 760px; margin: 0 auto; }
.page-hero .eyebrow {
  font-family: var(--font-sub);
  font-size: 16px;
  letter-spacing: 0.35em;
  font-weight: 700;
  margin-bottom: 10px;
}
@media (min-width: 640px) {
  .page-hero .eyebrow { font-size: 18px; }
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  letter-spacing: 0.02em;
  color: var(--stone);
  text-transform: uppercase;
  margin: 18px 0 20px;
}
.page-hero .sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--silver);
  max-width: 58ch;
  margin: 0 auto 10px;
}

/* ---------- Section head ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--stone);
  margin: 14px 0 14px;
}
.section-head p {
  font-family: var(--font-body);
  color: var(--silver);
  font-size: 18px;
}
.section-head .persona-sub {
  font-family: var(--font-sub);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.9;
  margin: 8px 0 16px;
}

/* ---------- Emblem moment ---------- */
.emblem-section {
  text-align: center;
  padding: 30px 32px 80px;
}
.emblem-section img {
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 0 26px rgba(212,175,55,0.18));
}

/* ---------- Join / Certify cards ---------- */
.join-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 32px 100px;
}
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.join-card {
  background: var(--deep-navy);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 6px;
  padding: 36px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.join-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--stone);
  margin-bottom: 14px;
  font-weight: 600;
}
.join-card p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--silver);
  line-height: 1.65;
  margin-bottom: 24px;
}
.join-card .btn-book {
  margin-top: auto;
}

/* ---------- Teachers carousel ---------- */
.teachers-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px 100px;
}
.teachers-carousel { position: relative; }
.teachers-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,0.4) transparent;
}
.teachers-track::-webkit-scrollbar { height: 6px; }
.teachers-track::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.35); border-radius: 999px; }

.teacher-card {
  position: relative;
  background: var(--deep-navy);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 6px;
  padding: 0 0 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 0 0 300px;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Photo slot (placeholder or img). Keep 4:5 so cards stay a consistent height. */
.teacher-photo-slot,
.teacher-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 280px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.teacher-photo-slot {
  background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(15,124,130,0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.teacher-photo-slot span {
  font-family: var(--font-sub);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--silver);
  opacity: 0.75;
  padding: 0 20px;
}
.teacher-photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.teacher-photo {
  display: block;
  object-fit: cover;
  object-position: center top;
}

.teacher-card-body { padding: 22px 24px 0; }
.teacher-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--stone);
  margin-bottom: 6px;
  font-weight: 600;
}
.teacher-card .credentials {
  font-family: var(--font-sub);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.teacher-card p.bio {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--silver);
  line-height: 1.65;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-arrow:hover, .carousel-arrow:focus-visible {
  background: var(--gold);
  color: var(--navy);
}
.carousel-arrow.prev { left: -18px; }
.carousel-arrow.next { right: -18px; }
@media (max-width: 780px) {
  .carousel-arrow { display: none; }
}

/* ---------- CTA ---------- */
.page-cta {
  text-align: center;
  padding: 0 32px 120px;
}
.page-cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--stone);
  margin-bottom: 14px;
}
.page-cta p {
  font-family: var(--font-body);
  color: var(--silver);
  font-size: 18px;
  margin-bottom: 30px;
}
