/* Services (PLAN.md 3.2 + 2.2): petcare territory, the most colourful page, a calm reference. */

/* ---- 1 title ---- */
.svc-head .lead { margin-top: 1.1rem; }
.svc-head__why { font-size: 1.4rem; line-height: 1.2; color: var(--petcare-deep); margin-top: 0.8rem; max-width: 30rem; }
.hours { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.hours li { padding: 0.4rem 0.8rem; background: var(--paper-raised); border-radius: 999px; box-shadow: inset 0 0 0 2px var(--rule-strong); font-size: 0.92rem; }
.hours b { font-weight: 800; margin-right: 0.3rem; }

/* ---- 2 sticky jump chips ---- */
.svc-jumps { position: sticky; top: var(--strip-h); z-index: 30; background: rgb(253 248 238 / 0.94); backdrop-filter: blur(6px); border-bottom: 2px dashed var(--rule); }
.svc-jumps__row { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.55rem 16px; scrollbar-width: none; max-width: var(--sc-wrap, 72rem); margin: 0 auto; }
.svc-jumps__row::-webkit-scrollbar { display: none; }
.svc-jumps a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0.25rem 0.85rem; border-radius: 999px; background: var(--petcare-soft); font-weight: 800; font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.services section[id] { scroll-margin-top: calc(var(--strip-h) + 64px); }

/* ---- shared section layout ---- */
.svc { display: grid; gap: 2rem; }
.svc__main > * + * { margin-top: 1rem; }
.svc__sub { font-weight: 800; font-size: 1.15rem; margin-top: 1.8rem !important; }
.svc__per { display: block; font-weight: 400; font-size: 0.9rem; color: var(--ink-muted); }
.svc__aside { font-size: 0.95rem; color: var(--ink-muted); }
.svc__print { --w: min(76vw, 21rem); justify-self: center; }
.svc__prints { display: grid; justify-items: center; }
.svc__print--2 { margin-top: -2rem; margin-left: 20vw; --w: min(56vw, 16rem); z-index: 3; }
.stickers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.price__num--word { font-size: 1.4rem; }
.ticks { display: grid; gap: 0.45rem; padding: 0; margin: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.6rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.42em; width: 0.95rem; height: 0.55rem; border-left: 3px solid var(--petcare-deep); border-bottom: 3px solid var(--petcare-deep); rotate: -45deg; }

/* closed folds */
.fold { margin-top: 1.4rem !important; background: var(--paper-raised); border-radius: 6px; box-shadow: inset 0 0 0 2px var(--rule); }
.fold summary { cursor: pointer; padding: 0.85rem 1rem; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 48px; align-items: center; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--petcare-deep); }
.fold[open] summary::after { content: "\2212"; }
.fold > :not(summary) { margin: 0 1rem 0.9rem; }
.fold p { line-height: 1.55; }
.steps--small { gap: 1rem; margin-top: 0.4rem !important; }
.steps--small .knot { --c: var(--petcare); --c-deep: var(--petcare-deep); }
.fold__end { font-size: 1.35rem; color: var(--petcare-deep); }

