/* BrandLift Studio – package list & detail (shared pieces live in components.css) */


/* List */
.package-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.package-card .package-price { margin-top: 4px; }
.package-card .price-now { font-size: 2rem; }
.package-card .meta-wide { flex-basis: 100%; }
.package-card .dd-normal { font-weight: 400; color: var(--muted); }
.package-card h2 { font-size: 1.5rem; }

/* Detail hero */
.hero-price { margin: 28px 0 4px; }
.detail-hero .hero-meta { margin-top: 20px; }
.hero-meta .meta-wide { max-width: 46ch; }
.hero-meta .meta-wide dd { font-weight: 400; font-size: 1rem; color: var(--muted); }

/* Included services */
.detail-main { display: grid; gap: clamp(40px, 6vw, 64px); min-width: 0; }
.service-rows { counter-reset: none; }
.service-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 20px; align-items: start;
  padding: 22px 0; border-top: 1px solid var(--line); position: relative;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.row-no { color: var(--gold); font-size: 0.85rem; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; padding-top: 5px; }
.row-body { min-width: 0; }
.row-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.row-body h3 a { transition: color .2s ease; }
.row-body h3 a:hover { color: var(--gold-light); }
.row-desc { color: var(--muted); }
.row-note {
  display: inline-block; margin-top: 10px; font-size: 0.88rem; color: var(--gold-light);
  background: rgba(201, 164, 92, 0.1); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 12px;
}
.row-link { color: var(--gold-light); font-weight: 600; font-size: 0.93rem; white-space: nowrap; padding-top: 4px; transition: color .2s ease; }
.row-link:hover { color: var(--text); }

.price-strong { color: var(--gold-light); }
.facts s { color: var(--muted); }

@media (max-width: 560px) {
  .service-row { grid-template-columns: auto minmax(0, 1fr); }
  .row-link { grid-column: 2; padding-top: 0; }
}

/* Package list, tablet: auto-fill (340px min) gives 2 columns from ~761px (grid = 92vw >= 700px) until 3 fit at 1124px.
   The lone third card is centred at single-column width instead of sitting alone on the left. */
@media (761px <= width < 1124px) {
  .package-grid > .package-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
/* Paket CTA heading (section right after the package grid): avoid a lone last word at every width */
.section:has(.package-grid) + .section .cta h2 { text-wrap: balance; }

/* Package list, large desktop: align major containers with the Services page. */
@media (min-width: 1200px) {
  body:has(#packages-h1) .site-header > .container,
  body:has(#packages-h1) .site-footer > .container,
  .page-intro:has(#packages-h1) > .container,
  .page-intro:has(#packages-h1) ~ .list-section > .container,
  .page-intro:has(#packages-h1) ~ .list-section + .section > .container {
    max-width: 1480px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
  }
  .page-intro:has(#packages-h1) .eyebrow { font-size: 0.84rem; margin-bottom: 20px; }
  .page-intro:has(#packages-h1) h1 { font-size: 4.25rem; max-width: none; margin-bottom: 22px; }
  .page-intro:has(#packages-h1) .lead { font-size: 1.3rem; max-width: 54ch; text-wrap: balance; }

  /* Package grid: same wide system as Portfolio, fixed 3 columns (auto-fill would add a 4th at ~1900px) */
  .page-intro:has(#packages-h1) ~ .list-section { padding-bottom: 64px; }
  .package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .package-grid .package-card { padding: 34px; gap: 14px; }
  .package-grid .package-visual { height: 290px; } /* 260px scaled with the ~11% wider card */
  .package-grid .package-card h2 { font-size: 1.55rem; }
  .package-grid .package-card .card-text { font-size: 1.06rem; }
  .package-grid .package-card .card-link { font-size: 1rem; }

  /* Price as the focal point; same gradient/weight, only larger */
  .package-grid .package-card .package-price { margin-top: 8px; }
  .package-grid .package-card .price-now { font-size: 2.7rem; line-height: 1.1; }
  /* Featured: same treatment as base, scaled to the wider card (border, corner glow, badge) */
  .package-grid .package-card.is-featured { border-color: rgba(201, 164, 92, 0.68);
    background: radial-gradient(480px 220px at 100% 0%, rgba(201, 164, 92, 0.15), transparent 70%), var(--glass), var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 44px -16px rgba(201, 164, 92, 0.32), 0 30px 70px -44px rgba(201, 164, 92, 0.34); }
  .package-grid .package-card.is-featured:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 52px -14px rgba(201, 164, 92, 0.42), 0 30px 70px -40px rgba(201, 164, 92, 0.45); }
  .package-grid .package-card .badge { top: 26px; right: 26px; font-size: 0.82rem; padding: 5px 13px; }

  /* Paket CTA (the section right after the package grid; #cta-title is not unique site-wide):
     same values as the approved Portfolio/Om oss final CTA */
  .page-intro:has(#packages-h1) ~ .list-section + .section { padding: 64px 0 72px; }
  .section:has(.package-grid) + .section .cta { margin-bottom: 0; padding: 88px 96px; border-radius: 30px; border-color: rgba(201, 164, 92, 0.28);
    background:
      radial-gradient(ellipse 75% 85% at 50% 100%, rgba(201, 164, 92, 0.085), transparent 72%),
      radial-gradient(ellipse at 50% 0%, rgba(201, 164, 92, 0.14), transparent 60%), var(--glass), var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 56px -34px rgba(0, 0, 0, 0.7), 0 50px 110px -64px rgba(201, 164, 92, 0.45); }
  .section:has(.package-grid) + .section .cta::before { width: 120%; bottom: -72%; background: radial-gradient(ellipse, rgba(201, 164, 92, 0.16), transparent 68%); }
  .section:has(.package-grid) + .section .cta h2 { font-size: 3.2rem; margin-bottom: 22px; text-wrap: balance; }
  .section:has(.package-grid) + .section .cta .lead { font-size: 1.18rem; max-width: 720px; margin-bottom: 44px; color: #b8b2a6; }
  .section:has(.package-grid) + .section .cta .btn { min-height: 60px; padding: 0 42px; font-size: 1.06rem; }
}
