@import url("../arsenal/motif-window.css");
/* services/: the header (motif-window as it stands, the folded page as its shape), the six live service cards (all),
   the five chapters (group-*), the signature stage (mix). */

/* ---------- hero: motif-window's action box ---------- */
.svc-head__act { display: grid; justify-items: start; gap: var(--space-2); }
.svc-head__act .btn--main { --act: var(--c-brand); --act-on: var(--c-on-brand); }
.svc-head__promise { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; margin: 0; color: var(--mw-ink, var(--c-ink-soft)); font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 600; }
.svc-head__promise .icon { color: var(--c-accent); width: 1.15em; height: 1.15em; }
/* the action box is drawn once, live, over both the paper and the footage's shade (motif-window.js): its small line
   sits on a solid paper pill, so it reads on either (step 13) */
.svc-head__promise { padding: .35em .85em; border-radius: 99px; background: var(--c-paper); box-shadow: var(--shadow-s); color: var(--c-ink-soft); }
.svc-head__stop { top: 92px; right: max(16px, calc((100vw - var(--max-w)) / 2)); }

/* ---------- all: six paper cards on the designed ground, each with its small moment ---------- */
.all__head { max-width: 46rem; margin: 0 auto var(--space-5); text-align: center; }
.all__head h2 { margin-bottom: var(--space-2); }
.all__head .lede { margin: 0 auto; max-width: 34em; }
.all__ground { position: relative; isolation: isolate; padding: clamp(18px, 3vw, 40px); border-radius: var(--radius-l); background: var(--c-paper-alt); box-shadow: inset 0 0 0 1px var(--c-line); overflow: clip; }
.all__stop { top: 14px; right: 14px; }
.all__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.all__card { --lift: 0; position: relative; grid-column: span 4; container-type: inline-size; display: flex; flex-direction: column; gap: var(--space-3); padding: 22px; border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--paper-shadow); translate: 0 calc(var(--lift) * -6px); }
.all__card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: var(--shadow-l); opacity: var(--lift); pointer-events: none; }
.all__card:nth-child(1) { grid-column: span 7; }
.all__card:nth-child(2) { grid-column: span 5; }
.all__card--free { grid-column: 1 / -1; background: color-mix(in srgb, var(--c-brand-light) 55%, var(--c-paper)); }
.all__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.all__top h3 { margin: 0 0 .25rem; font-size: var(--fs-h3); }
.all__top p { margin: 0; color: var(--c-ink-soft); font-size: var(--fs-small); }
.all__tabs { display: grid; gap: 0; margin-top: auto; }
.all__card--free .all__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; }
.svc-tab { position: relative; display: grid; gap: .15rem; padding: .8rem 2rem .8rem 0; border-top: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; }
.svc-tab b { font-family: var(--font-ui); font-size: 1rem; font-weight: 700; line-height: 1.25; transition: color var(--dur-fast) var(--ease-out); }
.svc-tab span { color: var(--c-ink-soft); font-size: .9375rem; line-height: 1.4; }
.svc-tab .svc-tab__go { position: absolute; right: 2px; top: .95rem; color: var(--c-brand); transition: translate var(--dur-fast) var(--ease-out); }
.svc-tab:hover b, .svc-tab:focus-visible b { color: var(--c-brand-text); }
.svc-tab:hover .svc-tab__go { translate: 3px 0; }
@container (width < 420px) {
  .all__top { flex-direction: column-reverse; align-items: stretch; }
  .all__card .mo { width: 100%; }
}