/* boarding rates */
.rates { padding: 0.6rem 1.1rem 0.9rem; }
.rate { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 2px dashed var(--rule); }
.rate__what { display: grid; gap: 0.1rem; }
.rate__what b { font-weight: 800; }
.rate__what span { font-size: 0.88rem; color: var(--ink-muted); }
.rate__price { flex: none; text-align: right; font-family: var(--sc-font-display); font-size: 1.3rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.rate__price small { font-family: var(--sc-font-text); font-size: 0.75rem; font-weight: 700; color: var(--ink-muted); }
.rates__note { font-size: 0.85rem; color: var(--ink-muted); padding-top: 0.6rem; }
.packs { display: grid; gap: 1rem; }
.pack { padding: 0.9rem 1rem 1rem; border-radius: 12px; background: var(--c-soft); rotate: var(--r, 0deg); box-shadow: var(--shadow-sticker); }
.pack__name { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.35rem; display: block; }
.pack__price { font-weight: 800; }
.pack p { font-size: 0.93rem; line-height: 1.5; margin-top: 0.35rem; }
.pack__list { padding: 0; margin: 0.4rem 0 0; list-style: none; display: grid; gap: 0.25rem; font-size: 0.93rem; }
.pack__list li { display: flex; justify-content: space-between; gap: 0.6rem; border-bottom: 1px dashed rgb(42 35 28 / 0.25); padding-bottom: 0.2rem; }
.pack__list span { font-weight: 800; flex: none; }
.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.other { padding: 0.75rem 0.85rem; background: var(--paper-raised); border-radius: 8px; box-shadow: inset 0 0 0 2px var(--rule); }
.other b { display: block; font-weight: 800; }
.other__price { display: block; font-family: var(--sc-font-display); font-size: 1.2rem; margin-top: 0.1rem; }
.other p { font-size: 0.86rem; line-height: 1.45; margin-top: 0.3rem; color: var(--ink-muted); }

/* ---- 5 a day here: the chalkboard ---- */
.board { position: relative; max-width: 40rem; padding: 1.4rem 1.4rem 1.6rem; background: var(--board); color: var(--chalk); border-radius: 6px; box-shadow: 0 0 0 10px #8a5a33, 0 0 0 12px #6d4527, var(--shadow-note); }
.board__title { font-size: 2.2rem; line-height: 1; margin-bottom: 0.8rem; }
.board__lines { padding: 0; margin: 0; list-style: none; display: grid; gap: 0.55rem; font-size: 1.45rem; line-height: 1.2; }
.board__lines b { font-weight: 700; color: #F6D776; margin-right: 0.3rem; }
.board.is-chalk .board__title, .board.is-chalk li { clip-path: inset(0 100% 0 0); transition: clip-path 900ms cubic-bezier(.4,.1,.3,1); }
.board.is-chalk li:nth-child(1) { transition-delay: 450ms; } .board.is-chalk li:nth-child(2) { transition-delay: 1050ms; }
.board.is-chalk li:nth-child(3) { transition-delay: 1650ms; } .board.is-chalk li:nth-child(4) { transition-delay: 2250ms; }
.board.is-written .board__title, .board.is-written li { clip-path: inset(0 0 0 0); }
.day__text { max-width: 40rem; margin-top: 2.6rem; display: grid; gap: 0.9rem; line-height: 1.6; }

/* ---- 6 grooming ---- */
.grooms { display: grid; gap: 1.2rem; }
.groom h3 { font-weight: 800; font-size: 1.1rem; }
.groom p { font-size: 0.95rem; line-height: 1.55; margin-top: 0.3rem; }
.groom--plain { background: var(--paper-sunken); box-shadow: inset 0 0 0 2px var(--rule-strong); }
.add { max-width: 40rem; margin-top: 2.4rem; }
.add > * + * { margin-top: 0.6rem; }

/* ---- 7 before you come ---- */
.check { max-width: 44rem; }
.check > * + * { margin-top: 0.7rem; }
#training .add { margin-top: 0; }

/* ---- 9 reviews ---- */
.reviews { display: grid; gap: 1.4rem; }
.review .hand { font-size: 1.3rem; line-height: 1.2; }
.review__who { font-weight: 800; font-size: 0.88rem; color: var(--ink-muted); margin-top: 0.5rem; }
.svc__pay { margin-top: 1.8rem; font-size: 0.95rem; color: var(--ink-muted); }

/* ---- phone: Book and Text always in reach ---- */
.svc-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 0.6rem; justify-content: center; padding: 0.6rem 16px calc(0.6rem + env(safe-area-inset-bottom)); background: rgb(253 248 238 / 0.96); box-shadow: 0 -2px 10px rgb(42 35 28 / 0.12); }
.svc-bar .btn { flex: 1; max-width: 12rem; justify-content: center; }
.services .door { padding-bottom: 5.5rem; }

@media (min-width: 600px) {
  .stickers { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
  .packs { grid-template-columns: 1fr 1fr; }
  .others { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grooms, .reviews { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) {
  .svc { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 3.5rem; align-items: start; }
  .svc--wide { grid-template-columns: minmax(0, 1fr); max-width: 60rem; }
  .svc__print { --w: min(26vw, 22rem); position: sticky; top: calc(var(--strip-h) + 80px); }
  .svc__prints { position: sticky; top: calc(var(--strip-h) + 80px); }
  .svc__prints .svc__print { position: static; }
  .svc__print--2 { margin-left: 8vw; --w: min(20vw, 17rem); }
  .svc-bar { display: none; }
  .services .door { padding-bottom: 0; }
  #day .sc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .day__text { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .board .board__title, .board li { clip-path: none !important; transition: none !important; } }
