:root {
  --elp-blue: #055CA2;
  --elp-blue-dark: #06518f;
  --elp-blue-deep: #054579;
  --elp-yellow: #FFE448;
  --elp-red: #E71D29;
  --elp-ink: #1b2430;
  --elp-muted: #5c6778;
  --elp-line: #e4edf5;
  --elp-bg: #f5f8fb;
  --elp-soft: #e8f2fa;
  --elp-radius: 22px;
  --elp-shadow: 0 14px 36px rgba(5, 92, 162, 0.08);
  --elp-shadow-hover: 0 18px 40px rgba(5, 92, 162, 0.14);
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--elp-ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, .navbar-brand, .btn-elp, .section-title, .page-hero h1, .program-card h3, .stat-value, .footer-title {
  font-family: var(--font-display);
}

a {
  color: var(--elp-blue);
}

a:hover {
  color: var(--elp-blue-dark);
}

:focus-visible {
  outline: 3px solid var(--elp-yellow);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 92, 162, 0.08);
}

.navbar {
  min-height: var(--header-h);
  padding: 0.75rem 0;
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.navbar-nav .nav-link {
  position: relative;
  margin: 0 0.35rem;
  padding: 0.4rem 0.7rem;
  color: var(--elp-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--elp-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--elp-blue);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.btn-elp,
.btn-elp-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-elp {
  background: var(--elp-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(5, 92, 162, 0.22);
}

.btn-elp:hover {
  background: var(--elp-blue-dark);
  color: #fff;
}

.btn-elp:active,
.btn-elp-ghost:active {
  transform: scale(0.97);
}

.btn-elp-ghost {
  background: #fff;
  color: var(--elp-blue);
  border-color: rgba(5, 92, 162, 0.25);
}

.btn-elp-ghost:hover {
  background: var(--elp-soft);
  color: var(--elp-blue-deep);
  border-color: var(--elp-blue);
}

.nav-cta {
  white-space: nowrap;
}

#programs,
#allCourse {
  scroll-margin-top: 96px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 62% 78% at 76% 46%, #F3F1ED 0%, #F3F1ED 34%, rgba(243, 241, 237, 0.72) 52%, rgba(243, 241, 237, 0) 74%),
    radial-gradient(circle at 8% 18%, rgba(255, 228, 72, 0.28), transparent 26%),
    linear-gradient(180deg, #f6f4f1 0%, #fff 80%);
}

.hero-copy h1 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--elp-blue);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(5, 92, 162, 0.08);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--elp-red);
}

