/* ===== Packages page (/review/packages/): pick a family, then the packages in it. Site palette, Georgia + Lato. ===== */
.pk {
  --brand: #b5106a;
  --brand-hover: #d63384;
  --ink: #313131;
  --muted: #584048;
  --soft: #6e5862;
  --line: #e9cbe1;
  --line-strong: #d49ab9;
  --blush: #fdf7fb;
  --blush-2: #f7f3f6;
  --pink: #ffdaf9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--sans);
  color: var(--ink);
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px 0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.pk *, .pk *::before, .pk *::after { box-sizing: border-box; }
.pk ::selection { background: var(--pink); color: var(--ink); }
.pk :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.pk h1, .pk h2, .pk h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: 0; }
.pk p { margin: 0; }
.pk ul, .pk ol { margin: 0; padding: 0; list-style: none; }
.pk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ----- head ----- */
.pk-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.pk-head h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.pk-head p { margin-top: 12px; font-size: 17px; color: var(--muted); text-wrap: pretty; }

/* ----- most-chosen shortcuts ----- */
.pk-top { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.pk-top-label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.pk-top ul { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.pk-top button { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.pk-top button:hover { border-color: var(--brand); background: var(--blush); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(181, 16, 106, 0.6); }
.pk-top img { width: 30px; height: 30px; border-radius: 50%; background: var(--blush); object-fit: contain; padding: 3px; flex: none; }
.pk-top span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 14px; }
.pk-top small { font-size: 11.5px; font-weight: 400; color: var(--soft); }
.pk-row { scroll-margin-top: 170px; }
.pk-row.is-hit { animation: pk-hit 1.6s var(--ease) both; }
@keyframes pk-hit { 0% { background: var(--blush); box-shadow: 0 0 0 12px var(--blush); } 100% { background: transparent; box-shadow: 0 0 0 12px transparent; } }

/* ----- family chooser ----- */
.pk-families { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pk-family {
  display: flex; align-items: center; gap: 16px; text-align: left; width: 100%;
  padding: 18px 18px 18px 16px; border: 1.5px solid var(--line); border-radius: 24px; background: var(--blush);
  font: inherit; color: var(--ink); cursor: pointer; position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.pk-family:hover { border-color: var(--line-strong); background: #fff; }
.pk-family.is-on { background: #fff; border-color: var(--brand); box-shadow: 0 18px 36px -22px rgba(181, 16, 106, 0.55), 0 2px 0 0 var(--brand) inset; }
.pk-family.is-on::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 18px; height: 18px; background: #fff; border-right: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); transform: translateX(-50%) rotate(45deg); }
.pk-family-art { flex: none; width: 80px; height: 80px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 1px 0 var(--line) inset; }
.pk-family.is-on .pk-family-art { background: var(--blush); }
.pk-family-art img { width: 60px; height: 60px; object-fit: contain; display: block; transition: transform 0.4s var(--ease); }
.pk-family:hover .pk-family-art img, .pk-family.is-on .pk-family-art img { transform: scale(1.06); }
.pk-family-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pk-family-name { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.pk-family-short { display: none; }
.pk-family-line { font-size: 14px; color: var(--muted); line-height: 1.4; }
.pk-family-count { font-size: 13px; font-weight: 700; color: var(--brand); margin-top: 2px; }

/* ----- panel ----- */
.pk-panel { margin-top: 40px; scroll-margin-top: 170px; animation: pk-in 0.45s var(--ease) both; }
@keyframes pk-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pk-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.pk-panel-head h2 { font-size: 28px; line-height: 1.2; }
.pk-parent { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--brand); text-decoration: none; white-space: nowrap; }
.pk-parent:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.pk-parent svg { width: 16px; height: 16px; }

/* ----- package rows ----- */
.pk-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 284px; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pk-row:last-child { border-bottom: 0; }
.pk-stage { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.pk-stage-n { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.pk-stage-label { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--soft); line-height: 1.3; }
.pk-name { font-size: 26px; line-height: 1.2; }
.pk-tagline { margin-top: 4px; font-size: 15px; color: var(--soft); }
.pk-summary { margin-top: 12px; font-size: 16px; max-width: 64ch; color: #463640; text-wrap: pretty; }
.pk-groups { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pk-groups li { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--blush); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; line-height: 1.3; }
.pk-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 6px 0; border: 0; background: none; font: inherit; font-weight: 700; font-size: 14px; color: var(--brand); cursor: pointer; }
.pk-more:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.pk-more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.pk-row.is-open .pk-more svg { transform: rotate(180deg); }
.pk-detail { margin-top: 18px; padding: 22px 24px; background: var(--blush-2); border-radius: 18px; animation: pk-in 0.35s var(--ease) both; }
.pk-detail[hidden] { display: none; }
.pk-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.pk-group h4, .pk-for h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.pk-group li, .pk-for li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; margin: 0 0 5px; color: #463640; }
.pk-group li::before, .pk-for li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 13px; height: 13px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5106a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 9px no-repeat; }
.pk-for { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.pk-note { margin-top: 16px; font-size: 13.5px; color: var(--soft); max-width: 70ch; }

/* ----- actions column ----- */
.pk-actions { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.pk-price { display: flex; flex-direction: column; margin-bottom: 8px; }
.pk-price-from { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); }
.pk-price strong { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink); }
.pk-price.is-ask strong { font-size: 19px; line-height: 1.25; }
.pk-price-note { margin-top: 6px; font-size: 13px; color: var(--soft); line-height: 1.4; }
.pk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; white-space: nowrap; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1.1; box-shadow: 0 10px 22px -12px rgba(181, 16, 106, 0.75); transition: background 0.15s, transform 0.2s var(--ease), box-shadow 0.2s; }
.pk-btn:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(181, 16, 106, 0.75); }
.pk-btn:active { transform: none; }
.pk-btn.is-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line-strong); box-shadow: none; }
.pk-btn.is-ghost:hover { background: var(--blush); border-color: var(--brand); color: var(--brand); transform: none; }

/* ----- help strip ----- */
.pk-help { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 48px 0 72px; padding: 30px 36px; background: var(--blush); border-radius: 28px; }
.pk-help h2 { font-size: 24px; line-height: 1.2; }
.pk-help p { margin-top: 8px; color: var(--muted); max-width: 56ch; }
.pk-help-actions { display: flex; gap: 10px; flex: none; }

/* ----- tablet ----- */
@media (max-width: 999.98px) {
  .pk { padding-top: 28px; }
  .pk-families { gap: 12px; }
  .pk-family { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 14px 16px; }
  .pk-family-text { align-items: center; }
  .pk-family-line { display: none; }
  .pk-panel, .pk-row { scroll-margin-top: 100px; }
  .pk-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .pk-stage { flex-direction: row; align-items: baseline; gap: 10px; padding: 0; }
  .pk-stage-n { font-size: 22px; }
  .pk-actions { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px 18px; }
  .pk-price { flex: 1 1 100%; margin-bottom: 2px; }
  .pk-price strong { font-size: 24px; }
  .pk-help { flex-direction: column; align-items: flex-start; padding: 26px 24px; margin-bottom: 56px; }
}

/* ----- phone ----- */
@media (max-width: 689.98px) {
  .pk { padding: 20px 16px 0; }
  .pk-head { margin-bottom: 22px; }
  .pk-head h1 { font-size: 30px; }
  .pk-head p { font-size: 15px; }
  .pk-top { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; padding-bottom: 18px; }
  .pk-top ul { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .pk-top ul::-webkit-scrollbar { display: none; }
  .pk-top li { flex: none; scroll-snap-align: start; }
  .pk-families { gap: 8px; }
  .pk-family { gap: 8px; padding: 12px 6px 12px; border-radius: 18px; }
  .pk-family.is-on::after { bottom: -9px; width: 14px; height: 14px; }
  .pk-family-art { width: 56px; height: 56px; }
  .pk-family-art img { width: 42px; height: 42px; }
  .pk-family-text { align-items: center; }
  .pk-family-full { display: none; }
  .pk-family-short { display: block; font-size: 16px; }
  .pk-family-count { font-size: 12px; margin-top: 0; }
  .pk-panel { margin-top: 30px; }
  .pk-panel-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pk-panel-head h2 { font-size: 24px; }
  .pk-name { font-size: 22px; }
  .pk-summary { font-size: 15px; }
  .pk-detail { padding: 18px 16px; }
  .pk-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .pk-actions { flex-direction: column; align-items: stretch; }
  .pk-btn { width: 100%; }
  .pk-help { padding: 22px 18px; margin: 36px 0 48px; }
  .pk-help h2 { font-size: 21px; }
  .pk-help-actions { flex-direction: column; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pk-panel, .pk-detail { animation: none; }
  .pk-family, .pk-family-art img, .pk-btn, .pk-more svg, .pk-top button { transition: none; }
  .pk-row.is-hit { animation: none; }
}
