:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --wood: #c8925a;
  --wood-soft: #f1dfc6;
  --ink: #3b2a1e;
  --ink-soft: #6b5442;
  --navy: #23345e;
  --pink: #d23a78;
  --pink-soft: #fbd3e3;
  --teal: #1f8590;
  --teal-soft: #cdeef0;
  --orange: #e8692f;
  --orange-soft: #fde0cf;
  --yellow: #f6c23e;
  --yellow-soft: #fdf0c4;
  --green: #5f9a22;
  --green-soft: #e1f2cc;
  --purple: #7e4bbb;
  --purple-soft: #e7dcf6;
  --wa: #128c4a;
  --radius: 22px;
  --shadow: 0 10px 30px -12px rgba(90, 58, 34, 0.35);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; line-height: 1.1; margin: 0; color: var(--navy); }
h2 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; text-align: center; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.hand { font-family: "Caveat", cursive; font-weight: 700; }
section { padding: 72px 0; position: relative; }
.kicker {
  font-family: "Caveat", cursive; font-weight: 700; font-size: 1.6rem;
  color: var(--pink); text-align: center; margin-bottom: 4px;
}
.sub { text-align: center; color: var(--ink-soft); max-width: 36rem; margin: 12px auto 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

/* Rainbow letters, like the logo */
.rainbow span:nth-child(5n + 1) { color: var(--pink); }
.rainbow span:nth-child(5n + 2) { color: var(--teal); }
.rainbow span:nth-child(5n + 3) { color: var(--orange); }
.rainbow span:nth-child(5n + 4) { color: var(--green); }
.rainbow span:nth-child(5n + 5) { color: var(--purple); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 0;
  font: 700 1.05rem "Nunito", sans-serif; text-decoration: none; cursor: pointer;
  color: #fff; background: var(--pink);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease-pop), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); }
.btn-ig { background: var(--paper); color: var(--ink); box-shadow: 0 5px 0 var(--wood-soft), inset 0 0 0 2px var(--wood-soft); }
.btn-ig:hover { box-shadow: 0 8px 0 var(--wood-soft), inset 0 0 0 2px var(--wood-soft); }

/* Header */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 236, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 146, 90, 0.2);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 2px 8px rgba(90, 58, 34, 0.25); }
.brand b { font: 700 1.3rem "Fredoka", sans-serif; line-height: 1; }
.bar .btn { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }

/* Hero */
.hero { padding: 40px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.hero-text { text-align: center; position: relative; z-index: 1; }
.tagline {
  display: inline-flex; gap: 8px; align-items: center;
  font: 700 1.05rem "Nunito", sans-serif; letter-spacing: 0.04em;
  background: var(--paper); padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.tagline i { width: 6px; height: 6px; border-radius: 50%; background: var(--wood); }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.3rem); font-weight: 700; margin: 18px 0 14px; }
.hero h1 .stroke { position: relative; white-space: nowrap; color: var(--pink); }
.hero h1 .stroke svg { position: absolute; left: -2%; bottom: -10px; width: 104%; height: 18px; overflow: visible; }
.hero h1 .stroke path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s 0.6s ease-out forwards; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 32rem; margin-inline: auto; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.occasions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0 0; padding: 0; list-style: none; }
.occasions li {
  font-weight: 700; font-size: 0.92rem; padding: 6px 14px; border-radius: 999px;
  background: var(--c-soft); color: var(--c);
  animation: pop-in 0.5s var(--ease-pop) both; animation-delay: calc(0.9s + var(--i) * 0.08s);
}
.hero-art { position: relative; width: min(250px, 66vw); margin-inline: auto; aspect-ratio: 1; order: -1; }
.hero-art .logo {
  width: 100%; height: 100%; border-radius: 50%;
  box-shadow: 0 24px 50px -20px rgba(90, 58, 34, 0.55);
  animation: bob 5s ease-in-out infinite;
}
.blob { position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); animation: float 7s ease-in-out infinite; }
.pot {
  position: absolute; width: 54px; height: 54px; border-radius: 12px 12px 16px 16px;
  background: var(--c); box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.3);
  animation: float 4.5s ease-in-out infinite;
}
.pot::before {
  content: ""; position: absolute; left: -4px; right: -4px; top: -10px; height: 16px; border-radius: 8px;
  background: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}
.spark { position: absolute; color: var(--yellow); width: 26px; animation: twinkle 2.4s ease-in-out infinite; }

/* Kit */
.kit { background: var(--paper); }
.kit-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 14px; margin-top: 36px;
}
.kit-item { text-align: center; width: 150px; }
.kit-item .ic {
  width: 110px; height: 110px; margin: 0 auto 10px; border-radius: 32px; display: grid; place-items: center;
  background: var(--c-soft); color: var(--c); transform: rotate(var(--r, 0deg));
  transition: transform 0.3s var(--ease-pop);
}
.kit-item:hover .ic { transform: rotate(0deg) scale(1.06); }
.kit-item .ic svg { width: 60px; height: 60px; }
.kit-item strong { display: block; font: 600 1.25rem "Fredoka", sans-serif; color: var(--navy); }
.kit-item span { color: var(--ink-soft); font-size: 0.95rem; }
.plus { font: 700 2.2rem "Fredoka", sans-serif; color: var(--wood); }
.kit-note { text-align: center; margin-top: 28px; font-size: 1.6rem; color: var(--purple); }