.hero-copy p {
  max-width: 36rem;
  margin-bottom: 1.6rem;
  color: var(--elp-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art video {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 32px;
  object-fit: cover;
  background: #F3F1ED;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 78% 76% at center, #000 58%, rgba(0, 0, 0, 0.55) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 76% at center, #000 58%, rgba(0, 0, 0, 0.55) 76%, transparent 100%);
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy > p,
.hero-actions,
.hero-art {
  animation: hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy h1 {
  animation-delay: 0.08s;
}

.hero-copy > p {
  animation-delay: 0.16s;
}

.hero-actions {
  animation-delay: 0.26s;
}

.hero-art {
  animation-delay: 0.12s;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: var(--elp-bg);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  color: var(--elp-muted);
}

.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: var(--elp-radius);
  box-shadow: var(--elp-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  color: inherit;
  transform: translateY(-6px);
  box-shadow: var(--elp-shadow-hover);
}

.program-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.program-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.program-tag {
  align-self: flex-start;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--elp-soft);
  color: var(--elp-blue);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.program-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.program-meta {
  margin: 0 0 0.5rem;
  color: var(--elp-blue);
  font-size: 0.88rem;
  font-weight: 600;
}

.program-card p {
  margin: 0 0 1rem;
  color: var(--elp-muted);
  font-size: 0.92rem;
}

.program-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.program-price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
}

.program-price s {
  margin-left: 0.35rem;
  color: #9aa3af;
  font-weight: 600;
  font-size: 0.85rem;
}

.program-link {
  color: var(--elp-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem 0 0.5rem;
  color: var(--elp-muted);
  font-family: var(--font-display);
  font-weight: 700;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--elp-line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.4rem 1.2rem;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: var(--elp-radius);
  box-shadow: var(--elp-shadow);
}

.stat-card:nth-child(2) {
  background: var(--elp-blue);
  color: #fff;
  border-color: transparent;
}

.stat-card:nth-child(3) {
  background: var(--elp-yellow);
  border-color: transparent;
}

.stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat-card p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.stat-bar {
  height: 6px;
  margin-top: 1rem;
  border-radius: 999px;
  background: rgba(5, 92, 162, 0.12);
  overflow: hidden;
}

.stat-card:nth-child(2) .stat-bar {
  background: rgba(255, 255, 255, 0.25);
}

.stat-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--elp-red);
  transition: width 1.1s ease;
}

.stat-card:nth-child(2) .stat-bar span {
  background: var(--elp-yellow);
}

.stat-card.is-counted .stat-bar span {
  width: var(--bar, 80%);
}

.phrase-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.phrase {
  margin: 0;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: 18px 18px 18px 6px;
  box-shadow: var(--elp-shadow);
  font-family: var(--font-display);
  font-weight: 700;
}

.phrase:nth-child(3n) {
  background: var(--elp-yellow);
  border-color: transparent;
}

.phrase:nth-child(3n + 2) {
  color: #fff;
  background: var(--elp-blue);
  border-color: transparent;
}

.album-frame {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--elp-line);
  box-shadow: var(--elp-shadow);
}

.album-frame .carousel-item img {
  width: 100%;
  height: min(520px, 68vw);
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: var(--elp-blue);
  background-size: 50%;
}

.day-grid,
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.day-card,
.activity-card {
  height: 100%;
  padding: 1.3rem 1.25rem 1.15rem;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: 22px;
  box-shadow: var(--elp-shadow);
}

.day-card:nth-child(2) {
  background: var(--elp-blue);
  color: #fff;
  border-color: transparent;
}

.day-en {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--elp-muted);
}

.day-card:nth-child(2) .day-en {
  color: rgba(255, 255, 255, 0.75);
}

.day-card h3,
.activity-card h3 {
  margin: 0.15rem 0 0.9rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.slot + .slot {
  margin-top: 0.85rem;
}

.slot-label {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--elp-blue);
}

.day-card:nth-child(2) .slot-label {
  color: var(--elp-yellow);
}

.time-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
}

.time-row span {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--elp-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.day-card:nth-child(2) .time-row span {
  background: rgba(255, 255, 255, 0.16);
}

.activity-card {
  transition: transform 0.25s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: var(--elp-soft);
  color: var(--elp-blue);
  font-size: 1.25rem;
}

.activity-card:nth-child(3n) .activity-icon {
  background: #fff4f4;
  color: var(--elp-red);
}

.activity-card:nth-child(3n + 2) .activity-icon {
  background: #fff8d4;
  color: #8a6a00;
}

.activity-card p {
  margin: 0;
  color: var(--elp-muted);
}

.page-hero {
  padding: 3.2rem 0 2.2rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 228, 72, 0.4), transparent 26%),
    linear-gradient(180deg, #f3f8fc 0%, #fff 100%);
}

.page-hero h1 {
  margin: 0.35rem 0 0.4rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 38rem;
  margin: 0;
  color: var(--elp-muted);
}

.about-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: 28px;
  box-shadow: var(--elp-shadow);
}

.about-panel img {
  width: 100%;
  border-radius: 20px;
  background: var(--elp-bg);
  padding: 1.5rem;
}

.about-panel p {
  margin: 0;
  font-size: 1.08rem;
}

.map-frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--elp-line);
  box-shadow: var(--elp-shadow);
  background: #fff;
}

.map-frame iframe,
#branch-map {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

#branch-map {
  z-index: 0;
}

.branch-card {
  cursor: pointer;
}

