/* ============================================================
   Cipherverse — service.css · the three service landing pages
   (/website-design, /app-development, /qr-digital-menu).
   Builds on style.css (tokens, .frame, .steps, .faq) and pages.css
   (.page-hero, .rows/.row). Loaded via $page_styles in pages/service.php.
   ============================================================ */

/* Hero: the service name is the headline; the h1's second half follows as a
   quieter line underneath, so the whole h1 text stays one heading for SEO. */
.svc-title-main { display: block; }
.svc-title-main .title-pill { margin-left: 0.2em; }
.svc-title-sub {
  display: block; max-width: 26ch; margin-top: var(--s-3);
  font-size: var(--t-h3); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em;
}

/* Split section: the head sits left (and stays in view), the content right. */
.svc-split { display: grid; gap: var(--s-4); }
.svc-split .sec-head { margin-bottom: 0; }

/* What you get: rows inside the narrower right column. */
.svc-split .row { grid-template-columns: 4rem 1fr 1.3fr; }

/* Work: two live frames per row. */
.svc-frames { display: grid; gap: var(--s-5) var(--s-4); }

/* The other services: large link rows. */
.svc-others-label { margin-bottom: var(--s-2); font-weight: 400; }
.svc-others { border-top: 1px solid var(--line); }
.svc-others li { border-bottom: 1px solid var(--line); }
.svc-other {
  display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: var(--s-1) var(--s-4);
  width: 100%; padding-block: var(--s-3); white-space: normal; background: none;
}
.svc-other:hover { background: none; }
.svc-other-name {
  font-family: var(--display); font-weight: 500; font-size: var(--t-h3);
  line-height: 1.05; letter-spacing: -0.02em;
}
.svc-other-note { max-width: 44ch; color: var(--grey); font-weight: 400; transition: color var(--fast) ease; }
.svc-other:hover .svc-other-note { color: var(--paper); }
.svc-other svg { justify-self: end; }

/* ── Responsive ────────────────────────────────────────── */
@media (min-width: 768px) {
  .svc-frames { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .svc-split { grid-template-columns: 5fr 7fr; gap: var(--s-5); align-items: start; }
  .svc-split .sec-head { position: sticky; top: calc(var(--bar-h) + var(--s-4)); }
}

@media (max-width: 1023px) {
  .svc-split .row { grid-template-columns: 4rem 1fr; }
  .svc-split .row-note { grid-column: 2; }
}

@media (max-width: 767px) {
  .svc-split .row { grid-template-columns: 2.5rem 1fr; gap: var(--s-1) var(--s-2); }
  #how .steps { grid-template-columns: 1fr; gap: var(--s-4); }
  .svc-other { grid-template-columns: 1fr auto; }
  .svc-other-note { grid-column: 1; grid-row: 2; }
  .svc-other svg { grid-row: 1; grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-other-note { transition: none; }
}