/* a moment: a lavender box with its folded corner, its little drawing 200 x 112 in the middle */
.mo { --f: 16px; position: relative; flex: none; width: 210px; height: 118px; border-radius: 14px; background: var(--c-lavender); clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%); overflow: hidden; }
.mo::after { content: ""; position: absolute; top: 0; right: 0; width: var(--f); height: var(--f); background: var(--c-lavender-deep); clip-path: polygon(0 0, 0 100%, 100% 100%); border-bottom-left-radius: 3px; }
.mo__in { position: absolute; left: 50%; top: 3px; width: 200px; height: 112px; margin-left: -100px; font-family: var(--font-ui); color: var(--c-ink); }
.mo svg { display: block; width: 100%; height: 100%; }
.mo__chip { position: absolute; right: 8px; bottom: 9px; padding: 3px 10px; border-radius: 99px; background: var(--c-paper); color: var(--c-brand-text); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-s); white-space: nowrap; }
.mo__card { position: absolute; left: 10px; right: 10px; top: 10px; display: grid; gap: 6px; padding: 9px 11px; border-radius: 10px; background: var(--c-paper); box-shadow: var(--shadow-s); }
.mo__card b { font-size: 14px; font-weight: 700; line-height: 1.2; }
.mo__card small { color: var(--c-ink-soft); font-size: 13px; line-height: 1.2; }
/* found: a little map, your pin drops in */
.mo__map { position: absolute; inset: 0; }
.mo__road { position: absolute; height: 8px; border-radius: 8px; background: var(--c-paper); }
.mo__road--1 { left: -10px; right: -10px; top: 46px; rotate: -8deg; }
.mo__road--2 { top: -20px; bottom: -20px; left: 92px; width: 8px; height: auto; rotate: 14deg; }
.mo__pin { position: absolute; width: 22px; height: 22px; fill: var(--c-paper); stroke: color-mix(in srgb, var(--c-ink) 40%, transparent); stroke-width: 1.6; }
.mo__pin--a { left: 30px; top: 20px; }
.mo__pin--b { left: 140px; top: 60px; }
.mo__pin--you { left: 80px; top: 18px; width: 34px; height: 34px; fill: var(--c-brand); stroke: var(--c-paper); stroke-width: 1.4; filter: drop-shadow(0 4px 4px color-mix(in srgb, var(--c-ink) 25%, transparent)); }
/* chosen: a review card, five stars land */
.mo__who { display: flex; align-items: center; gap: 8px; }
.mo__who > span { display: grid; }
.mo__avatar { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-brand-light); color: var(--c-brand-text); font-size: 13px; font-style: normal; font-weight: 700; }
.mo__stars { display: flex; gap: 3px; height: 22px; }
.mo__stars svg { width: 22px; height: 22px; fill: var(--c-gold); }
/* click: an ad, the pointer taps Call */
.mo__card--ad { right: 10px; padding-right: 64px; gap: 2px; }
.mo__btn { position: absolute; right: 9px; top: 50%; translate: 0 -50%; padding: 5px 11px; border-radius: 99px; background: var(--c-brand); color: var(--c-on-brand); font-size: 13px; font-weight: 700; }
.mo__pointer { position: absolute; left: 172px; top: 54px; width: 22px; height: 22px; fill: var(--c-ink); stroke: var(--c-paper); stroke-width: 1.2; }
.mo--click .mo__chip { left: 10px; right: auto; }
/* waiting: a question, the dots, the booking */
.mo__msg { position: absolute; padding: 5px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-s); }
.mo__msg--them { left: 8px; top: 10px; background: var(--c-paper); border-bottom-left-radius: 4px; }
.mo__msg--dots { left: 8px; top: 44px; display: flex; gap: 4px; padding: 9px 11px; background: var(--c-paper); }
.mo__msg--dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink-soft); }
.mo__msg--us { right: 8px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; background: var(--c-brand); color: var(--c-on-brand); border-bottom-right-radius: 4px; }
.mo__msg--us .icon { width: 14px; height: 14px; }
/* know: the month's count turns over by one, its source under it */
.mo__card--count { right: auto; width: 150px; }
.mo__num { position: relative; display: block; height: 32px; overflow: hidden; font-family: var(--font-display); font-size: 30px; line-height: 32px; color: var(--c-brand-text); font-variant-numeric: tabular-nums; }
.mo__num span { display: block; height: 32px; }
/* free: the plan page rises out of its pocket, "Free" stamps on it */
.mo__pocket { position: absolute; left: 22px; right: 22px; bottom: 0; height: 30px; z-index: 2; border-radius: 10px 10px 0 0; background: var(--c-lavender-deep); }
.mo__page { position: absolute; left: 36px; right: 36px; top: 12px; height: 92px; display: grid; align-content: start; gap: 2px; padding: 10px 12px; border-radius: 8px; background: var(--c-paper); box-shadow: var(--shadow-s); }
.mo__page b { font-size: 14px; font-weight: 700; }
.mo__page small { font-size: 13px; color: var(--c-ink-soft); }
.mo__stamp { position: absolute; z-index: 3; right: 18px; top: 52px; padding: 2px 10px; border: 2px solid var(--c-brand); border-radius: 99px; color: var(--c-brand-text); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; rotate: -8deg; background: var(--c-paper); }

/* ---------- the chapters ---------- */
.group__title { max-width: 18em; margin-bottom: var(--space-2); }
.group__lede { max-width: 34em; margin: 0 0 var(--space-5); }
.group__h { margin: 0 0 var(--space-2); font-size: var(--fs-h2); }
.group__links { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.hubpic { aspect-ratio: auto; height: 560px; }
.hubpic > .sees__scene { inset: 0; }
.hubpic--know > .sees__scene { inset: auto; left: 24px; top: 50%; translate: 0 -50%; width: min(380px, calc(100% - 48px)); height: 290px; }

@media (max-width: 959px) {
  .all__card, .all__card:nth-child(1), .all__card:nth-child(2) { grid-column: 1 / -1; }
  .all__card--free .all__tabs { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  .svc-head__stop { top: 76px; right: 12px; }
  .all__ground { margin-inline: calc(-1 * var(--gutter) + 8px); padding: 12px; }
  .all__card { padding: 18px; }
  .hubpic { height: 440px; }
  .hubpic--found { height: 520px; }
  .hubpic--click { height: 480px; }
  .hubpic--know > .sees__scene { left: 12px; right: 12px; width: auto; top: auto; bottom: 12px; translate: none; }
}
@media (prefers-reduced-motion: reduce) { .all__card { translate: none; } }

/* the thesis (flat paper, no gradient): the copied scenes' light-look gradients made flat here, the shared files untouched */
html [data-scene="funnel"] .fn-panel { background-image: none; }
html [data-scene="funnel"] .fn-wave i { background: var(--c-accent); }
html [data-scene="callbook"] .cb-msg { background: var(--c-brand); }
html [data-scene="leads"] .ld-board { background: color-mix(in srgb, var(--c-ink) 90%, var(--c-brand)); }
