/* =========================================================
   Kursus Es Krim — style.css
   Ubah warna & font cukup di bagian :root di bawah ini.
   ========================================================= */

:root {
  /* warna */
  --cream: #fbf6ee;
  --cream-2: #f4ebdd;
  --white: #ffffff;
  --ink: #2a1d2e;          /* teks utama */
  --muted: #6e6272;        /* teks sekunder */
  --plum: #2d1640;         /* warna brand (dari logo) */
  --plum-2: #4b2a6b;
  --orange: #f26b1d;       /* tombol / aksen */
  --orange-2: #ff8a3d;
  --pink: #f6d6d8;
  --line: rgba(42, 29, 46, .1);

  /* font */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* lain-lain */
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px rgba(45, 22, 64, .06);
  --shadow: 0 18px 50px -18px rgba(45, 22, 64, .25);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- typography helpers ---------- */
.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  letter-spacing: -.01em;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}
.title em, .hero__title em, .banner h2 em, .guarantee h2 em {
  font-style: italic;
  color: var(--orange);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--plum-2);
  background: rgba(75, 42, 107, .08);
  padding: .45rem .9rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: #f3d9ff; background: rgba(255,255,255,.1); }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .25s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(242, 107, 29, .6);
}
.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(242, 107, 29, .7); }
.btn--ghost { background: var(--white); color: var(--plum); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--plum-2); }
.btn--light { background: #fff; color: var(--plum); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(251, 246, 238, .75);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(45,22,64,.3); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.brand__text { font-family: var(--font-display); font-size: 1.25rem; color: var(--plum); }
.brand__text strong { font-weight: 700; color: var(--orange); }
.brand--light .brand__text { color: #fff; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: .3rem 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; }
.section--tint { background: var(--cream-2); }
.section--dark { background: radial-gradient(120% 80% at 80% 0%, #4b2a6b 0%, var(--plum) 55%, #1d0d2b 100%); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section__head--light p { color: rgba(255,255,255,.75); }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(4rem, 3rem + 4vw, 6.5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(246, 214, 216, .9), transparent 65%); z-index: -1;
}
.hero::after {
  content: ""; position: absolute; width: 480px; height: 480px; left: -200px; bottom: -200px;
  background: radial-gradient(circle, rgba(196, 167, 231, .35), transparent 65%); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.4rem);
  letter-spacing: -.02em; line-height: 1.05; margin-bottom: 1.4rem;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.zero { position: relative; display: inline-block; color: var(--plum-2); }
.zero::after {
  content: ""; position: absolute; left: -6%; right: -6%; bottom: .02em; height: .14em;
  background: var(--orange); border-radius: 99px; transform-origin: left;
  animation: underline 2.4s ease-in-out infinite;
}
@keyframes underline { 0%, 100% { transform: scaleX(.2); } 50% { transform: scaleX(1); } }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.hero__stats { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--plum); line-height: 1.1; }
.hero__stats span { font-size: .85rem; color: var(--muted); }

.hero__visual { position: relative; }
.hero__frame {
  border-radius: 280px 280px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  border: 10px solid #fff;
  aspect-ratio: 4 / 4.3;
  max-width: 500px; margin-left: auto;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: .8rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; color: var(--plum); }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card__icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--cream); border-radius: 12px; font-size: 1.2rem; }
.float-card--a { left: 0; top: 18%; }
.float-card--b { right: -10px; bottom: 10%; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- split (peluang) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.split__badge {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--plum); color: #fff; padding: 1rem 1.3rem; border-radius: 18px; box-shadow: var(--shadow);
}
.split__badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.split__badge span { font-size: .85rem; opacity: .8; }
.checks { margin: 1.2rem 0 2rem; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, #fde4d3, var(--pink)); color: var(--orange);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature:nth-child(even) .feature__icon { background: linear-gradient(135deg, #efe3fb, #e2d4f3); color: var(--plum-2); }
.feature h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- chef ---------- */
.chef__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.chef__visual { position: relative; max-width: 500px; margin-inline: auto; }
.chef__blob {
  position: absolute; inset: 12% 4% 2% 4%;
  background: linear-gradient(160deg, var(--plum-2), var(--plum));
  border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  animation: morph 12s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; }
  50% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; }
}
.chef__visual img { position: relative; width: 100%; }
.chef__tag {
  position: absolute; right: 0; bottom: 8%;
  background: #fff; border-radius: 16px; padding: .85rem 1.15rem; box-shadow: var(--shadow);
}
.chef__tag strong { display: block; color: var(--plum); }
.chef__tag span { font-size: .82rem; color: var(--muted); }
.chef__points { display: grid; gap: .8rem; margin-top: 1.6rem; }
.chef__points li {
  display: flex; align-items: center; gap: .9rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-weight: 600; font-size: .95rem;
}
.chef__points .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--cream-2); color: var(--orange); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.gallery__item {
  padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); position: relative;
}
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4), .gallery__item:nth-child(5) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item::after {
  content: "⤢"; position: absolute; inset: auto 12px 12px auto; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--plum); font-size: 1.1rem;
  opacity: 0; transform: scale(.8); transition: .3s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; transform: scale(1); }

