/* ==========================================================================
   BAPPAZ KIDS STUDIO — shared design system
   Warm cocoa ink on cream, terracotta + sage + butter accents.
   Type: "Baloo 2" (display) + "Mulish" (body)
   ========================================================================== */

:root {
  /* color */
  --cream:      #FFF8F0;
  --paper:      #FFFFFF;
  --ink:        #46342E;
  --ink-soft:   #84736B;
  --line:       #F0E3D7;

  --terra:      #DD7755;
  --terra-deep: #C75F3E;
  --terra-soft: #FBE9E0;
  --sage:       #7FA98F;
  --sage-soft:  #E8F1EA;
  --butter:     #EFC368;
  --butter-soft:#FBF1DC;
  --sky-soft:   #E7F0F5;

  /* type */
  --ff-display: "Baloo 2", system-ui, sans-serif;
  --ff-body: "Mulish", system-ui, sans-serif;

  /* shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow: 0 16px 40px -18px rgba(70, 52, 46, 0.28);
  --shadow-sm: 0 8px 22px -12px rgba(70, 52, 46, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }

/* tinted section backgrounds */
.bg-blush  { background: var(--terra-soft); }
.bg-mint   { background: var(--sage-soft); }
.bg-butter { background: var(--butter-soft); }
.bg-paper  { background: var(--paper); }

/* ------- kicker + headings ------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 600; font-size: 14.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra-deep);
  padding: 7px 18px; border: 1.5px dashed var(--terra);
  border-radius: 999px; background: rgba(255, 255, 255, 0.55);
}
.h-xl { font-size: clamp(38px, 5vw, 60px); margin: 14px 0 18px; }
.h-lg { font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 16px; }
.h-md { font-size: clamp(22px, 2.4vw, 28px); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 640px; }
.center { text-align: center; }
.center .lede { margin: 0 auto; }

/* ------- buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 600; font-size: 17px;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terra); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terra-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--sm { font-size: 15px; padding: 10px 20px; }

/* ------- header ------- */
.topbar {
  background: var(--ink); color: var(--cream); font-size: 14px;
  padding: 8px 0; font-weight: 600;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--butter); text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 240, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.nav__logo img { height: 58px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav__links > li { position: relative; }
.nav__links a {
  display: inline-block; text-decoration: none; font-family: var(--ff-display);
  font-weight: 600; font-size: 16.5px; color: var(--ink);
  padding: 10px 14px; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.nav__links > li > a:hover, .nav__links > li > a[aria-current="page"] { background: var(--terra-soft); color: var(--terra-deep); }

/* dropdown */
.dd { position: relative; }
.dd > a::after { content: " ▾"; font-size: 12px; }
.dd__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow); padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  display: flex; flex-direction: column; gap: 2px;
}
.dd:hover .dd__menu, .dd:focus-within .dd__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd__menu a { display: block; border-radius: var(--r-sm); padding: 10px 14px; font-size: 15.5px; width: 100%; }
.dd__menu a:hover { background: var(--butter-soft); color: var(--terra-deep); }
.dd__menu a small { display: block; font-family: var(--ff-body); font-weight: 600; font-size: 12.5px; color: var(--ink-soft); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

/* mobile nav */
@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 84px 0 auto 0; max-height: calc(100vh - 84px); overflow: auto;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 18px 24px 28px; display: none; box-shadow: var(--shadow);
  }
  .nav__links.open { display: flex; }
  .nav__links a { display: block; font-size: 19px; }
  .dd__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--butter-soft); margin-top: 4px; }
  .nav__burger { display: block; }
  .nav__cta .btn { display: none; }
}