.branch-card.is-active {
  border-color: var(--elp-blue);
  box-shadow: var(--elp-shadow-hover);
}

.branch-card a {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.branch-card {
  height: 100%;
  padding: 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: 18px;
  box-shadow: var(--elp-shadow);
}

.branch-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.branch-card p {
  margin: 0;
  color: var(--elp-muted);
  font-size: 0.92rem;
}

.course-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.course-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: 28px;
  box-shadow: var(--elp-shadow);
}

.course-detail img.course-photo {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 20px;
}

.course-detail h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.course-kicker {
  margin: 0 0 0.75rem;
  color: var(--elp-blue);
  font-family: var(--font-display);
  font-weight: 700;
}

.course-price {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.course-price s {
  margin-left: 0.4rem;
  color: #9aa3af;
  font-size: 1rem;
}

.course-detail .lead {
  color: var(--elp-muted);
  font-size: 1.05rem;
}

.course-info .btn-elp {
  margin-top: 0.4rem;
}

.faq-page {
  padding-top: 3.2rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 108px;
  padding: 1.6rem 1.45rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 228, 72, 0.45), transparent 42%),
    var(--elp-blue);
  color: #fff;
}

.faq-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--elp-yellow);
}

.faq-aside h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.faq-aside p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.86);
}

.faq-aside-btn {
  background: #fff;
  color: var(--elp-blue);
  box-shadow: none;
}

.faq-aside-btn:hover {
  background: var(--elp-yellow);
  color: var(--elp-ink);
}

.faq-card {
  padding: 1.25rem 1.3rem 1.15rem;
  background: #fff;
  border: 1px solid var(--elp-line);
  border-radius: 22px;
  box-shadow: var(--elp-shadow);
}

.faq-card + .faq-card {
  margin-top: 0.85rem;
}

.faq-index {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--elp-red);
}

.faq-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-card p {
  margin: 0;
  color: var(--elp-muted);
}

.site-footer {
  margin-top: 1rem;
  padding-top: 3rem;
  background: var(--elp-bg);
  border-top: 4px solid var(--elp-yellow);
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-title {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-label {
  margin: 0.8rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--elp-blue);
}

.footer-text,
.footer-list {
  margin: 0;
  color: var(--elp-muted);
  font-size: 0.95rem;
}

.footer-list {
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  color: var(--elp-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--elp-blue);
}

.footer-copy {
  margin-top: 2.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--elp-line);
}

.footer-copy p {
  margin: 0;
  text-align: center;
  color: var(--elp-muted);
  font-size: 0.9rem;
}

.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: transparent;
  opacity: 0.85;
  animation: bob 2.8s ease-in-out infinite;
}

.float-wa:hover,
.float-wa:focus-visible {
  opacity: 1;
}

.float-wa img {
  width: 55px;
  height: 55px;
}

.float-wa span {
  position: absolute;
  right: 74px;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  background: #192733;
  color: #fff;
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.float-wa:hover span,
.float-wa:focus-visible span {
  opacity: 1;
  transform: none;
}

.float-slow {
  animation: floaty 6s ease-in-out infinite;
}

.float-mid {
  animation: floaty 5s ease-in-out infinite 0.4s;
}

.float-fast {
  animation: floaty 4.4s ease-in-out infinite 0.8s;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 991.98px) {
  .nav-cta {
    margin-top: 0.6rem;
  }

  .hero-art {
    min-height: 0;
    margin-top: 1.5rem;
  }

  .stats,
  .day-grid,
  .activity-grid,
  .faq-layout,
  .about-panel,
  .course-detail {
    grid-template-columns: 1fr;
  }

  .faq-aside {
    position: static;
  }

  .about-panel img {
    max-width: 240px;
  }
}

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

  .hero-actions .btn-elp,
  .hero-actions .btn-elp-ghost {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .float-slow,
  .float-mid,
  .float-fast,
  .float-wa,
  .program-card,
  .activity-card,
  .btn-elp,
  .btn-elp-ghost,
  .stat-bar span,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy > p,
  .hero-actions,
  .hero-art {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