/* ---------- banner ---------- */
.banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 1.5rem + 3vw, 3.6rem) clamp(1.6rem, 1rem + 4vw, 4rem);
  border-radius: 32px; color: #fff;
  background: linear-gradient(120deg, var(--orange) 0%, #e2481e 45%, var(--plum-2) 100%);
  box-shadow: var(--shadow);
}
.banner__text { position: relative; z-index: 1; max-width: 640px; }
.banner h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); margin-bottom: .8rem; }
.banner h2 em { color: #ffe3c4; }
.banner p { margin: 0; opacity: .9; }
.banner .btn { position: relative; z-index: 1; }
.banner__deco { position: absolute; font-size: 9rem; opacity: .12; pointer-events: none; }
.banner__deco--1 { right: 22%; top: -40px; transform: rotate(-18deg); }
.banner__deco--2 { right: -10px; bottom: -50px; transform: rotate(14deg); }

/* ---------- courses ---------- */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.course {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.course:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.course--best { border: 2px solid var(--orange); }
.course__ribbon {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  background: var(--plum); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px;
}
.course__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course:hover .course__media img { transform: scale(1.05); }
.course__off {
  position: absolute; right: 14px; bottom: 14px;
  background: var(--orange); color: #fff; font-weight: 800; font-size: .85rem; padding: .35rem .7rem; border-radius: 10px;
}
.course__body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.course__meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: .55rem; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; }
.course h3 { font-size: 1.08rem; margin-bottom: .9rem; line-height: 1.3; }
.course__list { display: grid; gap: .45rem; margin-bottom: 1.3rem; font-size: .88rem; color: var(--muted); }
.course__list li { position: relative; padding-left: 1.4rem; }
.course__list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.course__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.course__foot .btn { padding: .7rem 1.1rem; font-size: .88rem; }
.price strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--plum); line-height: 1; }
.price del { display: block; font-size: .8rem; color: var(--muted); }
.price--light strong { color: #fff; font-size: 2rem; }
.price--light del { color: rgba(255,255,255,.55); display: inline; margin-left: .6rem; font-size: .95rem; }

/* ---------- special ---------- */
.special { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.special__card {
  display: grid; grid-template-columns: 230px 1fr; align-items: center; padding: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform .35s ease, background .35s;
}
.special__card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.special__card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 14px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.special__body { padding: 1rem 1rem 1rem 1.6rem; align-self: stretch; display: flex; flex-direction: column; gap: .8rem; }
.special__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.special__body p { color: rgba(255,255,255,.75); font-size: .93rem; margin: 0; }
.special__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto; }
.pill { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; background: rgba(242,107,29,.2); color: #ffc29c; }

/* ---------- testimoni ---------- */
.testis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.testi {
  margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi::before {
  content: "“"; position: absolute; right: 1.2rem; top: .2rem;
  font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--pink);
}
.testi blockquote { margin: 0; font-size: .98rem; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.testi figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pink); }
.testi figcaption span { font-size: .85rem; color: var(--muted); }
.testi figcaption strong { display: block; color: var(--ink); font-size: .95rem; }

/* ---------- garansi ---------- */
.guarantee {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--white); border-radius: 32px; padding: clamp(1.8rem, 1rem + 3vw, 3.2rem);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.guarantee img { width: 100%; filter: drop-shadow(0 14px 22px rgba(0,0,0,.18)); animation: bob 6s ease-in-out infinite; }
.guarantee h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: 1rem; }
.guarantee p { color: var(--muted); }
.guarantee__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.4rem; }
.urgent { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 700; color: #c2410c; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__head .btn { margin-top: .6rem; }
.faq__list { display: grid; gap: .8rem; }
.faq__list details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: box-shadow .3s, border-color .3s;
}
.faq__list details[open] { box-shadow: var(--shadow-sm); border-color: rgba(242,107,29,.35); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 1.15rem 3.4rem 1.15rem 1.4rem; font-weight: 700; position: relative;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-2); color: var(--plum); font-size: 1.2rem; font-weight: 500; transition: transform .3s, background .3s, color .3s;
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--orange); color: #fff; }
.faq__list details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- payments ---------- */
.payments { padding: 3.5rem 0; background: var(--white); border-top: 1px solid var(--line); }
.payments__title { text-align: center; color: var(--muted); margin-bottom: 2rem; }
.payments__title strong { color: var(--ink); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: marquee 28s linear infinite; align-items: center; }
.marquee__track img { height: 34px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee:hover .marquee__track img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 2rem)); } }

