/* Glass look: section backgrounds stay plain white/cream; the colour lives in
   the content boxes, which get a soft tinted-glass fill rotating through the
   four highlighter colours (yellow, pink, mint, sky). Plus a frosted nav.
   Kept in its own file so the effect can be switched off by dropping this
   stylesheet (and the GLASS-CSS block the build inlines into index.html). */

/* ---------- Tinted glass cards ----------
   --t is the card's tint as an RGB triple; siblings rotate through the four
   highlighters, so step cards match the tint of their icon tile. */
.glass, .step, .svc-card, .related > a, .tool-card {
  --t: 255, 226, 122;
  background: linear-gradient(150deg, rgba(var(--t), 0.42) 0%, rgba(255, 255, 255, 0.78) 72%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(var(--t), 0.65) !important;
  box-shadow: 0 8px 24px rgba(26, 35, 50, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
:is(.glass, .step, .svc-card, .related > a):nth-child(4n + 2) { --t: 255, 198, 214; }
:is(.glass, .step, .svc-card, .related > a):nth-child(4n + 3) { --t: 184, 239, 205; }
:is(.glass, .step, .svc-card, .related > a):nth-child(4n + 4) { --t: 199, 222, 254; }

/* Single boxes: the payment list and price table get a light sky / yellow wash. */
.pay-list {
  background: linear-gradient(150deg, rgba(199, 222, 254, 0.45), rgba(255, 255, 255, 0.8) 75%) !important;
  border: 1px solid rgba(199, 222, 254, 0.8) !important;
}
.pay-list div { background: rgba(255, 255, 255, 0.72) !important; border-color: rgba(255, 255, 255, 0.9) !important; }
.price-table { border-color: rgba(255, 226, 122, 0.7) !important; }
.price-table th { background: rgba(255, 226, 122, 0.3); }

/* Dark glass for the closing call-to-action card. */
.glass-dark {
  background: rgba(26, 35, 50, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(26, 35, 50, 0.22);
}

/* ---------- Frosted nav ---------- */
.site-nav {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border-bottom-color: rgba(26, 35, 50, 0.06) !important;
}
/* The dropdown and phone menu stay solid: a backdrop blur nested inside the
   already-frosted nav can't blur the page, so a translucent panel let headings
   show through on the inner pages. */
.sn-drop { background: #fff; }
@media (max-width: 1100px) {
  .sn-menu { background: #fff; }
  .sn-drop { background: transparent; }
}

/* Blur is costly on small devices and does little over a plain background. */
@media (max-width: 600px) {
  .glass, .step, .svc-card, .related > a, .tool-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
