:root {
  --teal: #1f7a8c;
  --teal-dark: #0b3c49;
  --aqua: #2fb6c9;
  --sun: #ffd23f;
  --sun-dark: #f4b400;
  --orange: #ff7a00;
  --coral: #ff5d8f;
  --cream: #fff8e7;
  --paper: #fffdf7;
  --ink: #163b43;
  --muted: #5a7a82;
  --shadow: 0 10px 30px rgba(11, 60, 73, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.15; color: var(--teal-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
a { color: var(--teal); }

.container { width: min(1140px, 92%); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 60, 73, 0.08);
}
.nav { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800;
  font-family: "Baloo 2", sans-serif; font-size: 1.3rem; color: var(--teal-dark); text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.nav-links { display: flex; gap: 1.1rem; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--teal-dark); padding: .3rem .2rem; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

.cart-btn {
  position: relative; border: none; cursor: pointer;
  background: var(--sun); color: var(--teal-dark); font-weight: 800;
  padding: .55rem 1rem; border-radius: 999px; font-size: .95rem;
  box-shadow: 0 4px 0 var(--sun-dark);
}
.cart-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sun-dark); }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--coral); color: #fff; border-radius: 999px;
  min-width: 22px; height: 22px; font-size: .78rem; line-height: 22px;
  text-align: center; padding: 0 5px; font-weight: 800;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: none; text-decoration: none;
  font-weight: 800; font-family: inherit; border-radius: 999px;
  padding: .8rem 1.5rem; font-size: 1rem; transition: transform .08s ease;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 5px 0 #c95f00; }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #c95f00; }
.btn-secondary { background: var(--teal); color: #fff; box-shadow: 0 5px 0 var(--teal-dark); }
.btn-secondary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--teal-dark); border: 2px solid rgba(11,60,73,.15); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
  padding: 3.2rem 0 3.6rem; }
.hero .eyebrow {
  display: inline-block; background: #fff; color: var(--orange);
  font-weight: 800; padding: .35rem .9rem; border-radius: 999px;
  box-shadow: var(--shadow); margin-bottom: 1rem; font-size: .85rem; letter-spacing: .02em;
}
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-art img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); }
.hero-stats { display: flex; gap: 1.6rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: "Baloo 2", sans-serif;
  font-size: 1.6rem; color: var(--teal-dark); }
.hero-stats div span { color: var(--muted); font-size: .9rem; }

.wave { display: block; width: 100%; height: 60px; }

/* ---------- Sections ---------- */
section { padding: 3.4rem 0; }
.section-head { max-width: 60ch; margin: 0 auto 2.2rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
  text-align: center; }
.step .num { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto .8rem;
  background: var(--sun); color: var(--teal-dark); font-weight: 800; font-size: 1.4rem;
  border-radius: 50%; font-family: "Baloo 2", sans-serif; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-ducks { grid-template-columns: repeat(3, 1fr); }
.grid-services { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(11,60,73,.18); }
.card .thumb { background: linear-gradient(160deg, #eafaff, #fff4d9); }
.card .thumb img { display: block; width: 100%; height: auto; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; }
.tag { align-self: flex-start; font-size: .76rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; background: #eafaff; color: var(--teal); padding: .25rem .7rem; border-radius: 999px; }
.tag.kummitettu { background: #ffe3ec; color: var(--coral); }
.card .desc { color: var(--muted); font-size: .95rem; flex: 1; }
.card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; gap: .6rem; }
.price { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--teal-dark); }
.price small { font-weight: 600; color: var(--muted); font-size: .8rem; }

.service-icon { font-size: 2rem; }
.card.service { padding: 1.4rem; }
.card.service .meta { margin-top: auto; }

/* ---------- Band / testimonials ---------- */
.band { background: var(--teal); color: #fff; }
.band h2 { color: #fff; }
.band .muted { color: #cdeef3; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.14); }
.quote p { margin: 0 0 .8rem; font-style: italic; }
.quote .who { font-weight: 800; }

.faq { max-width: 760px; margin-inline: auto; }
details.qa { background: var(--paper); border-radius: 14px; padding: .3rem 1.1rem; margin-bottom: .8rem;
  box-shadow: var(--shadow); }
details.qa summary { cursor: pointer; font-weight: 800; padding: .8rem 0; color: var(--teal-dark); list-style: none; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; float: right; font-size: 1.3rem; color: var(--orange); }
details.qa[open] summary::after { content: "–"; }
details.qa p { margin: 0 0 1rem; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--sun), var(--orange)); color: var(--teal-dark);
  border-radius: 26px; padding: 2.6rem; text-align: center; box-shadow: var(--shadow); }
.cta-banner h2 { color: var(--teal-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-dark); color: #cfe7ec; padding: 2.6rem 0 1.6rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
.site-footer h4 { color: #fff; margin: 0 0 .6rem; }
.site-footer a { color: #cfe7ec; text-decoration: none; display: block; padding: .15rem 0; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.6rem; padding-top: 1rem;
  font-size: .85rem; opacity: .8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(180deg, #eafaff, var(--cream)); padding: 2.6rem 0 2rem; text-align: center; }
.page-hero p { color: var(--muted); max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }

/* ---------- Cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(11,60,73,.45); opacity: 0; visibility: hidden;
  transition: opacity .25s ease; z-index: 60; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92%);
  background: var(--paper); box-shadow: -10px 0 40px rgba(11,60,73,.2);
  transform: translateX(100%); transition: transform .28s ease; z-index: 61;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem;
  border-bottom: 1px solid rgba(11,60,73,.1); }
.drawer-head h3 { margin: 0; }
.drawer-close { border: none; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.drawer-body { padding: 1rem 1.2rem; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 1.2rem; border-top: 1px solid rgba(11,60,73,.1); }
.drawer-foot .total { display: flex; justify-content: space-between; font-weight: 800;
  font-size: 1.2rem; margin-bottom: 1rem; font-family: "Baloo 2", sans-serif; }
.empty-cart { text-align: center; color: var(--muted); padding: 2rem 0; }

.line { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed rgba(11,60,73,.12); }
.line img { width: 52px; height: 52px; border-radius: 12px; background: #eafaff; }
.line .info { flex: 1; }
.line .info strong { display: block; }
.line .info small { color: var(--muted); }
.line .qty { display: flex; align-items: center; gap: .4rem; }
.line .qty button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(11,60,73,.18);
  background: #fff; cursor: pointer; font-weight: 800; color: var(--teal-dark); }
.line .remove { border: none; background: none; cursor: pointer; color: var(--coral); font-size: .85rem; }

.notice { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--teal-dark); color: #fff; padding: .8rem 1.3rem; border-radius: 999px;
  box-shadow: var(--shadow); opacity: 0; transition: all .25s ease; z-index: 70; font-weight: 700; }
.notice.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* requires a duck */
.needs-duck { background: #fff7e0; border: 1px solid #ffe09a; color: #8a6400; border-radius: 12px;
  padding: .7rem 1rem; font-size: .9rem; margin-bottom: 1rem; }

/* ---------- Confirmation / kummi page ---------- */
.adopt-state { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem; text-align: center; }
.adopt-state img { width: 140px; height: 140px; }
.badge-cert { border: 3px dashed var(--sun-dark); border-radius: var(--radius); padding: 1.6rem; background: #fffdf3; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .hero-cta, .hero-stats { justify-content: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-art { order: -1; }
  .steps, .grid-ducks, .grid-services, .quotes, .footer-grid { grid-template-columns: 1fr; }
  .grid-ducks, .grid-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .grid-ducks, .grid-services { grid-template-columns: 1fr; }
}