/* ---------- footer ---------- */
.footer { background: #1d0d2b; color: rgba(255,255,255,.7); padding: 4.5rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand p { max-width: 340px; margin: 1.1rem 0 1.4rem; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .65rem; font-size: .93rem; }
.footer__links a:hover { color: var(--orange-2); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .3s, transform .3s; }
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- floating WA ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- toast (notifikasi pembelian) ---------- */
.toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; padding: .75rem 1.1rem .75rem .75rem; border-radius: 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 320px;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .45s, transform .45s;
}
.toast.show { opacity: 1; transform: none; }
.toast img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.toast strong { display: block; font-size: .88rem; }
.toast span { font-size: .8rem; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 8, 30, .9); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; border-radius: 16px; }
.lightbox button { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 20px; right: 20px; font-size: 1.1rem !important; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .testis { grid-template-columns: repeat(2, 1fr); }
  .special { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: .5rem 20px 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(45,22,64,.3);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; }

  .hero__grid, .split, .chef__grid, .faq { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__frame { margin-inline: auto; max-width: 420px; }
  .float-card--a { left: 2%; }
  .float-card--b { right: 2%; }
  .split__badge { left: 12px; }
  .chef__visual { max-width: 420px; }
  .faq__head { position: static; text-align: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery__item:first-child { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .brand__text { font-size: 1.1rem; }
  .hero__stats { gap: 1rem; }
  .hero__stats strong { font-size: 1.35rem; }
  .hero__stats span { font-size: .75rem; }
  .float-card { padding: .6rem .8rem; }
  .float-card__icon { width: 32px; height: 32px; font-size: 1rem; }
  .features, .courses { grid-template-columns: 1fr; }
  .features { gap: .8rem; }
  .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; padding: 1.2rem; }
  .feature__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .feature__icon svg { width: 24px; height: 24px; }
  .feature h3 { font-size: 1.02rem; margin-bottom: .25rem; }
  .feature p { font-size: .88rem; }
  .testis {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem;
    margin-inline: -20px; padding: .4rem 20px 1.2rem; scrollbar-width: none;
  }
  .testis::-webkit-scrollbar { display: none; }
  .testi { flex: 0 0 84%; scroll-snap-align: center; }
  .courses { max-width: 420px; margin-inline: auto; }
  .special__card { grid-template-columns: 1fr; }
  .special__card img { max-width: 300px; margin-inline: auto; }
  .special__body { padding: 1.4rem .6rem .6rem; text-align: center; align-items: center; }
  .special__actions { justify-content: center; }
  .pill { align-self: center; }
  .gallery { grid-auto-rows: 140px; gap: .6rem; }
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .guarantee img { max-width: 170px; margin-inline: auto; }
  .guarantee__cta { justify-content: center; }
  .guarantee__cta .btn { white-space: normal; }
  .banner { text-align: center; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .toast { left: 12px; right: 84px; bottom: 16px; max-width: none; }
  .wa-float { right: 14px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- katalog: tabs, bundle, resep ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: -1.4rem auto 2.4rem; }
.tab {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: .6rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
  transition: background .25s, color .25s, border-color .25s;
}
.tab:hover { border-color: var(--plum-2); }
.tab.is-active { background: var(--plum); color: #fff; border-color: var(--plum); }
.is-hidden { display: none !important; }

.course__tag { font-size: .78rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.course h3 { margin-bottom: 1rem; }
.price small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; margin-bottom: .1rem; }

.bundle {
  display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: clamp(1.4rem, 4vw, 3rem);
  background: linear-gradient(120deg, #fff 0%, #fde9dc 100%);
  border: 2px solid rgba(242,107,29,.35); border-radius: 28px; padding: clamp(1.2rem, 1rem + 2vw, 2.2rem);
  margin-bottom: 2rem; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s;
}
.bundle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bundle__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.bundle__imgs img { border-radius: 18px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.bundle__imgs img:last-child { transform: translateY(18px) rotate(2deg); }
.bundle__imgs img:first-child { transform: rotate(-2deg); }
.bundle__text h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin: .8rem 0 .6rem; }
.bundle__text p { color: var(--muted); margin-bottom: 1.3rem; }
.pill--orange { background: rgba(242,107,29,.14); color: #c2410c; display: inline-block; }

.recipes-wrap { margin-top: 3.5rem; }
.recipes-head { text-align: center; margin-bottom: 1.6rem; }
.recipes-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; margin-bottom: .3rem; }
.recipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.recipe {
  display: flex; align-items: center; gap: .8rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem;
  font-weight: 700; font-size: .93rem; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.recipe:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow-sm); }
.recipe__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--cream-2); border-radius: 12px; font-size: 1.3rem; }
.recipe__name { flex: 1; line-height: 1.3; }
.recipe__go { color: var(--orange); transition: transform .25s; }
.recipe:hover .recipe__go { transform: translateX(4px); }
.catalog-more { text-align: center; margin: 2.6rem 0 0; color: var(--muted); }
.catalog-more a { color: var(--orange); font-weight: 700; }

.special__list { display: grid; gap: .4rem; font-size: .9rem; color: rgba(255,255,255,.8); }
.special__list li { position: relative; padding-left: 1.4rem; }
.special__list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-2); font-weight: 800; }
.price-options { display: flex; gap: .7rem; flex-wrap: wrap; }
.price-options div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: .5rem .9rem; }
.price-options span { display: block; font-size: .75rem; color: rgba(255,255,255,.6); }
.price-options strong { font-family: var(--font-display); font-size: 1.25rem; }
.special__note { text-align: center; margin: 2.4rem 0 0; color: rgba(255,255,255,.75); }
.special__note a { color: var(--orange-2); font-weight: 700; }

