/* ==========================================================================
   PACKAGES — the owner-approved card (2026-10-13: team-3 lab "Price Head +
   Card Foot", footer5/d6-band → budget/o1-price-head, without the Ad budget
   picker), on all five service pages (#gads-packages) and on their five pricing pages
   (/<service>-pricing, #packages).

   One component, static markup (the first frame is the final layout):
     section.pk
       .hd-intro                 the site's own section head (heads.css)
       .pk-bar                   Prices in  ₹ INR · $ USD
       .pk-pick                  phones only: Choose a package (2 × 2)
       .pk-row  > .pk-card × 4   plate · package lines · two show-more rows
       .pk-good                  Good to Know (once per service, not per card)
   Behaviour: assets/shared/pricing/packages.js (currency, show-more, phone
   choice, the pricing page's service tabs).

   The cards line up row by row with CSS subgrid: every card takes the same
   rows (plate · each package line · inclusions · full details), so a longer
   line in one package moves the same row in all four — no script, no jump.

   Rules kept from the owner: light only; no green; no preferred package;
   chosen = pressed in (never grows, lifts or ticks); no accent side lines;
   details open in place, under the control that was used.
   ========================================================================== */

.pk{
  --pk-action:#0760C6; --pk-action-press:#054C9E;
  --pk-tint:#EAF1FA; --pk-band:#F5F9FD;
  --pk-line:#BCCDE3; --pk-line-2:#E3EAF4; --pk-plate-line:#D3E0EF;
  --pk-ink-h:#0E1E35; --pk-ink-2:#39414E; --pk-ink-3:#566072;
  --pk-sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;
  --pk-x:18px;                                   /* the card's side padding */
  padding:var(--r9-open, 58px) 0 var(--r9-close, 50px);
  background:#fff;
  border-top:1px solid #E5EAF1;
  font-family:var(--pk-sans);
  color:var(--pk-ink-h);
  -webkit-font-smoothing:antialiased;
}
.pk *, .pk *::before, .pk *::after{ box-sizing:border-box; }
.pk :where(p, h3, h4, ul, dl, dd){ margin:0; }
.pk :where(ul){ padding:0; list-style:none; }
.pk-lane{ width:var(--site-lane, min(1440px, calc(100% - 48px))); margin-inline:auto; }
.pk .hd-intro{ margin-bottom:var(--r9-ctrl, 22px); }
.pk-sr{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
.pk-nw{ white-space:nowrap; }

/* ---------- Prices in  ₹ INR · $ USD (the live page's own control) ---------- */
.pk-bar{ display:flex; align-items:center; justify-content:flex-end; gap:12px; margin:0 0 16px; }
.pk-bar-lab{ font-size:13.5px; font-weight:600; color:#4F5968; white-space:nowrap; }
.pk-cur{ display:flex; align-items:baseline; gap:12px; }
.pk-cur button{ min-height:24px; padding:1px 0 3px; border:0; border-radius:0; background:none; cursor:pointer;
  font:700 12.5px/1.3 var(--pk-sans); color:#5B6573; font-variant-numeric:tabular-nums; white-space:nowrap;
  box-shadow:inset 0 -2px 0 transparent; }
.pk-cur button:hover{ color:#39414E; }
.pk-cur button[aria-checked="true"]{ color:#0E1E35; box-shadow:inset 0 -2px 0 #004594; }
.pk-cur button:focus-visible{ outline:2px solid var(--pk-action); outline-offset:3px; }
@media (prefers-reduced-motion:no-preference){ .pk-cur button{ transition:color .16s, box-shadow .16s; } }

/* ---------- Google Ads only: Ad budget (the old Google Ads page's own picker, rule for rule) ---------- */
.pk-bar-bud{ justify-content:space-between; gap:8px 18px; }
.pk-bud{ display:flex; align-items:center; gap:8px 18px; }
.pk-bud-lab{ font-size:13.5px; font-weight:600; color:#4F5968; white-space:nowrap; }
.pk-bud-sel{ height:38px; padding:0 34px 0 12px; border:0; border-radius:0; -webkit-appearance:none; appearance:none; cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%234F5968'/%3E%3C/svg%3E") no-repeat right 12px center;
  box-shadow:inset 0 0 0 1px #D7DDE6; font:750 15px/1 var(--pk-sans); color:#0E1E35; }
.pk-bud-sel:hover{ box-shadow:inset 0 0 0 1px #A9B4C2; }
.pk-bud-sel:focus-visible{ outline:2px solid var(--pk-action); outline-offset:2px; }
.pk-scoped{ white-space:nowrap; }                     /* Above ₹5 Lakh: "Scoped to your account" */
@media (max-width:420px){ .pk-bar-bud, .pk-bud{ gap:8px 10px; } .pk-bud-sel{ font-size:14px; padding-right:28px; } }
@media (max-width:359px){ .pk-bar-bud{ flex-wrap:wrap; } }      /* the narrowest phones: currency drops under the picker */

/* ---------- the four cards ---------- */
.pk-row{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:16px; row-gap:16px; align-items:start; }
/* a hero card or a link that brings a package into view stops clear of the fixed header */
.pk-card, .pk-pick{ scroll-margin-top:calc(var(--barh, 96px) + 14px); }
.pk-card{ display:grid; grid-row:span var(--pk-rows, 8); grid-template-rows:subgrid; row-gap:0; align-items:stretch;
  min-width:0; background:#fff; border:1px solid var(--pk-line); }

/* plate: name, tagline, price, discount, terms */
.pk-plate{ padding:15px var(--pk-x) 16px; background:var(--pk-tint); border-bottom:1px solid var(--pk-plate-line); }
.pk-nm{ margin:0 0 4px; font-size:22px; font-weight:800; letter-spacing:-.034em; line-height:1.08; color:var(--pk-ink-h); }
.pk-tag{ margin:0 0 12px !important; padding-bottom:12px; border-bottom:1px solid var(--pk-plate-line);
  font-size:14px; line-height:1.4; font-weight:600; color:var(--pk-ink-2); }
.pk-was{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:3px 0 4px !important; }
.pk-was s{ font-size:13px; color:var(--pk-ink-3); }
.pk-off{ padding:2px 8px; background:#fff; border:1px solid var(--pk-plate-line); font-size:12px; font-weight:750; color:#2B598F; }
.pk-note{ font-size:12.5px; font-weight:600; color:var(--pk-ink-3); }
.pk-fee{ display:flex; flex-wrap:wrap; align-items:baseline; gap:0 8px; margin:0 0 8px !important; }
.pk-fee b{ font-size:32px; font-weight:800; letter-spacing:-.045em; line-height:1; color:var(--pk-ink-h); }
.pk-fee b i{ font-style:normal; font-size:21px; font-weight:700; }
.pk-fee em{ font-style:normal; font-size:13px; color:var(--pk-ink-3); }
.pk-fee .pk-custom{ font-size:24px; letter-spacing:-.02em; line-height:1.15; }

/* billing / payment terms: chips on ONE line (owner); the chip size steps with
   the card (10 / 11 / 12px). Payment Terms are three long phrases, so they wrap. */
.pk-bill{ margin-top:10px; container-type:inline-size; }
.pk-bill-k{ margin:0 0 5px !important; font-size:14px; font-weight:800; color:var(--pk-ink-h); }
.pk-bill-l{ display:flex; flex-wrap:nowrap; gap:4px; }
.pk-bill-l li{ flex:0 0 auto; white-space:nowrap; padding:.2em .45em; background:#fff; border:1px solid #D9E4F1;
  font-size:10px; font-weight:650; color:var(--pk-ink-2); }
@container (min-width:252px){ .pk-bill-l li{ font-size:11px; } }
@container (min-width:273px){ .pk-bill-l li{ font-size:12px; } }
@container (max-width:227px){ .pk-bill-l{ flex-wrap:wrap; } }
.pk-bill-l.pk-wrap{ flex-wrap:wrap; }
/* an option this package does not have (Monthly, except Google Ads Standard): shown, faded, dashed */
.pk-bill-l li.pk-na{ background:transparent; border-style:dashed; border-color:#CDD6E2; color:#8E99A8; font-weight:500; }

/* the package lines: label (main, bold) over value (secondary); each line is a
   row of the card's subgrid, so the same line starts level in all four cards */
.pk-sets{ display:grid; grid-row:span var(--pk-lines, 5); grid-template-rows:subgrid; row-gap:0;
  padding:13px var(--pk-x); border-bottom:1px solid var(--pk-line-2); }
.pk-sets > div{ display:flex; flex-direction:column; gap:1px; padding:7px 0; border-top:1px solid var(--pk-line-2); min-width:0; }
.pk-sets > div:first-child{ border-top:0; padding-top:0; }
.pk-sets dt{ font-size:13px; font-weight:750; line-height:1.35; color:var(--pk-ink-h); }
.pk-sets dd{ font-size:13px; font-weight:400; line-height:1.45; color:var(--pk-ink-2); }

/* the card foot: a pale band holding both show-more rows */
.pk-sm{ position:relative; background:var(--pk-band); padding:0 var(--pk-x); }
.pk-card > .pk-incl{ border-top:1px solid #D8E4F6; }
.pk-card > .pk-more{ padding-bottom:2px; }
.pk-card > .pk-more::before{ content:""; position:absolute; top:0; left:var(--pk-x); right:var(--pk-x); height:1px; background:#DDE7F4; }
.pk-h4{ margin:0; font:inherit; }
.pk-btn{ display:flex; align-items:center; gap:10px; width:100%; min-height:50px; padding:8px 0; border:0; background:none;
  text-align:left; cursor:pointer; color:var(--pk-action); font:inherit; }
.pk-t{ font:750 14px/1.3 var(--pk-sans); color:var(--pk-action); }
.pk-chev{ width:14px; height:14px; flex:none; margin-left:auto; fill:none; stroke:currentColor; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
.pk-btn:hover .pk-t{ color:var(--pk-action-press); text-decoration:underline; text-underline-offset:3px; }
.pk-btn:focus-visible{ outline:2px solid var(--pk-action); outline-offset:2px; }
.pk-sm[data-sm="open"] .pk-chev{ transform:rotate(180deg); }

/* show-more panels: closed by default, open in place (220ms; none with reduced motion) */
.pk-panel{ display:grid; grid-template-rows:0fr; visibility:hidden;
  transition:grid-template-rows .22s ease, visibility 0s linear .22s; }
.pk-sm[data-sm="open"] .pk-panel{ grid-template-rows:1fr; visibility:visible;
  transition:grid-template-rows .22s ease, visibility 0s linear 0s; }
.pk-in{ min-height:0; overflow:hidden; }
.pk-list{ display:grid; gap:8px; padding:4px 0 12px !important; }
.pk-list li{ display:grid; grid-template-columns:17px minmax(0,1fr); gap:9px; align-items:start;
  font-size:13px; line-height:1.45; color:var(--pk-ink-2); }
.pk-tick{ width:15px; height:15px; margin-top:2px; fill:none; stroke:var(--pk-action); stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round; }
.pk-h{ margin:6px 0 0 !important; font:800 14px/1.3 var(--pk-sans); color:var(--pk-ink-h); }
.pk-res{ display:grid; gap:6px; margin:8px 0 0 !important; padding:0 0 12px !important; }
.pk-res li{ position:relative; padding-left:14px; font-size:13px; line-height:1.5; color:var(--pk-ink-2); }
.pk-res li::before{ content:""; position:absolute; left:1px; top:.6em; width:5px; height:5px; border-radius:50%; background:#A7AEB9; }

/* Good to Know: once per service, under the four cards, the same light row */
.pk-good{ margin-top:16px; border:1px solid #D8E4F6; }
.pk-good .pk-res{ padding-bottom:14px !important; }
@media (min-width:900px){ .pk-good .pk-res{ grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; } }

/* ---------- widths ---------- */
@media (min-width:1200px) and (max-width:1365px){ .pk-row{ column-gap:12px; } .pk{ --pk-x:14px; } }
@media (min-width:1200px) and (max-width:1279px){ .pk-t{ font-size:13.5px; } .pk-btn{ gap:8px; } }
@media (min-width:1200px) and (max-width:1239px){ .pk{ --pk-x:12px; } .pk-t{ font-size:13px; letter-spacing:-.012em; } }
@media (max-width:1199px){ .pk-row{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) and (max-width:1199px), (max-width:360px){
  .pk-btn{ align-items:flex-start; } .pk-chev{ margin-top:3px; } .pk-t{ font-size:13.5px; }
}

/* ---------- phones: Choose a package (2 × 2), then the chosen card ---------- */
.pk-pick{ display:none; }
@media (max-width:699px){
  .pk-row{ grid-template-columns:minmax(0,1fr); }
  .pk-row > [data-current="false"]{ display:none; }
  .pk-pick{ display:block; margin:0 0 14px; padding:14px; border:1px solid #C9D7E9; border-radius:16px; background:#fff; }
  .pk-pick-t{ font:800 12px/1.3 var(--pk-sans); letter-spacing:.1em; text-transform:uppercase; color:var(--pk-ink-h); }
  .pk-tabs{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:10px; }
  .pk-bar{ margin-bottom:12px; }
  .pk-cur button{ min-height:44px; padding:0 2px; }
}
/* a chosen tab / service is pressed in: same size and place, inset shadow, deeper tone */
.pk-tab{ min-height:48px; padding:10px 12px; border:1px solid #C9D7E9; border-radius:12px; background:#fff; cursor:pointer;
  font:800 15px/1.2 var(--pk-sans); color:var(--pk-ink-h); text-align:left; }
.pk-tab:hover{ background:#F2F6FC; }
.pk-tab[aria-selected="true"]{ background:#E9EEF4; font-weight:900;
  box-shadow:inset 0 2px 4px rgba(20,24,31,.14), inset 0 0 0 1px rgba(20,24,31,.1); }
.pk-tab:focus-visible{ outline:2px solid var(--pk-action); outline-offset:2px; }

@media (prefers-reduced-motion:reduce){ .pk-panel, .pk-sm[data-sm="open"] .pk-panel, .pk-chev{ transition:none; } }

