@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap");

/* =====================================================================
   Opportunity — "Warm & Playful" design system (2026)
   Rounded type, warm multi-tone palette, organic shapes, sticker motion.
   ===================================================================== */
:root {
  --red: #e61b38;
  --red-dark: #c30f28;
  --coral: #ff7a59;
  --peach: #ffd9c7;
  --sun: #ffc73a;
  --mint: #3ecfa4;
  --sky: #58b6ff;
  --cream: #fff6ee;
  --cream-2: #fdeee2;
  --ink: #3a2630;
  --text: #6b5860;
  --muted: #a2919a;
  --line: #f0e2d8;
  --plum: #341521;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow-soft: 0 14px 34px rgba(120, 60, 40, 0.12);
  --shadow-pop: 0 20px 44px rgba(230, 27, 56, 0.18);
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.62;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: "Fredoka", "Nunito", sans-serif; line-height: 1.05; font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* pills / tags */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Fredoka"; font-weight: 600; font-size: 14px;
  background: #fff; color: var(--red); border: 2px solid var(--peach);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}
.pill--sun { color: #b5730a; border-color: #ffe6a6; }
.pill--mint { color: #14876a; border-color: #bff0e0; }
.pill--coral { color: #d8471f; border-color: #ffcdbb; }

/* marker highlight */
.mark { position: relative; white-space: nowrap; color: var(--red); }
.mark::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 6%; height: 34%;
  background: var(--sun); border-radius: 8px; z-index: -1; transform: rotate(-1.5deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Fredoka"; font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 3px solid transparent;
  transition: transform 0.16s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s ease, background 0.18s ease;
}
.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-pop); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-3px) rotate(-1deg) scale(1.03); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-soft); }
.btn--ghost:hover { border-color: var(--coral); color: var(--red); transform: translateY(-3px) rotate(1deg); }
.btn--white { background: #fff; color: var(--red); box-shadow: 0 16px 30px rgba(0,0,0,.18); }
.btn--white:hover { transform: translateY(-3px) scale(1.04); }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,246,238,0.82); backdrop-filter: blur(12px); transition: box-shadow .25s ease; }
.nav--scrolled { box-shadow: 0 8px 26px rgba(120,60,40,0.10); }
.nav__inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-family: "Fredoka"; font-weight: 500; font-size: 16px; color: var(--ink); transition: color .16s ease, transform .16s ease; }
.nav__links a:hover { color: var(--red); transform: translateY(-1px); }
.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__burger span { width: 25px; height: 3px; background: var(--ink); border-radius: 3px; }