/* ------- photo frames ------- */
.photo { border-radius: var(--r-md); overflow: hidden; background: var(--butter-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--sticker { border: 6px solid #fff; box-shadow: var(--shadow); }

/* ------- cards ------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* service card */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.svc {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc .photo { border-radius: 0; height: 230px; }
.svc__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc__body h3 { font-size: 23px; }
.svc__body p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.svc__price { font-family: var(--ff-display); font-weight: 700; color: var(--terra-deep); font-size: 16px; }
.svc__go { font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: 15.5px; }
.svc:hover .svc__go { color: var(--terra-deep); }

/* ------- package cards ------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; align-items: stretch; }
.pkg {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg--hot { border-color: var(--terra); background: linear-gradient(180deg, #fff 0%, var(--terra-soft) 140%); }
.pkg__flag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--terra); color: #fff; font-family: var(--ff-display); font-weight: 600;
  font-size: 13.5px; padding: 5px 18px; border-radius: 999px; white-space: nowrap;
}
.pkg__name { font-size: 24px; }
.pkg__for { color: var(--ink-soft); font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.pkg__price { font-family: var(--ff-display); font-weight: 700; font-size: 40px; margin: 16px 0 2px; color: var(--ink); }
.pkg__price span { font-size: 16px; color: var(--ink-soft); font-weight: 600; }
.pkg__list { list-style: none; margin: 20px 0 26px; display: grid; gap: 11px; flex: 1; }
.pkg__list li { padding-left: 30px; position: relative; font-size: 15.5px; }
.pkg__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft); color: var(--sage);
  font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 3px;
}
.pkg .btn { width: 100%; }

/* ------- included grid ------- */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.inc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.inc__dot {
  width: 54px; height: 54px;
  border-radius: 46% 54% 52% 48% / 56% 46% 54% 44%;
  display: grid; place-items: center; font-size: 20px; margin-bottom: 16px;
  background: var(--butter-soft); color: #B5862F; transform: rotate(-4deg);
}
.inc__dot svg { width: 23px; height: 23px; }
.inc:nth-child(3n+2) .inc__dot { background: var(--terra-soft); color: var(--terra-deep); border-radius: 54% 46% 48% 52% / 46% 56% 44% 54%; transform: rotate(3deg); }
.inc:nth-child(3n) .inc__dot { background: var(--sage-soft); color: #55846A; border-radius: 48% 52% 56% 44% / 52% 48% 52% 48%; transform: rotate(-2deg); }
.inc h3 { font-size: 19px; margin-bottom: 6px; }
.inc p { font-size: 15px; color: var(--ink-soft); }

/* ------- FAQ ------- */
.faq { max-width: 760px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--ff-display); font-weight: 600;
  font-size: 18px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--terra); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* ------- marquee strip ------- */
.strip { background: var(--ink); color: var(--cream); padding: 16px 0; overflow: hidden; }
.strip__track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: stripSlide 30s linear infinite; }
.strip__track span { font-family: var(--ff-display); font-weight: 500; font-size: 18px; padding-right: 18px; }
.strip__track i { font-style: normal; color: var(--butter); padding-right: 18px; }
@keyframes stripSlide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ------- page hero (inner pages) ------- */
.phero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.phero__bg { position: absolute; inset: 0; background:
  radial-gradient(44% 52% at 88% 0%, var(--butter-soft) 0%, transparent 65%),
  radial-gradient(40% 48% at 4% 18%, var(--terra-soft) 0%, transparent 60%); }
.phero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.phero--solo .wrap { display: block; text-align: center; }
.crumbs { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--terra-deep); text-decoration: none; }
.phero__meta { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.phero__meta div { display: flex; flex-direction: column; }
.phero__meta b { font-family: var(--ff-display); font-size: 26px; line-height: 1.1; }
.phero__meta span { font-size: 13.5px; color: var(--ink-soft); font-weight: 700; margin-top: 4px; }
.phero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* hero duo collage */
.duo { position: relative; height: 480px; }
.duo .photo { position: absolute; }
.duo__a { width: 62%; height: 78%; top: 0; right: 0; transform: rotate(2.5deg); z-index: 2; }
.duo__b { width: 46%; height: 56%; bottom: 0; left: 0; transform: rotate(-4deg); z-index: 3; }
.duo__badge {
  position: absolute; z-index: 4; top: -6px; left: 16%;
  width: 104px; height: 104px; border-radius: 50%; background: var(--butter);
  display: grid; place-items: center; text-align: center; transform: rotate(-8deg);
  font-family: var(--ff-display); font-weight: 700; font-size: 13px; line-height: 1.2; color: var(--ink);
  box-shadow: var(--shadow-sm); padding: 10px;
}

/* mini gallery row */
.mini-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.mini-gal .photo { aspect-ratio: 3 / 3.6; }
.mini-gal .photo:nth-child(even) { transform: translateY(20px); }

/* ------- CTA band (premium) ------- */
.cta-band {
  background: radial-gradient(130% 170% at 50% -50%, #50392E 0%, #2B1B14 58%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 40px; padding: 92px 64px; color: var(--cream);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: 36px; left: 5%; width: 110px; height: 110px;
  border: 2px dashed rgba(239, 195, 104, 0.45); border-radius: 50%;
}
.cta-band::after {
  content: ""; position: absolute; bottom: 30px; right: 5%; width: 150px; height: 84px;
  background-image: radial-gradient(rgba(239, 195, 104, 0.5) 2.2px, transparent 3px);
  background-size: 21px 21px;
}
.cta-band__in {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 30px;
}
.cta-band h2 { font-size: clamp(34px, 4.2vw, 56px); max-width: 720px; margin: 0 auto; }
.cta-band p { color: #CDB9AB; margin: 14px auto 0; max-width: 540px; font-size: 18px; }
.cta-band .btn--primary {
  background: var(--butter); color: #2B1B14; font-size: 18px; padding: 17px 38px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.32);
}
.cta-band .btn--primary:hover { background: #F4D183; transform: translateY(-3px); box-shadow: 0 8px 0 rgba(0, 0, 0, 0.32); }

/* ------- testimonials ------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.tst { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.tst__stars { color: var(--butter); letter-spacing: 3px; font-size: 17px; margin-bottom: 14px; }
.tst p { font-size: 16px; }
.tst footer { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.tst footer .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--terra-soft); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; color: var(--terra-deep); }
.tst footer b { font-family: var(--ff-display); font-size: 16px; display: block; line-height: 1.2; }
.tst footer span { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }

/* ------- footer (premium) ------- */
.footer {
  background: linear-gradient(180deg, #2D1D15 0%, #221610 100%);
  color: #C9B8AC; border-radius: 48px 48px 0 0;
  margin-top: 110px; padding: 88px 0 0; position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 400px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(239, 195, 104, 0.12), transparent 70%);
}
.footer a { color: #C9B8AC; text-decoration: none; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.footer__brand { padding-right: 20px; }
.footer__logo img { height: 62px; width: auto; }
.footer__social { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.footer__social a {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; place-items: center; color: #E4D5C8;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.footer__social a:hover { background: var(--butter); border-color: var(--butter); color: #2B1B14; transform: translateY(-3px); }
.footer__social svg { width: 24px; height: 24px; }
.footer__grid {
  position: relative; display: grid; grid-template-columns: 1.5fr 1.1fr 0.8fr 1.3fr; gap: 44px;
  padding: 0 0 64px;
}
.footer h4 {
  color: var(--butter); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 22px;
}
.footer ul { list-style: none; display: grid; gap: 12px; font-size: 15px; }
.footer__menu li { display: flex; align-items: center; gap: 9px; }
.footer__menu svg { width: 14px; height: 14px; color: var(--terra); flex-shrink: 0; }
.footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer__contact svg { width: 17px; height: 17px; color: var(--butter); flex-shrink: 0; margin-top: 3px; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 26px 0; font-size: 13.5px; color: #8D7B6F; }
.footer__bar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bar svg { width: 14px; height: 14px; color: var(--terra); vertical-align: -2px; }

/* ------- reveal on scroll ------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .rv.in { opacity: 1; transform: none; }
}

/* ------- responsive ------- */
@media (max-width: 980px) {
  .section { padding: 64px 0; }
  .svc-grid, .pkg-grid, .inc-grid, .tst-grid { grid-template-columns: 1fr 1fr; }
  .phero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .duo { height: 420px; max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mini-gal { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .svc-grid, .pkg-grid, .inc-grid, .tst-grid { grid-template-columns: 1fr; }
  .pkg--hot { transform: none; }
  .cta-band { padding: 56px 28px; }
  .duo { height: 330px; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__logo img { height: 46px; }
}

/* ==========================================================================
   PLAYFUL LAYER — shapes, scallops, candy buttons, icon polish
   ========================================================================== */

/* candy primary button */
.btn--primary { box-shadow: 0 4px 0 var(--terra-deep); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--terra-deep); }
.btn--primary:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--terra-deep); }

/* scalloped top edge — every section colour gets a matching divider */
.bg-blush, .bg-mint, .bg-butter, .bg-paper, .sc-cream { position: relative; }
.bg-blush::before, .bg-mint::before, .bg-butter::before, .bg-paper::before, .sc-cream::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background-size: 32px 16px; background-repeat: repeat-x; pointer-events: none;
}
.bg-blush::before  { background-image: radial-gradient(circle 16px at 16px 16px, var(--terra-soft) 15.5px, transparent 16.5px); }
.bg-mint::before   { background-image: radial-gradient(circle 16px at 16px 16px, var(--sage-soft) 15.5px, transparent 16.5px); }
.bg-butter::before { background-image: radial-gradient(circle 16px at 16px 16px, var(--butter-soft) 15.5px, transparent 16.5px); }
.bg-paper::before  { background-image: radial-gradient(circle 16px at 16px 16px, var(--paper) 15.5px, transparent 16.5px); }
.sc-cream::before  { background-image: radial-gradient(circle 16px at 16px 16px, var(--cream) 15.5px, transparent 16.5px); }

/* floating shapes on page heroes */
.phero::before, .hero::before {
  content: ""; position: absolute; top: 54px; right: 5%; width: 150px; height: 92px;
  background-image: radial-gradient(var(--terra) 2.4px, transparent 3.2px);
  background-size: 23px 23px; opacity: 0.32; pointer-events: none;
}
.phero::after, .hero::after {
  content: ""; position: absolute; bottom: 34px; left: 2.5%; width: 84px; height: 84px;
  border: 11px solid var(--butter); border-radius: 50%; opacity: 0.55; pointer-events: none;
}
.phero, .hero { position: relative; }
@media (max-width: 980px) {
  .phero::before, .hero::before, .phero::after, .hero::after { display: none; }
}

/* little tilt rhythm on sticker photos */
.mini-gal .photo:nth-child(odd) { transform: rotate(-1.2deg); }
.mini-gal .photo:nth-child(even) { transform: translateY(20px) rotate(1.2deg); }

/* home collage badge icon */
.collage__badge svg { width: 20px; height: 20px; color: var(--butter); display: block; margin: 0 auto 5px; }

/* generic inline lucide icon */
.ic { display: inline-block; }
svg.ic, .topbar svg { width: 16px; height: 16px; vertical-align: -3px; }

/* contact info icon colors */
.cinfo .inc__dot { color: #55846A; }
.cinfo .card:nth-child(2) .inc__dot { color: var(--terra-deep); }
.cinfo .card:nth-child(3) .inc__dot { color: #B5862F; }
.cinfo .card:nth-child(4) .inc__dot { color: #5E87A0; }

/* dashed ring behind centered section kickers */
.center .kicker { background: rgba(255, 255, 255, 0.5); }