@media (max-width: 900px) {
  .bundle { grid-template-columns: 1fr; text-align: center; }
  .bundle__imgs { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .courses { grid-template-columns: repeat(2, 1fr) !important; max-width: none !important; gap: .8rem; }
  .course__body { padding: .9rem; }
  .course h3 { font-size: .95rem; }
  .course__foot { flex-direction: column; align-items: stretch; gap: .6rem; }
  .course__foot .btn { padding: .6rem; font-size: .82rem; }
  .price strong { font-size: 1.35rem; }
  .course__ribbon { top: 8px; left: 8px; font-size: .65rem; }
  .tabs { margin-top: -1rem; }
  .special__list { text-align: left; }
  .price-options { justify-content: center; }
  .recipes { grid-template-columns: 1fr; }
}

/* katalog: 10 kelas = 5 kolom x 2 baris di desktop */
@media (min-width: 1081px) {
  .courses { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .course__body { padding: 1rem 1rem 1.1rem; }
  .course h3 { font-size: 1rem; }
  .course__foot { flex-direction: column; align-items: stretch; gap: .7rem; }
  .course__foot .btn { width: 100%; }
}
@media (min-width: 601px) and (max-width: 1080px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
}

/* galeri: pola 7 foto berulang + tombol lihat semua */
.gallery__item:first-child, .gallery__item:nth-child(4), .gallery__item:nth-child(5) { grid-column: auto; grid-row: auto; }
.gallery__item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(7n+4), .gallery__item:nth-child(7n+5) { grid-column: span 2; }
.gallery:not(.is-expanded) .gallery__item--more { display: none; }
.gallery__more { text-align: center; margin-top: 1.6rem; }
@media (max-width: 900px) {
  .gallery__item:nth-child(7n+1) { grid-row: span 1; }
}

/* foto profil chef */
.chef__photo {
  border-radius: 999px 999px var(--radius) var(--radius);
  border: 10px solid #fff; box-shadow: var(--shadow);
  aspect-ratio: 3 / 4; object-fit: cover; max-width: 400px; margin-inline: auto;
}
.chef__blob { inset: 8% -4% -4% 10%; }