/* Occasions */
.cards { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  border-top: 6px solid var(--c); transition: transform 0.3s var(--ease-pop);
}
.card:hover { transform: translateY(-6px) rotate(-0.6deg); }
.card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); margin-bottom: 14px; }
.card .ic svg { width: 28px; height: 28px; }
.card p { margin-top: 6px; color: var(--ink-soft); }

/* Gallery */
.gallery { background: var(--wood-soft); }
.gallery::before, .gallery::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px;
  background: radial-gradient(circle at 14px -4px, var(--cream) 16px, transparent 17px) repeat-x;
  background-size: 28px 28px;
}
.gallery::before { top: 0; }
.gallery::after { bottom: 0; transform: rotate(180deg); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.tile {
  position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--paper);
  padding: 8px 8px 0; box-shadow: var(--shadow); text-decoration: none;
  transform: rotate(var(--r, 0deg)); transition: transform 0.3s var(--ease-pop);
}
.tile:hover { transform: rotate(0deg) scale(1.04); z-index: 1; }
.tile img { width: 100%; aspect-ratio: 238 / 319; object-fit: cover; border-radius: 12px; }
.tile span { display: block; text-align: center; padding: 8px 4px 10px; font: 700 1.35rem "Caveat", cursive; }
.gallery .ctas { margin-top: 36px; }

/* Children's Day */
.special .wrap {
  display: grid; gap: 28px; align-items: center; background: var(--paper);
  border-radius: 32px; padding: 24px; box-shadow: var(--shadow); border: 3px dashed var(--yellow);
}
.special img { border-radius: 20px; width: 100%; height: auto; }
.special h2 { text-align: left; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.special .badge {
  display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; transform: rotate(-3deg);
  animation: wiggle 3s ease-in-out infinite;
}
.special p { margin-top: 12px; color: var(--ink-soft); }
.special ul { margin: 14px 0 22px; padding-left: 0; list-style: none; }
.special li { padding-left: 30px; position: relative; margin: 6px 0; font-weight: 700; }
.special li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f9a22' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Steps */
.steps { display: grid; gap: 20px; margin-top: 36px; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { text-align: center; padding: 8px 10px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px;
  font: 700 2rem "Fredoka", sans-serif; color: #fff; background: var(--c);
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}
.step p { color: var(--ink-soft); margin-top: 6px; }

/* Final CTA */
.cta-box {
  text-align: center; border-radius: 32px; padding: 44px 22px; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-box h2 { color: #fff; }
.cta-box p { margin: 12px auto 26px; max-width: 30rem; font-size: 1.1rem; }
.cta-box .btn-wa { box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25); }
.cta-box .dot { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.16); animation: float 6s ease-in-out infinite; }
.contact { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 26px; font-weight: 700; }
.contact a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.contact svg { width: 22px; height: 22px; color: var(--pink); }

footer { text-align: center; padding: 28px 16px 110px; color: var(--ink-soft); font-size: 0.95rem; }
footer .hand { display: block; font-size: 1.7rem; color: var(--navy); }
footer .powered { display: inline-block; margin-top: 8px; font-size: 0.85rem; text-decoration: none; opacity: 0.8; }

/* Sticky WhatsApp on phones */
.sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(140%); transition: transform 0.4s var(--ease-pop);
}
.sticky.show { transform: none; }
.sticky .btn { width: 100%; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px) scale(0.97); transition: opacity 0.6s ease-out, transform 0.6s var(--ease-pop); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.tile.reveal.in { transform: rotate(var(--r, 0deg)); }
.tile.reveal.in:hover { transform: rotate(0deg) scale(1.04); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes twinkle { 0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.5; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.6); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
@media (min-width: 900px) {
  section { padding: 96px 0; }
  .hero { padding: 56px 0 100px; }
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; }
  .hero-text { text-align: left; }
  .hero-text .lead { margin-inline: 0; }
  .hero-text .ctas, .hero-text .occasions { justify-content: flex-start; }
  .hero-art { width: 420px; order: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .special .wrap { grid-template-columns: 0.9fr 1.1fr; padding: 36px; gap: 44px; }
  .sticky { display: none; }
  footer { padding-bottom: 32px; }
}
@media (max-width: 420px) {
  .bar .btn span { display: none; }
  .bar .btn { padding: 8px 12px; }
  .kit-row { flex-wrap: nowrap; gap: 4px; }
  .kit-item { width: 96px; }
  .kit-item .ic { width: 76px; height: 76px; border-radius: 24px; }
  .kit-item .ic svg { width: 44px; height: 44px; }
  .kit-item strong { font-size: 1.05rem; }
  .kit-item span { font-size: 0.85rem; }
  .plus { font-size: 1.6rem; }
}

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