:root {
  --cream: #fff6e9;
  --paper: #fffdf9;
  --ink: #1e2a38;
  --ink-soft: #090909;
  --wood: #c4884e;
  --wood-dark: #8a5a2c;
  --chalk: #20402f;
  --bead-red: #e8563f;
  --bead-yellow: #f2b33d;
  --bead-blue: #3b7fb5;
  --bead-green: #4e9b6e;
  --line: rgba(30, 42, 56, 0.12);
  --shadow: 0 10px 30px rgba(30, 42, 56, 0.1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Solitreo", cursive;
  color: var(--ink);
  line-height: 1.15;
}
.mono {
  font-family: "Solitreo", cursive;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Solitreo", cursive;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--bead-red);
}
.eyebrow::before {
  content: "::";
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2";
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary {
  background: var(--bead-red);
  color: #fff;
  box-shadow: 0 8px 0 #b6402c;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #b6402c;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 70px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3rem);
  margin: 14px 0 18px;
  font-weight: 600;
}
.hero h1 .hl-red {
  color: var(--bead-red);
}
.hero h1 .hl-blue {
  color: var(--bead-blue);
}
.hero p.lead {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 26px;
  font-weight: 600;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 12px 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--ink);
  animation: none;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-actions a {
  font-family: "Poppins", sans-serif;
}
.hero-note {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 14px;
  font-weight: 500;
}

/* abacus visual */
.abacus {
  position: relative;
  background: var(--wood);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 6px solid var(--wood-dark);
}
.abacus-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  position: relative;
}
.abacus-row:last-child {
  border-bottom: none;
}
.rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
.bead {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.15), 1px 2px 4px rgba(0, 0, 0, 0.25);
  animation: slide 3.5s ease-in-out infinite;
}
@keyframes slide {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(14px);
  }
}
.bead.red {
  background: var(--bead-red);
}
.bead.yellow {
  background: var(--bead-yellow);
}
.bead.blue {
  background: var(--bead-blue);
}
.bead.green {
  background: var(--bead-green);
}

/* ---------- SECTION HEADERS ---------- */
.section {
  padding: 90px 0;
}
.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 10px 0 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- ABOUT / FACTS ---------- */
.about {
  background: var(--chalk);
  color: #ede6d6;
}
.about .eyebrow {
  color: var(--bead-yellow);
}
.about h2 {
  color: #fff;
}
.about-text {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
  color: #cfd8ce;
  font-size: 1.06rem;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) {
  .facts {
    grid-template-columns: 1fr;
  }
}
.fact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 30px 26px;
  text-align: center;
}
.fact-card .num {
  font-family: "Solitreo", cursive;
  font-weight: 700;
  font-size: 2rem;
  color: var(--bead-yellow);
  display: block;
  margin-bottom: 6px;
}
.fact-card h4 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.fact-card p {
  color: #c7d0c6;
  font-size: 0.9rem;
}

/* ---------- LEARNING PATH ---------- */
.path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) {
  .path {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.path::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--wood) 0 10px, transparent 10px 18px);
}
@media (max-width: 900px) {
  .path::before {
    display: none;
  }
}
.path-step {
  position: relative;
  padding: 0 16px;
  text-align: center;
}
.path-step .idx {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--wood);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: "Solitreo", cursive;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--wood-dark);
  position: relative;
  z-index: 1;
}
.path-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.path-step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- BENEFITS ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
.benefit {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.benefit .ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--bead-blue);
}
.benefit h4 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.benefit p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- STATS ---------- */
.stats {
  background: var(--wood-dark);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat .num {
  font-family: "Solitreo", cursive;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--bead-yellow);
}
.stat p {
  color: #ead9be;
  font-size: 0.88rem;
  margin-top: 6px;
}

/* ---------- GALLERY ---------- */
.gallery {
  background: var(--paper);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.pin-card {
  background: #fff;
  padding: 12px 12px 20px;
  box-shadow: var(--shadow);
  position: relative;
  border-radius: 6px;
}
.pin-card::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bead-red);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.pin-card:nth-child(3n + 2)::before {
  background: var(--bead-blue);
}
.pin-card:nth-child(3n + 3)::before {
  background: var(--bead-green);
}
.pin-card .art {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 3px;
  overflow: hidden;
}
.pin-card figcaption {
  font-family: "Baloo 2";
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding-top: 12px;
  color: var(--ink-soft);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
.note {
  background: #fff;
  padding: 26px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--bead-blue);
}
.note:nth-child(2) {
  border-left-color: var(--bead-red);
}
.note:nth-child(3) {
  border-left-color: var(--bead-green);
}
.note p {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.note .who {
  font-family: "Solitreo", cursive;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- ENROLL / LEAD FORM ---------- */
.enroll {
  background: linear-gradient(180deg, var(--paper) 0%, #f3e6ce 100%);
}
.enroll-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 900px) {
  .enroll-grid {
    grid-template-columns: 1fr;
  }
}
.enroll-info h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 14px;
}
.enroll-info p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.enroll-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.enroll-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 0.98rem;
}
.enroll-list li svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--bead-red);
  margin-top: 2px;
}
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  border-radius: 14px;
  margin-bottom: 10px;
}
.price-tag .amt {
  font-family: "Solitreo", cursive;
  font-weight: 700;
  font-size: 2rem;
  color: var(--bead-yellow);
}
.price-tag .per {
  font-size: 0.83rem;
  color: #d8dee6;
}

.form-card {
  background: #fff;
  border-radius: 22px;
  padding: 38px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}
.form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.form-card .sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.8px solid var(--line);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--cream);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus {
  border-color: var(--bead-blue);
}
.field.invalid input,
.field.invalid select {
  border-color: var(--bead-red);
}
.field .err {
  display: none;
  color: var(--bead-red);
  font-size: 0.78rem;
  margin-top: 5px;
  font-weight: 700;
}
.field.invalid .err {
  display: block;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 6px 0 22px;
}
.consent input {
  margin-top: 3px;
}
.submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px;
  font-family: "Poppins", sans-serif;
}
.form-success {
  display: none;
  text-align: center;
  padding: 20px 6px;
}
.form-success.show {
  display: block;
}
.form-success .check {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--bead-green);
}
.form-success h3 {
  margin-bottom: 8px;
}
.form-success p {
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.ref {
  font-family: "Solitreo", cursive;
  font-weight: 700;
  color: var(--bead-red);
}
#enrollForm.hide {
  display: none;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: #b9c2cc;
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2";
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer-logo svg {
  width: 34px;
  height: 34px;
}
footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: #fff;
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.socials a:hover {
  background: var(--bead-red);
}
.socials svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #7c8895;
}

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.65);
  }
}

::selection {
  background: var(--bead-red);
  color: #fff;
}