/* ---------- Blobs & stickers ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(6px); z-index: 0; opacity: .55; }
.blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--peach), transparent 70%); top: -120px; right: -80px; }
.blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, #ffe7b0, transparent 70%); bottom: -140px; left: -120px; }
.sticker { position: absolute; font-size: 40px; z-index: 2; animation: float 5s ease-in-out infinite; }
.sticker--a { top: 120px; left: 6%; animation-delay: .1s; }
.sticker--b { top: 340px; left: 2%; font-size: 34px; animation-delay: .8s; }
.sticker--c { top: 90px; right: 46%; font-size: 30px; animation-delay: 1.4s; }
.sticker--d { bottom: 70px; right: 8%; font-size: 34px; animation-delay: .5s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(6deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; padding: 56px 24px 40px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin-bottom: 20px; letter-spacing: -0.5px; }
.hero .lead { font-size: 19px; color: var(--text); max-width: 30em; margin-bottom: 28px; font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__trust { list-style: none; display: flex; gap: 30px; flex-wrap: wrap; }
.hero__trust b { font-family: "Fredoka"; font-size: 26px; color: var(--red); display: block; }
.hero__trust span { font-size: 13.5px; color: var(--muted); font-weight: 700; }

.hero__media { position: relative; display: flex; justify-content: center; }
.hero__photo {
  position: relative; z-index: 1; width: 100%; max-width: 420px; aspect-ratio: 1/1;
  background: linear-gradient(160deg, var(--coral), var(--red)); overflow: hidden;
  border-radius: 62% 38% 54% 46% / 55% 48% 52% 45%;
  box-shadow: var(--shadow-pop); animation: morph 12s ease-in-out infinite;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@keyframes morph { 0%,100% { border-radius: 62% 38% 54% 46% / 55% 48% 52% 45%; } 50% { border-radius: 44% 56% 42% 58% / 46% 54% 46% 54%; } }
.hero__badge, .hero__badge2 { position: absolute; z-index: 3; background: #fff; box-shadow: var(--shadow-soft); font-family: "Fredoka"; font-weight: 600; }
.hero__badge { bottom: 18px; left: -6px; border-radius: 18px; padding: 12px 16px; display: flex; flex-direction: column; }
.hero__badge b { font-size: 22px; color: var(--red); }
.hero__badge span { font-size: 12px; color: var(--muted); }
.hero__badge2 { top: 20px; right: -4px; border-radius: 999px; padding: 10px 18px; color: var(--mint); font-size: 15px; background: #fff; }
.tilt-l { transform: rotate(-6deg); } .tilt-r { transform: rotate(5deg); }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; max-width: 100%; padding: 14px 0; transform: rotate(-1.2deg); margin: 24px 0 46px; }
.marquee__track { display: flex; width: max-content; animation: scroll 26s linear infinite; }
.marquee__track span { font-family: "Fredoka"; font-weight: 600; font-size: 20px; white-space: nowrap; padding-right: 8px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 20px; }
.stat { border-radius: var(--radius-sm); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-soft); }
.stat:nth-child(odd) { transform: rotate(-1.4deg); } .stat:nth-child(even) { transform: rotate(1.4deg); }
.stat b { font-family: "Fredoka"; font-size: 40px; display: block; color: var(--ink); }
.stat span { font-size: 14px; font-weight: 700; color: var(--text); }
.stat--peach { background: var(--peach); } .stat--sun { background: #ffe6a6; }
.stat--mint { background: #c4f2e6; } .stat--sky { background: #cfe8ff; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--cream { background: var(--cream-2); border-radius: 48px; margin: 0 12px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.section-head p { color: var(--text); font-size: 17px; font-weight: 600; }

/* ---------- Course grid ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-soft);
  border: 3px solid #fff; transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease, border-color .2s ease;
}
.course:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-pop); }
.course--red:hover { border-color: var(--red); }
.course--sun:hover { border-color: var(--sun); }
.course--mint:hover { border-color: var(--mint); }
.course--sky:hover { border-color: var(--sky); }
.course--coral:hover { border-color: var(--coral); }
.course__emoji { position: absolute; top: 14px; left: 14px; z-index: 2; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-soft); transform: rotate(-8deg); }
.course__img { height: 170px; background-size: cover; background-position: center; transition: transform .4s ease; }
.course:hover .course__img { transform: scale(1.06); }
.course__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { font-size: 22px; margin-bottom: 8px; }
.course__body p { color: var(--text); font-size: 15px; font-weight: 600; margin-bottom: 16px; flex: 1; }
.course__link { font-family: "Fredoka"; font-weight: 600; color: var(--red); font-size: 16px; }
.course:hover .course__link { padding-left: 4px; }
.course--cta { background: linear-gradient(155deg, var(--red), var(--red-dark)); border-color: var(--red); text-align: center; }
.course--cta .course__body { justify-content: center; align-items: center; }
.course__emoji--big { position: static; width: auto; height: auto; background: none; box-shadow: none; font-size: 54px; transform: none; margin-bottom: 8px; }
.course--cta h3, .course--cta p, .course--cta .course__link { color: #fff; }
.course--cta p { opacity: .92; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-soft); transition: transform .2s ease; }
.feature:hover { transform: translateY(-6px); }
.feature__ico { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; font-size: 30px; border-radius: 20px; margin-bottom: 18px; transform: rotate(-6deg); }
.ico--red { background: var(--peach); } .ico--sun { background: #ffe6a6; } .ico--mint { background: #c4f2e6; } .ico--sky { background: #cfe8ff; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text); font-size: 15px; font-weight: 600; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__photo { max-width: 420px; margin: 0 auto; aspect-ratio: 4/5; overflow: hidden; border-radius: 54% 46% 58% 42% / 48% 52% 48% 52%; box-shadow: var(--shadow-soft); background: var(--peach); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.sticker--about { position: absolute; top: -14px; right: 8%; font-size: 46px; animation: float 6s ease-in-out infinite; }
.about__text h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 8px 0 18px; }
.about__text p { color: var(--text); font-size: 17px; font-weight: 600; margin-bottom: 26px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--coral), var(--red)); color: #fff; margin: 76px 12px 0; border-radius: 40px; overflow: hidden; }
.cta-band__inner { text-align: center; padding: 66px 24px; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 10px; }
.cta-band p { opacity: .95; font-size: 18px; font-weight: 600; margin-bottom: 26px; }
.sticker--cta1 { position: absolute; top: 30px; left: 8%; font-size: 46px; animation: float 5s ease-in-out infinite; }
.sticker--cta2 { position: absolute; bottom: 26px; right: 9%; font-size: 40px; animation: float 6s ease-in-out infinite .6s; }

/* ---------- Footer ---------- */
.foot { background: var(--plum); color: #e7d3d9; margin-top: 76px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 60px 24px 40px; }
.foot__brand img { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.foot__brand p { font-size: 15px; max-width: 34ch; margin-bottom: 20px; font-weight: 600; }
.foot__soc { display: flex; gap: 12px; }
.foot__soc a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: transform .18s ease, background .18s ease; }
.foot__soc a:hover { background: var(--red); transform: translateY(-3px) rotate(-6deg); }
.foot__soc img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.foot__col h4 { font-family: "Fredoka"; color: #fff; font-size: 17px; margin-bottom: 16px; }
.foot__col p { font-size: 15px; margin-bottom: 12px; line-height: 1.5; font-weight: 600; }
.foot__col a:hover { color: #fff; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 14px; color: #b79aa4; font-weight: 600; }

/* ---------- Scroll reveal — content is ALWAYS visible; .in only adds a gentle entrance ---------- */
.reveal.in { animation: revealUp .6s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } }

a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 3px solid rgba(230,27,56,0.5); outline-offset: 3px; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 26px; text-align: center; padding: 40px 24px 20px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__media { order: -1; }
  .sticker--c { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about__text { text-align: center; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: 8px 24px 18px; box-shadow: var(--shadow-soft); transform: translateY(-130%); transition: transform .3s ease; margin-left: 0; }
  .nav--open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .course-grid, .feature-grid, .stats { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .sticker { font-size: 30px !important; }
}


/* ---------- About page: classroom gallery + branch cards ---------- */
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.gallery img{ width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow-soft); border:4px solid #fff; transition:transform .25s ease; }
.gallery img:hover{ transform:translateY(-6px) rotate(-1deg); }
.branches{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.branch{ background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-soft); border:3px solid #fff; transition:transform .22s ease, box-shadow .22s ease; }
.branch:hover{ transform:translateY(-6px); box-shadow:var(--shadow-pop); }
.branch img{ width:100%; aspect-ratio:16/10; object-fit:cover; }
.branch__body{ padding:18px 22px 22px; }
.branch__role{ display:inline-block; font-family:"Fredoka"; font-weight:600; font-size:12px; color:var(--red); background:var(--peach); padding:4px 12px; border-radius:999px; margin-bottom:10px; }
.branch h3{ font-size:19px; margin-bottom:4px; }
.branch p{ color:var(--text); font-size:14.5px; font-weight:600; }
@media (max-width:900px){ .gallery{ grid-template-columns:1fr; } .branches{ grid-template-columns:1fr; } }


/* ---------- Legal / prose page ---------- */
.prose{ max-width:840px; margin:0 auto; }
.prose h3{ font-family:"Fredoka"; font-weight:700; font-size:22px; color:var(--ink); margin:36px 0 12px; }
.prose p{ color:var(--text); font-weight:600; margin-bottom:14px; line-height:1.72; }
.prose a{ color:var(--red); font-weight:700; }
.prose .company{ display:flex; flex-wrap:wrap; gap:8px 40px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 24px; box-shadow:var(--shadow-soft); margin-bottom:24px; }
.prose .company div span{ display:block; font-size:13px; color:var(--muted); font-weight:700; }
.prose .company div b{ font-family:"Fredoka"; font-size:17px; color:var(--ink); }


/* ---------- About: hero poster + video ---------- */
.hero__poster{ width:100%; max-width:400px; border-radius:26px; box-shadow:var(--shadow-pop); }
.videoWrap{ max-width:900px; margin:0 auto; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-pop); background:#000; }
.videoWrap video{ width:100%; display:block; aspect-ratio:16/9; }

.about__resultcard{ width:100%; max-width:420px; margin:0 auto; border-radius:24px; box-shadow:var(--shadow-pop); display:block; }
