:root {
  --red: #d62828; --red-d: #a81c1c; --yellow: #ffc933; --blue: #3a86ff; --green: #2fbf71; --pink: #ff7eb6;
  --cream: #fff8e7; --ink: #3b2f2f; --mute: #7a6a6a; --line: #f1dcc0;
  --p: var(--red); --s: var(--blue);
  --r: 28px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; }
h1, h2, h3, .logo, .btn, summary, .no, th { font-family: "Baloo 2", "Nunito", system-ui, sans-serif; }
a { color: var(--blue); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* navbar */
header.nav { background: #fff; border-bottom: 4px dashed var(--yellow); position: sticky; top: 0; z-index: 5; }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-weight: 800; color: var(--red); text-decoration: none; font-size: 1.3rem; white-space: nowrap; }
.nav a.l { margin-left: 18px; text-decoration: none; color: var(--ink); font-weight: 700; }
.nav a.l:hover { color: var(--red); }

/* tombol: tebal, bulat, ada "bayangan keras" ala mainan */
.btn { display: inline-block; background: var(--red); color: #fff; border: 0; padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1.05rem; box-shadow: 0 5px 0 var(--red-d); transition: transform .1s, box-shadow .1s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--red-d); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--red-d); }
.btn.alt { background: #fff; color: var(--red); border: 3px solid var(--red); box-shadow: 0 5px 0 #f3b4b4; padding: 9px 23px; }
.btn.wa { background: #25d366; box-shadow: 0 5px 0 #179a4a; }
.btn.sm { padding: 6px 16px; font-size: .9rem; box-shadow: 0 3px 0 var(--red-d); }
.btn.wa.sm { box-shadow: 0 3px 0 #179a4a; }

/* hero */
.hero { background: var(--yellow); padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero h1 { font-size: 2.8rem; margin: 0 0 12px; line-height: 1.15; color: var(--ink); max-width: 640px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { max-width: 540px; font-size: 1.2rem; color: #5a4300; }
.hero .wrap { position: relative; z-index: 1; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; }
.hero::before { width: 260px; height: 260px; background: #ffdb6e; right: -60px; top: -60px; }
.hero::after { width: 140px; height: 140px; background: var(--pink); right: 140px; bottom: 30px; opacity: .55; }
.float { position: absolute; font-size: 3rem; z-index: 1; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(6deg); } }
.wave { display: block; width: 100%; height: 50px; margin-top: -49px; position: relative; z-index: 2; }

section { padding: 56px 0; }
h2 { font-size: 2.1rem; margin: 0 0 6px; color: var(--red); line-height: 1.2; }
.sub { color: var(--mute); margin: 0 0 28px; }
.center { text-align: center; }

/* kartu */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .15s; }
.card:hover { transform: translateY(-4px) rotate(-.6deg); }
.card .ic { font-size: 2.2rem; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #ffe9a8; }
.card h3 { margin: 12px 0 4px; font-size: 1.3rem; }
.card p { margin: 0 0 12px; color: var(--mute); }
.grid > .card:nth-child(4n+1) { border-color: #ffc4c4; } .grid > .card:nth-child(4n+1) .ic { background: #ffd6d6; }
.grid > .card:nth-child(4n+2) { border-color: #bcd6ff; } .grid > .card:nth-child(4n+2) .ic { background: #d4e4ff; }
.grid > .card:nth-child(4n+3) { border-color: #b8ecd0; } .grid > .card:nth-child(4n+3) .ic { background: #d0f4e1; }
.grid > .card:nth-child(4n+4) { border-color: #ffe39a; }
.stats .card .ic { display: none; }

/* faq */
details { background: #fff; border: 3px solid var(--line); border-radius: 22px; padding: 14px 22px; margin-bottom: 12px; }
details[open] { border-color: var(--blue); }
summary { font-weight: 700; cursor: pointer; font-size: 1.1rem; }
.alt-bg { background: #fff; border-radius: 48px 48px 0 0; }

footer { background: var(--red); color: #ffe9e9; padding: 32px 0; text-align: center; font-size: .95rem; border-top: 8px solid var(--yellow); }
footer a { color: #fff; }
.note { background: var(--blue); color: #fff; font-size: .85rem; padding: 6px; text-align: center; font-weight: 700; }

/* form & kotak */
form.box, .box { background: #fff; border: 4px solid var(--yellow); border-radius: 36px; padding: 30px; max-width: 640px; margin: 34px auto; box-shadow: 0 10px 0 #ffe39a; }
label { display: block; font-weight: 800; font-size: .95rem; margin: 16px 0 5px; }
input, select, textarea { width: 100%; padding: 12px 16px; border: 3px solid var(--line); border-radius: 18px; font: inherit; background: #fffdf7; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }

/* status */
.badge { display: inline-block; padding: 2px 14px; border-radius: 999px; font-size: .85rem; font-weight: 800; background: #e5e7eb; }
.badge.Baru { background: #d4e4ff; color: #1c4fb5; } .badge.Dihubungi { background: #ffe9a8; color: #7a5200; }
.badge.Jadwal\ Trial { background: #ecdcff; color: #5b21b6; } .badge.Terdaftar { background: #c9f2dc; color: #0b6b3a; }
.badge.Batal { background: #ffd6d6; color: #991b1b; }
.ok { background: #c9f2dc; color: #0b6b3a; padding: 16px; border-radius: 20px; margin-bottom: 14px; font-size: 1.1rem; }
.no { font-size: 2.2rem; font-weight: 800; color: var(--red); letter-spacing: 2px; background: #fff3c4; display: inline-block; padding: 0 18px; border-radius: 18px; border: 3px dashed var(--yellow); }

/* admin */
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
th, td { padding: 11px; border-bottom: 2px solid #f7ead4; text-align: left; vertical-align: top; }
th { background: #ffe9a8; }
.tw { overflow-x: auto; border: 3px solid var(--line); border-radius: 24px; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.stats .card { padding: 12px 20px; border-radius: 22px; } .stats b { font-size: 1.6rem; display: block; font-family: "Baloo 2"; }
.bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.bar select { width: auto; }

@media (max-width: 560px) {
  header.nav a.l { display: none; } header.nav .btn { margin-left: 0 !important; }
  .row { grid-template-columns: 1fr; } .hero h1 { font-size: 2rem; } .float { font-size: 2rem; }
}

/* ikon & konten tambahan */
.fa-solid, .fa-brands { line-height: 1; }
.float { font-style: normal; }
.card .ic i { color: var(--red); }
.grid > .card:nth-child(4n+2) .ic i { color: var(--blue); } .grid > .card:nth-child(4n+3) .ic i { color: var(--green); } .grid > .card:nth-child(4n+4) .ic i { color: #d99a00; }
.center .ic { margin: 0 auto; }
.tag { display: inline-block; background: #fff3c4; color: #7a5200; border-radius: 999px; padding: 2px 12px; font-size: .85rem; font-weight: 800; }
.stars { color: var(--yellow); margin-bottom: 8px; letter-spacing: 2px; }
.who { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.who small { color: var(--mute); }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: "Baloo 2"; font-weight: 800; font-size: 1.2rem; flex: none; }
.a0 { background: var(--red); } .a1 { background: var(--blue); } .a2 { background: var(--green); } .a3 { background: #e0a100; }
.ig { color: var(--red); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; font-size: .82rem; }
.ig:hover { text-decoration: underline; }
.ig-f { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--red); font-size: 1.3rem; margin: 4px; text-decoration: none; }
.btn i { margin-right: 4px; }

/* carousel testimoni */
.car { position: relative; }
.track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track .card { flex: 0 0 min(340px, 82%); scroll-snap-align: start; }
.nv { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--yellow); background: #fff; color: var(--red); font-size: 1.1rem; cursor: pointer; z-index: 2; box-shadow: 0 4px 0 #ffe39a; }
.nv:hover { background: var(--yellow); }
#tprev { left: -14px; } #tnext { right: -14px; }
@media (max-width: 560px) { .nv { display: none; } }
