/* v12 · Prices, package cards and care plans (Samu 2026-10-15).
   r17: Services package cards follow Dayos /plans (big price over a rule, full list, a row of terms with icons on the photo).
   Care plans are ruled rows like the About / How it works lists, so the monthly plans do not look like the projects. */

/* Home cards: small starting price under the statement */
.pc-price { margin-top: 18px; font-size: 15px; line-height: 1; color: var(--mut); display: flex; align-items: baseline; gap: 8px; }
.pc-price b { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.2vw, 32px); color: var(--fg); letter-spacing: -.01em; }
html[data-font] .pc-price b { font-family: "Archivo", "Inter", system-ui, sans-serif; font-variation-settings: "wdth" 62; font-stretch: 62%; letter-spacing: -0.01em; font-size: clamp(30px, 2.6vw, 38px); }

/* ---------- Services packages: photo stage with cards + terms row ---------- */
.plan-stage {
  position: relative; overflow: hidden; margin-top: clamp(28px, 3vw, 44px); border-radius: var(--v7-r);
  padding: clamp(20px, 3.4vw, 52px); background: #6b5640 url("../assets/v8/pc-stage.webp") center / cover no-repeat;
}
.plan-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.plan-stage .pc-stage { position: relative; z-index: 1; margin: 0; padding: 0; background: none; border-radius: 0; overflow: visible; }
.plan-stage .pc-card { min-height: 0; }
.plan-stage .pc-big { min-height: 0; margin-top: 34px; font-size: clamp(56px, 5vw, 80px); align-items: baseline; gap: 12px; }
.plan-stage .pc-big small { font: 500 15px/1.2 var(--font-body); font-variation-settings: normal; font-stretch: 100%; letter-spacing: 0; word-spacing: normal; text-transform: none; color: var(--mut); }
.plan-stage .pc-key { gap: 11px; font-size: 15.5px; line-height: 1.4; margin-bottom: 26px; }
.plan-stage .pc-card:not(:first-child) .pc-key li:first-child { font-weight: 600; }
.plan-stage .pc-card:not(:first-child) .pc-key li:first-child::before { display: none; }
.plan-stage .pc-btn { margin-top: auto; }
@media (min-width: 761px) { .plan-stage .pc-for { min-height: 4.35em; } }

.plan-perks { position: relative; z-index: 1; list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0 clamp(4px, 1vw, 12px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 2.4vw, 36px); color: #fff; }
.plan-perks svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan-perks p { margin-top: 14px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .86); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.plan-perks b { color: #fff; font-weight: 600; }
.plan-perks a { color: #fff; text-underline-offset: 3px; }

/* ---------- Care plans: ruled rows ---------- */
.care-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 56px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.care-head .v7-h { flex: 1 1 520px; }
.care-head .v7-lead { flex: 0 1 400px; }
.care-rows { border-top: 1.5px solid var(--ink); }
.care-row {
  --fg: var(--ink); --mut: #55555a; --dot: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) auto; gap: 24px clamp(28px, 4vw, 64px); align-items: start;
  padding: clamp(28px, 3vw, 44px) clamp(0px, 1.6vw, 28px); border-bottom: 1.5px solid var(--ink); color: var(--fg);
}
.care-row.is-dark { --fg: #ececf1; --mut: #a2a2ad; --dot: var(--signal); background: #0a0a0c; border-radius: 26px; border-bottom: 0; margin: 10px 0; padding-left: clamp(22px, 2.4vw, 36px); padding-right: clamp(22px, 2.4vw, 36px); }
.care-name { font-size: clamp(40px, 3.8vw, 60px); color: var(--fg); }
html[data-font="dayos"] .care-name { text-transform: uppercase; }
.care-tag { display: inline-block; margin-top: 14px; padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--font-body); background: var(--signal); color: #0a0a0a; }
.care-for { margin-top: 14px; font-size: 16px; line-height: 1.45; color: var(--mut); max-width: 30ch; }
.care-inc { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; font-size: 15.5px; line-height: 1.4; }
.care-inc li { display: flex; gap: 12px; align-items: baseline; }
.care-inc li::before { content: ""; width: 7px; height: 7px; flex: none; transform: translateY(-2px); background: var(--dot); border-radius: 2px; }
.care-inc li.is-lead { grid-column: 1 / -1; font-weight: 600; }
.care-row:last-child .care-inc { grid-template-columns: minmax(0, 1fr); max-width: 46ch; }
.care-inc li.is-lead::before { display: none; }
.care-price { text-align: right; white-space: nowrap; }
.care-price b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 5vw, 80px); line-height: .9; color: var(--fg); }
html[data-font] .care-price b { font-family: "Archivo", "Inter", system-ui, sans-serif; font-variation-settings: "wdth" 62; font-stretch: 62%; letter-spacing: -0.01em; }
.care-price span { display: block; margin-top: 8px; font-size: 15px; color: var(--mut); }
.care-terms { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; }
.care-terms li { font-size: 15px; line-height: 1.5; color: #55555a; }
.care-terms b { color: var(--ink); font-weight: 600; }

@media (max-width: 1100px) {
  .care-row { grid-template-columns: minmax(0, 1fr) auto; }
  .care-inc { grid-column: 1 / -1; grid-row: 2; }
  .plan-perks, .care-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* Phones (Dayos /plans on mobile): cards stacked full width on the photo, full lists, terms in one column with the icon above */
  .plan-stage { padding: 12px 12px 28px; }
  .plan-stage .pc-stage { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding: 0; gap: 12px; }
  .plan-stage .pc-card { padding: 26px 22px 22px; }
  .plan-stage .pc-ribbon { position: absolute; top: 34px; right: -52px; width: 230px; padding: 7px 0; border-radius: 0; margin: 0; transform: rotate(35deg); }
  .plan-stage .pc-card.is-lit .pc-kicker, .plan-stage .pc-card.is-lit .pc-for { padding-right: 64px; }
  .plan-stage .pc-big { margin-top: 26px; }
  .plan-perks { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 0 12px; margin-top: 32px; }
  .plan-perks p { margin-top: 10px; }
  .care-row { grid-template-columns: 1fr; gap: 18px; }
  .care-inc { grid-row: auto; grid-template-columns: 1fr; }
  .care-price { text-align: left; grid-row: 2; display: flex; align-items: baseline; gap: 10px; }
  .care-price span { margin-top: 0; }
  .care-terms { grid-template-columns: 1fr; }
}
