:root {
  --ink: #1f2433;
  --ink-soft: #5b6178;
  --cream: #fffaf2;
  --sun: #ffc93c;
  --sun-deep: #ffb000;
  --mint: #b8f0dc;
  --mint-deep: #36c9a7;
  --sky: #c9e8ff;
  --sky-deep: #3b9dff;
  --peach: #ffd9c7;
  --peach-deep: #ff8a5c;
  --lilac: #e3d7ff;
  --pink: #ff8fab;
  --wa: #25d366;
  --radius: 24px;
  --shadow: 0 6px 0 rgba(31, 36, 51, .12), 0 14px 30px rgba(31, 36, 51, .08);
  --font: "Baloo 2", "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Nunito", "Baloo 2", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:lang(bn) { font-family: "Baloo Da 2", var(--font); }
:lang(gu) { font-family: "Baloo Bhai 2", var(--font); }
:lang(pa) { font-family: "Baloo Paaji 2", var(--font); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 1.05rem;
  padding: 10px 22px; border-radius: 999px; text-decoration: none;
  border: 3px solid var(--ink); cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-sun { background: var(--sun); }
.btn-ghost { background: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-big { font-size: 1.2rem; padding: 14px 28px; }

/* ---------- top bar + nav ---------- */
.topbar {
  background: var(--ink); color: #fff; text-align: center;
  font-size: .92rem; padding: 8px 16px;
}
.topbar b { color: var(--sun); }
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px max(20px, calc((100vw - 1160px) / 2 + 20px));
  background: rgba(255, 250, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 3px dashed #f1e2c9;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font); font-size: 1.7rem; font-weight: 700; }
.logo b { color: var(--peach-deep); }
.logo-panda { width: 46px; height: 46px; transition: transform .3s; }
.logo:hover .logo-panda { transform: rotate(-12deg) scale(1.08); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink-soft); }
.nav-links a:hover { color: var(--peach-deep); }
.burger { display: none; margin-left: auto; font-size: 1.6rem; background: #fff; border: 3px solid var(--ink); border-radius: 14px; width: 48px; height: 44px; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #bfe6ff 0%, #dff3ff 55%, #fff1df 100%);
  padding: 56px 0 120px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.pill { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 4px 16px; font-weight: 800; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin: 18px 0 14px; font-weight: 800; }
.rainbow {
  background: linear-gradient(90deg, #ff6b6b, #ff9a3c, #ffc400, #36c9a7, #3b9dff, #9b7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 520px; margin: 0 0 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust li { background: rgba(255,255,255,.75); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .95rem; }

.hero-visual { position: relative; height: 470px; }
.hero-book { position: absolute; left: 50%; top: 10px; width: 330px; transform: translateX(-50%) rotate(-4deg); }
.hero-book .cover { width: 100%; }
.hero-panda { position: absolute; width: 150px; height: 150px; right: 0; bottom: 6px; filter: drop-shadow(0 8px 0 rgba(31,36,51,.15)); }
.speech {
  position: absolute; right: 150px; bottom: 30px; background: #fff; border: 3px solid var(--ink);
  border-radius: 20px 20px 4px 20px; padding: 8px 14px; font-family: var(--font); font-weight: 700; font-size: 1rem;
  box-shadow: 0 4px 0 var(--ink); animation: pop 4s ease-in-out infinite;
}
.sticker { position: absolute; font-size: 3rem; filter: drop-shadow(0 4px 0 rgba(31,36,51,.15)); animation: float 5s ease-in-out infinite; }
.st1 { left: 0; top: 40px; }
.st2 { right: 10px; top: 0; animation-delay: -1.5s; }
.st3 { left: 20px; bottom: 50px; animation-delay: -3s; }

.sky span { position: absolute; z-index: 1; }
.cloud { background: #fff; border-radius: 999px; width: 140px; height: 44px; opacity: .9; animation: drift 40s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 60px; height: 60px; left: 22px; top: -30px; }
.cloud::after { width: 46px; height: 46px; left: 72px; top: -20px; }
.c1 { top: 60px; left: -160px; }
.c2 { top: 190px; left: -160px; animation-delay: -15s; transform: scale(.7); }
.c3 { top: 320px; left: -160px; animation-delay: -28s; transform: scale(1.2); }
.star { color: var(--sun-deep); font-size: 1.4rem; animation: twinkle 2.4s ease-in-out infinite; }
.s1 { top: 40px; left: 46%; } .s2 { top: 140px; left: 8%; animation-delay: -.8s; }
.s3 { top: 300px; left: 52%; animation-delay: -1.4s; } .s4 { top: 90px; right: 6%; animation-delay: -2s; }
.wave-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; z-index: 2; }

/* ---------- book cover component ---------- */
.cover {
  --a: #ff9a3c; --b: #7b3fe4;
  position: relative; aspect-ratio: 1 / 1; border-radius: 10px 22px 22px 10px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 45%), linear-gradient(150deg, var(--a), var(--b));
  border: 3px solid var(--ink); box-shadow: inset 12px 0 0 rgba(0,0,0,.12), var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 9% 8% 8%; color: #fff; text-align: center;
}
.cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.5) 1.4px, transparent 1.6px); background-size: 22px 22px; opacity: .35; pointer-events: none; }
.cover-title { font-family: var(--font); font-weight: 800; font-size: clamp(1rem, 2.1vw, 1.45rem); line-height: 1.1; text-shadow: 0 3px 0 rgba(0,0,0,.25); position: relative; z-index: 2; }
.cover-face {
  position: relative; z-index: 2; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; border: 5px solid #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.18), 0 10px 20px rgba(0,0,0,.2);
  overflow: hidden; display: grid; place-items: center;
}
.cover-face svg { width: 88%; height: 88%; }
.cover-face img { width: 100%; height: 100%; object-fit: cover; }
.cover-emoji { position: absolute; z-index: 1; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cover-emoji.e1 { left: 6%; bottom: 20%; transform: rotate(-12deg); }
.cover-emoji.e2 { right: 6%; top: 34%; transform: rotate(10deg); }
.cover-brand { position: relative; z-index: 2; font-family: var(--font); font-weight: 700; font-size: .78rem; background: rgba(0,0,0,.25); padding: 2px 10px; border-radius: 999px; }

.cover-art { padding: 0; justify-content: flex-end; }
.cover-art::after { display: none; }
.cover-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-art .cover-title {
  position: absolute; top: 0; left: 0; right: 0; padding: 18px 16px 40px;
  background: linear-gradient(180deg, rgba(20, 16, 60, .8), transparent);
}
.cover-art .cover-brand { margin-bottom: 12px; }
.hero-photo {
  position: absolute; left: 0; bottom: 30px; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 5px 14px 5px 5px;
  box-shadow: 0 4px 0 var(--ink); font-family: var(--font); font-weight: 700; font-size: .9rem; line-height: 1.15;
  transform: rotate(-4deg);
}
.hero-photo img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sun); }

/* ---------- sections ---------- */
.section-lilac { background: linear-gradient(180deg, #f3edff, #e7dcff); }
.magic { display: grid; grid-template-columns: 220px 60px 1fr; align-items: center; gap: 18px; }
.magic figure { margin: 0; background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 8px; box-shadow: 0 6px 0 var(--ink); }
.magic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.magic figcaption { text-align: center; font-family: var(--font); font-weight: 700; padding-top: 6px; }
.magic-photo { transform: rotate(-3deg); }
.magic-arrow { font-size: 2.8rem; text-align: center; animation: bob 2.4s ease-in-out infinite; }
.magic-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.magic-pages figure:nth-child(2) { transform: rotate(2deg); }
.magic-pages figure { transition: transform .2s; }
.magic-pages figure:hover { transform: translateY(-6px) rotate(-1deg); }
.viewer { display: flex; align-items: center; justify-content: center; gap: 18px; }
.vw-book {
  display: flex; justify-content: center; width: min(900px, 100%); aspect-ratio: 2 / 1;
  perspective: 1600px; filter: drop-shadow(0 12px 24px rgba(31, 36, 51, .25));
}
.vw-book img { width: 50%; height: 100%; object-fit: cover; border: 3px solid var(--ink); background: #fff; }
.vw-book img:first-child:not(:only-child) { border-right-width: 1px; border-radius: 16px 0 0 16px; }
.vw-book img:last-child:not(:only-child) { border-left-width: 1px; border-radius: 0 16px 16px 0; }
.vw-book img:only-child { border-radius: 16px; }
.vw-book.turn img { animation: turn .45s ease both; }
@keyframes turn { from { opacity: 0; transform: rotateY(-18deg) translateX(14px); } }
.vw-btn {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--ink); background: var(--sun);
  font-size: 2rem; line-height: 1; font-weight: 800; cursor: pointer; box-shadow: 0 4px 0 var(--ink);
}
.vw-btn:disabled { opacity: .35; cursor: default; }
.vw-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; }
.vw-count { font-family: var(--font); font-weight: 700; color: var(--ink-soft); min-width: 110px; text-align: center; }
.magic-note { text-align: center; color: var(--ink-soft); font-size: .88rem; margin: 26px 0 0; }
.section { padding: 80px 0; }
.section-mint { background: linear-gradient(180deg, #e6fbf3, #d3f6e9); }
.section-sky { background: linear-gradient(180deg, #e3f2ff, #d2eaff); }
.section-peach { background: linear-gradient(180deg, #fff0e6, #ffe3d4); }
.title { text-align: center; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.subtitle { text-align: center; color: var(--ink-soft); font-size: 1.12rem; margin: 8px auto 40px; max-width: 640px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--c); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 30px 20px 22px; text-align: center; box-shadow: 0 6px 0 var(--ink); transition: transform .2s;
}
.step:hover { transform: translateY(-6px) rotate(-1deg); }
.step-num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font); font-weight: 800; font-size: 1.2rem; }
.step-ico { font-size: 3rem; display: block; }
.step h3 { font-size: 1.35rem; margin: 6px 0; }
.step p { margin: 0; color: var(--ink-soft); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip { font-family: var(--font); font-weight: 700; font-size: 1rem; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 6px 18px; cursor: pointer; transition: background .15s, transform .15s; }
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--ink); color: #fff; }

.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.book {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 14px 14px 18px;
  box-shadow: 0 6px 0 var(--ink); display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s; animation: rise .4s both;
}
.book:hover { transform: translateY(-6px); }
.book:hover .cover { transform: rotate(-2deg) scale(1.02); }
.book .cover { transition: transform .3s; }
.book-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.age { background: var(--lilac); border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: .82rem; }
.gtoggle { display: flex; background: #f2f2f6; border-radius: 999px; padding: 3px; }
.gtoggle button { border: 0; background: transparent; font-size: 1.15rem; border-radius: 999px; padding: 2px 8px; cursor: pointer; }
.gtoggle button.on { background: #fff; box-shadow: 0 2px 0 rgba(31,36,51,.25); }
.book h3 { font-size: 1.2rem; }
.book p { margin: 0; color: var(--ink-soft); font-size: .95rem; flex: 1; }
.book-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.book-price { font-family: var(--font); font-weight: 800; font-size: 1.2rem; }
.book-price small { font-weight: 600; color: var(--ink-soft); font-size: .8rem; }
.book .btn { font-size: .95rem; padding: 6px 14px; }

.fest-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.fest {
  text-decoration: none; color: #fff; border: 3px solid var(--ink); border-radius: var(--radius);
  background: linear-gradient(150deg, var(--a), var(--b)); box-shadow: 0 6px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  aspect-ratio: 1; transition: transform .2s;
}
.fest:hover { transform: translateY(-6px) rotate(2deg); }
.fest span { font-size: 3.4rem; animation: float 4s ease-in-out infinite; }
.fest b { font-family: var(--font); font-size: 1.25rem; text-shadow: 0 2px 0 rgba(0,0,0,.25); text-align: center; padding: 0 6px; }

.lang-band { background: var(--ink); color: #fff; padding: 34px 0; }
.lang-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.lang-inner h2 { font-size: 1.8rem; }
.lang-list { display: flex; flex-wrap: wrap; gap: 12px; }
.lang { background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 18px; font-size: 1.2rem; font-weight: 700; }
.lang:nth-child(1) { color: var(--sun); } .lang:nth-child(2) { color: #ffb3c4; }
.lang:nth-child(3) { color: var(--mint); } .lang:nth-child(4) { color: var(--sky); } .lang:nth-child(5) { color: #ffcfae; }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; }
.studio-form, .studio-preview { background: #fff; border: 3px solid var(--ink); border-radius: 28px; padding: 26px; box-shadow: 0 6px 0 var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; }
.field > span { font-family: var(--font); font-weight: 700; font-size: 1.08rem; }
.field-row { display: flex; gap: 14px; }
select, input[type="text"] {
  font: inherit; font-weight: 700; font-size: 1rem; padding: 11px 14px; border: 3px solid #d8dbe6;
  border-radius: 16px; background: #fbfbfe; color: var(--ink); width: 100%;
}
select:focus, input[type="text"]:focus { outline: none; border-color: var(--sky-deep); background: #fff; }
.seg { display: flex; gap: 10px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border: 3px solid #d8dbe6; border-radius: 16px; font-weight: 800; cursor: pointer; transition: all .15s; }
.seg input:checked + span { border-color: var(--ink); background: var(--sun); box-shadow: 0 3px 0 var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--sky-deep); }
.upload {
  display: flex; align-items: center; gap: 14px; border: 3px dashed var(--sky-deep); border-radius: 20px;
  padding: 16px; background: #f1f8ff; cursor: pointer; transition: background .15s;
}
.upload:hover { background: #e2f1ff; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-ico { font-size: 2.4rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; overflow: hidden; flex-shrink: 0; }
.upload-ico img { width: 100%; height: 100%; object-fit: cover; }
.upload-txt small { color: var(--ink-soft); }
.note { font-size: .88rem; color: var(--ink-soft); margin: 14px 0 0; }

.pv-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.pv-tab { flex: 1; font-family: var(--font); font-weight: 700; font-size: 1rem; border: 3px solid var(--ink); background: #fff; border-radius: 14px; padding: 6px; cursor: pointer; }
.pv-tab.active { background: var(--mint); }
.pv-stage { max-width: 440px; margin: 0 auto; perspective: 1200px; }
.pv-page { animation: flip .5s both; }
.pv-page[hidden] { display: none; }
.pv-page .cover { width: 100%; }
.pv-page .cover-title { font-size: clamp(1.2rem, 2.6vw, 1.8rem); }
.story-page, .dedication-page {
  aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 10px 22px 22px 10px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden; background: #fff;
}
.story-art { flex: 1.3; position: relative; display: grid; place-items: center; background: linear-gradient(150deg, var(--a), var(--b)); }
.story-art .cover-face { width: 36%; }
.story-art .cover-emoji { font-size: 3rem; }
.story-text { flex: 1; padding: 18px 22px; font-family: var(--font); font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; text-align: center; justify-content: center; line-height: 1.4; }
.dedication-page { justify-content: center; align-items: center; text-align: center; padding: 30px; background: repeating-linear-gradient(45deg, #fffaf2 0 18px, #fff3e3 18px 36px); gap: 16px; }
.dedication-page .cover-face { width: 40%; border-color: var(--sun); }
.dedication-page p { font-family: var(--font); font-size: 1.45rem; font-weight: 700; margin: 0; line-height: 1.35; }
.pv-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.pv-price { font-family: var(--font); font-weight: 800; font-size: 1.15rem; }

/* ---------- why / pricing ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why { background: var(--c); border-radius: var(--radius); padding: 26px 20px; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.why span { font-size: 2.6rem; }
.why h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.why p { margin: 0; color: var(--ink-soft); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; max-width: 960px; margin: 0 auto; }
.price { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 28px; padding: 30px 24px; text-align: center; box-shadow: 0 6px 0 var(--ink); }
.price.popular { background: #fff8dc; transform: scale(1.05); }
.badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--peach-deep); color: #fff; font-weight: 800; border: 3px solid var(--ink); border-radius: 999px; padding: 2px 14px; white-space: nowrap; font-size: .9rem; }
.price-ico { font-size: 2.8rem; }
.price h3 { font-size: 1.5rem; }
.amt { font-family: var(--font); font-size: 2.6rem; font-weight: 800; margin: 4px 0 10px; }
.price ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--ink-soft); }
.price li { padding: 4px 0; }
.price li::before { content: "🐾 "; }
.addon { text-align: center; margin: 34px 0 0; font-size: 1.05rem; }

/* ---------- faq ---------- */
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 20px; margin-bottom: 14px; box-shadow: 0 4px 0 var(--ink); overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 22px; font-family: var(--font); font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { background: var(--mint); }
.faq p { margin: 0; padding: 14px 22px 18px; color: var(--ink-soft); }

/* ---------- final + footer ---------- */
.final { background: linear-gradient(120deg, #ffcf5c, #ff9f7a, #ff8fab); padding: 60px 0; border-top: 3px solid var(--ink); }
.final-inner { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; text-align: left; }
.final-panda { width: 160px; height: 160px; }
.final h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 560px; margin-bottom: 18px; }

.footer { background: var(--ink); color: #d7dae6; padding: 50px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 30px; }
.logo-light { color: #fff; }
.footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.footer a:not(.logo) { display: block; text-decoration: none; padding: 3px 0; }
.footer a:not(.logo):hover { color: var(--sun); }
.copy { text-align: center; font-size: .88rem; opacity: .7; margin: 34px 0 0; padding: 0 16px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; font-size: 1.8rem; text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); animation: pulse 2.4s infinite;
}

/* ---------- motion ---------- */
.bob { animation: bob 4s ease-in-out infinite; }
.hero-book.bob { animation: bookbob 4.5s ease-in-out infinite; }
.wave { animation: wave 3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes bookbob { 0%,100% { transform: translateX(-50%) rotate(-4deg); } 50% { transform: translateX(-50%) translateY(-14px) rotate(-2deg); } }
@keyframes wave { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes drift { to { left: 110%; } }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6); } }
@keyframes pop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes flip { from { opacity: 0; transform: rotateY(-25deg) translateX(-10px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 4px 0 var(--ink), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 4px 0 var(--ink), 0 0 0 14px rgba(37,211,102,0); } }

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

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .steps, .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .fest-row { grid-template-columns: repeat(3, 1fr); }
  .studio { grid-template-columns: 1fr; }
  .magic { grid-template-columns: 1fr; justify-items: center; }
  .magic-photo { width: 200px; }
  .magic-arrow { transform: rotate(90deg); }
}
@media (max-width: 860px) {
  .nav { gap: 12px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 3px solid var(--ink); padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 1.1rem; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .hero { padding: 36px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .trust { justify-content: center; }
  .hero-visual { height: 400px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-book { width: 270px; }
  .hero-panda { width: 120px; height: 120px; }
  .speech { right: 120px; bottom: 20px; font-size: .9rem; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; }
  .price.popular { transform: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .book { padding: 10px 10px 14px; }
  .book-meta { flex-wrap: wrap; gap: 6px; }
  .age { white-space: nowrap; font-size: .75rem; }
  .gtoggle button { font-size: 1rem; padding: 2px 6px; }
  .book h3 { font-size: 1.02rem; }
  .book p { display: none; }
  .book-foot { flex-direction: column; align-items: stretch; }
  .book .btn { width: 100%; }
  .steps, .why-grid { grid-template-columns: 1fr; }
  .fest-row { grid-template-columns: repeat(2, 1fr); }
  .fest:last-child { grid-column: span 2; aspect-ratio: auto; padding: 20px; }
  .studio-form, .studio-preview { padding: 18px; }
  .field-row { flex-direction: column; gap: 0; }
  .pv-tab { font-size: .85rem; padding: 6px 2px; white-space: nowrap; }
  .story-text { font-size: 1.05rem; padding: 12px 14px; }
  .dedication-page p { font-size: 1.15rem; }
  .btn-big { font-size: 1.05rem; padding: 12px 20px; }
  .hero-visual { height: 350px; }
  .hero-book { width: 230px; }
  .sticker { font-size: 2.3rem; }
  .speech { display: none; }
  .vw-book { aspect-ratio: 1; }
  .vw-book img { width: 100%; }
  .viewer { gap: 8px; }
  .vw-btn { width: 42px; height: 42px; font-size: 1.5rem; }
  .magic-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .magic-pages figure:last-child { grid-column: span 2; max-width: 60%; justify-self: center; }
  .hero-photo { font-size: .8rem; bottom: 10px; }
  .hero-photo img { width: 46px; height: 46px; }
  .final-inner { text-align: center; }
  .logo { font-size: 1.45rem; }
  .logo-panda { width: 40px; height: 40px; }
}
