footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 0;
  border-top: 4px solid var(--gold);
}
footer h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--gold);
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  padding: 0.3rem 0;
}
.social a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-right: 0.5rem;
  border-radius: 2px;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding: 1.3rem 0;
  font-size: 0.9rem;
}

.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 5.4rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy-deep);
  border: 0;
  border-radius: 2px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 1000;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
}

.wa-widget {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f2b705;;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  text-decoration: none;
  transition: transform 0.25s;
}
.wa-widget:hover {
  color: #fff;
  transform: scale(1.08);
}
.wa-widget:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Enroll band ---------- */
.enroll-band {
  background: var(--gold);
  padding: 2.2rem 0;
}
.enroll-band h3 {
  color: var(--navy-deep);
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.enroll-band p {
  margin: 0.2rem 0 0;
  color: var(--navy-deep);
}

/* ---------- Video testimonials ---------- */
.video-frame {
  background: var(--navy);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.15);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy-deep);
}
.v-name {
  margin: 1rem 0 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}

/* ---------- Smaller type on small screens ---------- */
@media (max-width: 767.98px) {
  body {
    font-size: 0.93rem;
    line-height: 1.65;
  }
  .section-pad {
    padding: 3.5rem 0;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }
  .hero {
    padding: 6.5rem 0 3.5rem;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }
  .hero p.lead {
    font-size: 1rem;
  }
  .hero-points li {
    font-size: 0.88rem;
  }
  h2.section-title {
    font-size: clamp(1.6rem, 6.5vw, 2rem);
  }
  .why-item h3,
  .path-step h3 {
    font-size: 1.2rem;
  }
  .course-card {
    padding: 1.6rem 1.25rem;
  }
  .total-box .amount {
    font-size: 2.2rem;
  }
  .about-stats strong {
    font-size: 2rem;
  }
  .about-stats {
    gap: 1.5rem;
  }
  .btn-gold,
  .btn-outline-light-x,
  .btn-navy {
    padding: 0.7rem 1.4rem;
    font-size: 0.92rem;
  }
  .nav-panel .nav-link {
    font-size: 1rem;
  }
  .accordion-button {
    font-size: 0.95rem;
  }
  .brand-logo {
    height: 46px;
  }
  .site-nav.scrolled .brand-logo {
    height: 42px;
  }
  .s-card figcaption {
    font-size: 1.1rem;
  }
  .cta h2 {
    font-size: clamp(1.6rem, 6.5vw, 2rem);
  }
  footer h4 {
    font-size: 1.15rem;
  }
}

/* One reveal moment: hero content on load */
.hero-in {
  animation: heroIn 0.9s ease both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
