/* ==========================================================================
   Lil Treat Box — style.css
   Mobile-first, no frameworks. All colours live in :root (easy to edit).
   ========================================================================== */

:root {
  /* Brand palette */
  --cream: #fffaf2;
  --cream-deep: #fdf1e3;
  --white: #ffffff;
  --pink: #ff6f9c;
  --pink-soft: #ffe0ea;
  --yellow: #ffc94d;
  --yellow-soft: #fff3d1;
  --sky: #57c4e5;
  --sky-soft: #ddf3fb;
  --orange: #ff9f5a;
  --orange-soft: #ffe9d8;
  --ink: #2f2a3a;
  --ink-soft: #6b6478;

  /* Design tokens */
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(47, 42, 58, 0.08);
  --shadow-lift: 0 18px 44px rgba(47, 42, 58, 0.14);
  --max: 1120px;
  --font-head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .logo, .price {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 9vw, 4rem); }
h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head p { color: var(--ink-soft); margin: 0; }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font: 700 1.03rem/1 var(--font-body);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--pink); color: var(--white); }
.btn-whatsapp { background: #25d366; color: #06301a; }
.btn-outline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--yellow); }
.btn-block { width: 100%; }
.btn-sm { min-height: 46px; padding: 10px 18px; font-size: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-deep);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.logo { font-size: 1.35rem; margin: 0; }
.logo span { color: var(--pink); }
.nav { display: none; gap: 24px; font-weight: 700; color: var(--ink-soft); }
.nav a:hover { color: var(--pink); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 55% at 12% 8%, var(--pink-soft) 0%, transparent 60%),
    radial-gradient(55% 50% at 92% 18%, var(--sky-soft) 0%, transparent 60%),
    radial-gradient(60% 55% at 50% 100%, var(--yellow-soft) 0%, transparent 60%),
    var(--cream);
  padding: 44px 0 56px;
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero .tagline {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 5vw, 1.9rem);
  color: var(--sky);
  margin: 0 0 12px;
}
.hero .lede { color: var(--ink-soft); font-size: 1.08rem; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--white);
}
.hero-art img { width: 100%; height: auto; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 4px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Product cards */
.item-card { text-align: center; }
.item-thumb {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow-soft);
}
.item-thumb img { width: 68px; height: 68px; object-fit: contain; }
.item-card:nth-child(2n) .item-thumb { background: var(--pink-soft); }
.item-card:nth-child(3n) .item-thumb { background: var(--sky-soft); }
.item-card:nth-child(4n) .item-thumb { background: var(--orange-soft); }

/* Customize cards */
.opt-card { display: flex; gap: 14px; align-items: flex-start; }
.opt-icon {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--sky-soft);
}
.opt-card:nth-child(2n) .opt-icon { background: var(--pink-soft); }
.opt-card:nth-child(3n) .opt-icon { background: var(--yellow-soft); }

/* Packages */
.pkg { position: relative; padding: 26px 22px; text-align: left; }
.pkg.featured { box-shadow: 0 0 0 3px var(--pink), var(--shadow-lift); }
.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--pink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.price { font-size: 2rem; color: var(--pink); margin: 6px 0 2px; }
.price small { font-size: 0.85rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }
.pkg ul { list-style: none; margin: 14px 0 20px; padding: 0; }
.pkg li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-soft); font-size: 0.95rem; }
.pkg li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--sky);
  font-weight: 800;
}

/* Perfect-for tiles */
.tile { text-align: center; padding: 22px 14px; }
.tile .emoji { font-size: 2rem; display: block; margin-bottom: 8px; }
.tile strong { font-family: var(--font-head); font-weight: 700; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 62px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- Builder form ---------- */
.builder { background: var(--cream-deep); }
.builder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-lift);
}
.form-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; font-size: 0.92rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: inherit;
  padding: 14px 16px;
  min-height: 52px;
  border: 2px solid var(--cream-deep);
  border-radius: 16px;
  background: var(--cream);
  width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
}
.form-actions { margin-top: 22px; display: grid; gap: 10px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin: 0; }
.form-error { color: #d63b5e; font-weight: 700; font-size: 0.9rem; min-height: 1.2em; text-align: center; }
.summary {
  margin-top: 18px;
  background: var(--sky-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.92rem;
  white-space: pre-wrap;
  display: none;
}
.summary.show { display: block; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.3s ease; }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- Trust ---------- */
.trust { background: var(--white); }
.trust .tile { background: var(--cream); border-radius: var(--radius); }

/* ---------- About ---------- */
.about-card {
  background: linear-gradient(135deg, var(--pink-soft), var(--yellow-soft));
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.about-card p { font-size: 1.08rem; color: var(--ink); max-width: 60ch; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
details.faq {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4px 18px;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  padding: 16px 30px 16px 0;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.5rem;
  color: var(--pink);
  font-family: var(--font-head);
}
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--ink-soft); margin: 0 0 16px; font-size: 0.95rem; }

/* ---------- Contact & footer ---------- */
.contact-card { display: flex; align-items: center; gap: 14px; }
.contact-card .opt-icon { background: var(--orange-soft); }
.contact-card a, .contact-card span { color: var(--ink-soft); font-size: 0.95rem; }
.site-footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 34px 0;
}
.site-footer .logo { color: var(--cream); }
.site-footer p { color: rgba(255, 250, 242, 0.7); font-size: 0.9rem; margin: 6px 0 0; }

/* Sticky mobile WhatsApp button */
.float-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  box-shadow: var(--shadow-lift);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  section { padding: 84px 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field-full { grid-column: 1 / -1; }
  .form-actions { grid-template-columns: repeat(2, 1fr); }
  .builder-card { padding: 36px; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 52px; }
  .cards-2 { grid-template-columns: repeat(3, 1fr); }
  .float-wa { display: none; }
}

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

/* ---------- SEO pages: breadcrumbs, prose, link lists ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumbs a { color: var(--ink-soft); }
.landing-hero { padding: 32px 0 40px; }
.landing-hero h1 { max-width: 22ch; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); margin: 0 0 14px; }
.prose h2 { margin: 26px 0 8px; font-size: clamp(1.25rem, 4.5vw, 1.6rem); }
.prose a { color: var(--pink); font-weight: 700; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.link-list a {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.cta-band { background: var(--cream-deep); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin: 18px 0 6px; }
.footer-nav a { color: var(--cream); font-size: 0.88rem; }
.site-footer .logo a { color: var(--cream); }
@media (min-width: 720px) {
  .link-list { grid-template-columns: repeat(2, 1fr); }
}
