/* =========================================================
   Packages
   ========================================================= */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Hero (same pattern as How it works) ---------- */
.pk-hero { padding: 96px var(--pad-x) 72px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.pk-hero .t-eyebrow { color: var(--muted-foreground); }
.pk-hero h1 { max-width: 1040px; color: var(--muted-foreground); }
.pk-hero h1 em { font-style: normal; color: var(--foreground); }
.pk-hero__lead { max-width: 680px; color: var(--muted-foreground); }
.pk-hero__photo { position: relative; width: 100%; height: 560px; border-radius: 28px; overflow: hidden; text-align: left; }
.pk-hero__photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo-note {
  position: absolute; left: 24px; bottom: 24px; width: 460px; max-width: calc(100% - 48px);
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(20,20,20,.82); color: #fff;
}
.photo-note p:first-child { font-weight: 500; font-size: 14px; line-height: 20px; }
.photo-note p:last-child { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.72); }

.js .pk-hero__photo[data-enter] {
  clip-path: inset(3% 2% 0 2% round 28px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out), clip-path 1100ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger) + 80ms);
}
.js .is-loaded .pk-hero__photo[data-enter] { clip-path: inset(0 0 0 0 round 28px); }
.js .pk-hero__photo .photo-note { opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--ease-out) 700ms, transform 600ms var(--ease-out) 700ms; }
.js .is-loaded .pk-hero__photo .photo-note { opacity: 1; transform: none; }

/* ---------- Section rhythm (Figma 112px) ---------- */
.pk-section { padding: 112px var(--pad-x); }
.pk-section .section-head { gap: 14px; max-width: 720px; }

/* ---------- Package cards ---------- */
.pk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; align-items: stretch; }
.pk-card { background-color: var(--card); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; --layer: var(--ink); }
/* Package colours follow their services (07 §5): a bar of each family across the top */
.pk-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--pk-bar); }
.pk-card--grounds { --pk-bar: var(--svc-lawn); }
.pk-card--inside  { --pk-bar: var(--svc-clean); }
.pk-card--inout   { --pk-bar: linear-gradient(to right, var(--svc-clean) 50%, var(--svc-lawn) 50%); }
.pk-card--whole   { --pk-bar: linear-gradient(to right, var(--svc-clean) 33.3%, var(--svc-lawn) 33.3% 66.6%, var(--svc-extra) 66.6%); }
.pk-card__desc { color: var(--muted-foreground); }
.pk-card__services { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.pk-card__services li { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 16px; }
.pk-card__services .ico { --s: 16px; }
.pk-card__price { border-top: 1px solid var(--border-subtle); padding-top: 14px; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.pk-card__price .t-h3 { font-variant-numeric: tabular-nums; }
.pk-card__price .t-small { color: var(--muted-foreground); }
.pk-card .btn { width: 100%; border-color: var(--foreground); }
@media (hover: hover) and (pointer: fine) {
  .pk-card .btn--outline:hover { background: var(--foreground); color: var(--background); }
}
.pk-card .btn--outline { transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }

/* ---------- What's included table ---------- */
.pk-table-wrap { width: 100%; background: var(--background); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.pk-table { width: 100%; border-collapse: collapse; }
.pk-table th, .pk-table td { padding: 16px 0 16px 16px; text-align: right; vertical-align: middle; border-bottom: 1px solid var(--border-subtle); }
.pk-table tr > :first-child { padding-left: 24px; text-align: left; }
.pk-table tr > :last-child { padding-right: 24px; }
.pk-table tbody tr:last-child > * { border-bottom: 0; }
.pk-table thead th { background: var(--muted); font-size: 12px; line-height: 16px; font-weight: 500; }
.pk-table thead th:not(:first-child) { width: 186px; }
.pk-table thead th:last-child { width: 210px; }
.pk-table tbody th { font-weight: 400; font-size: 14px; line-height: 20px; }
.pk-table td .ico { --s: 18px; display: inline-block; vertical-align: middle; }
.pk-table .dash { font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.pk-note { color: var(--muted-foreground); }

/* Table rows settle in one after another */
.js .pk-table tbody tr[data-reveal] { transform: translateY(8px); }
.js .pk-table tbody tr[data-reveal].is-in { transform: none; }

/* ---------- Split (Add-ons) ---------- */
.split { display: flex; align-items: center; gap: 80px; width: 100%; }
.split__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split__copy .t-eyebrow, .split__copy .t-lead { color: var(--muted-foreground); }
.split__photo { position: relative; width: 520px; aspect-ratio: 1; flex-shrink: 0; border-radius: 20px; overflow: hidden; }
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; }
.ticks .ico { --s: 18px; }

/* ---------- Questions ---------- */
.pk-faq .faq-head { gap: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .split { gap: 56px; }
  .split__photo { width: min(520px, 46%); }
  .pk-table thead th:not(:first-child) { width: 150px; }
  .pk-table thead th:last-child { width: 174px; }
}
@media (max-width: 1180px) {
  .pk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .pk-hero { padding: 32px var(--pad-x) 40px; gap: 20px; align-items: flex-start; text-align: left; }
  .pk-hero__lead { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
  .pk-hero__photo { height: 400px; border-radius: 20px; }
  .js .pk-hero__photo[data-enter] { clip-path: inset(3% 2% 0 2% round 20px); }
  .js .is-loaded .pk-hero__photo[data-enter] { clip-path: inset(0 0 0 0 round 20px); }
  .photo-note { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: 460px; }

  .pk-section { padding: 64px var(--pad-x); gap: 28px; }
  .pk-section .section-head { gap: 10px; }
  .pk-section .section-head .t-lead { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }

  .pk-table th, .pk-table td { padding: 12px 0 12px 4px; }
  .pk-table tr > :first-child { padding-left: 12px; }
  .pk-table tr > :last-child { padding-right: 12px; }
  .pk-table thead th:not(:first-child) { width: 56px; }
  .pk-table thead th:last-child { width: 68px; }
  .pk-table tbody th { font-size: 12px; line-height: 16px; }

  .split { flex-direction: column; align-items: stretch; gap: 24px; }
  .split--photo-first .split__photo { order: 2; }
  .split__copy { gap: 14px; }
  .split__copy .t-lead { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
  .split__photo { width: 100%; aspect-ratio: auto; height: 360px; }

  .pk-faq { gap: 28px; }
  .pk-faq .faq-head { gap: 10px; }
}
@media (max-width: 560px) {
  .pk-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js .pk-hero__photo[data-enter], .js .is-loaded .pk-hero__photo[data-enter] { clip-path: none; }
  .js .pk-hero__photo .photo-note { transform: none !important; }
  .js .pk-table tbody tr[data-reveal] { transform: none; }
}
