/* Service pages — hub and detail. Loaded only on /services/. */

/* ---- breadcrumbs ---- */
.crumbs { border-bottom: 1px solid var(--line); background: #fff; }
.crumbs ol {
  list-style: none; margin: 0; padding: .9rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .87rem; color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy-700); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy-700); font-weight: 600; }

/* ---- hub ---- */
.hub-group { margin-bottom: 3rem; }
.hub-group > h2 {
  font-size: 1.35rem; margin: 0 0 1.2rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold-500); display: inline-block;
}
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.hub-card {
  display: flex; flex-direction: column; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.5rem; text-decoration: none; color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hub-card:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(18,40,76,.08); }
.hub-card:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.hub-card h3 { margin: 0; font-size: 1.08rem; color: var(--navy-700); }
.hub-card p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }
.hub-more { margin-top: auto; padding-top: .5rem; font-size: .88rem; font-weight: 600; color: var(--gold-500); }
.hub-note { color: var(--muted); margin: 0 0 1rem; }
.hub-others { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hub-others li a {
  display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line);
  border-radius: 999px; font-size: .88rem; text-decoration: none; color: var(--navy-700);
  background: #fff;
}
.hub-others li a:hover { border-color: var(--gold-500); background: var(--gold-100); }

/* ---- detail hero ---- */
.svc-hero { padding-bottom: 1rem; }
.svc-hero h1 { margin: .5rem 0 .8rem; max-width: 22ch; text-wrap: balance; }
.svc-summary { font-size: 1.1rem; color: var(--muted); max-width: 58ch; margin: 0 0 1.5rem; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.svc-sla { margin: .9rem 0 0; font-size: .88rem; color: var(--muted); }

/* ---- detail body ---- */
.svc-body { padding-top: 1.5rem; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; align-items: start; }
.svc-main h2 {
  font-size: 1.3rem; margin: 2.4rem 0 .8rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.svc-main h2:first-child { margin-top: 0; }
.svc-main p { max-width: 68ch; line-height: 1.7; }

.scroller { overflow-x: auto; }
.svc-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 26rem; }
.svc-table th, .svc-table td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.svc-table th { font-weight: 600; color: var(--navy-700); width: 45%; }
.svc-table tr:last-child th, .svc-table tr:last-child td { border-bottom: 0; }
.svc-table td { color: var(--muted); }

.svc-docs { padding-left: 0; list-style: none; display: grid; gap: .55rem; max-width: 68ch; }
.svc-docs li { position: relative; padding-left: 1.7rem; line-height: 1.6; }
.svc-docs li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold-500); font-weight: 700;
}

.svc-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.3rem; max-width: 68ch; }
.svc-steps li { counter-increment: step; position: relative; padding-left: 3rem; }
.svc-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.15rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gold-100); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.svc-steps h3 { margin: 0 0 .3rem; font-size: 1rem; color: var(--navy-700); }
.svc-steps p { margin: 0; color: var(--muted); line-height: 1.6; }

.svc-faqs { display: grid; gap: .7rem; max-width: 68ch; }
.svc-faqs details {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 0 1.1rem;
}
.svc-faqs summary {
  cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--navy-700);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.svc-faqs summary::-webkit-details-marker { display: none; }
.svc-faqs summary::after { content: "+"; font-size: 1.3rem; color: var(--gold-500); flex-shrink: 0; }
.svc-faqs details[open] summary::after { content: "–"; }
.svc-faqs summary:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
.svc-faqs details p { margin: 0; padding: 0 0 1.1rem; color: var(--muted); line-height: 1.65; }

.svc-byline {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted); max-width: 68ch;
}

/* ---- sidebar ---- */
.svc-side { display: grid; gap: 1.2rem; position: sticky; top: 1.5rem; }
.svc-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.svc-card h3 { margin: 0 0 .6rem; font-size: 1.02rem; color: var(--navy-700); }
.svc-card p { margin: 0 0 1rem; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: .6rem; }
.svc-contact { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .92rem; display: grid; gap: .35rem; }
.svc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .93rem; }
.svc-links a { color: var(--navy-700); }
.svc-telugu { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); }
.svc-telugu span { display: block; font-size: .82rem; opacity: .8; }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .svc-side { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-card { transition: none; }
  .hub-card:hover { transform: none; }
}

/* ---- fees ---- */
.fee-table th[scope="row"] { width: 34%; }
.fee-amount { font-weight: 700; color: var(--navy-700); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-note { margin-top: 2rem; max-width: 46rem; }

/* ---- tools hub ---- */
.hub-card h2 { margin: 0; font-size: 1.08rem; color: var(--navy-700); }
.tool-tag {
  align-self: flex-start; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--navy-700); background: var(--gold-100);
  border: 1px solid var(--gold-400); border-radius: 999px; padding: .15rem .6rem;
}
.svc-address { font-style: normal; line-height: 1.7; color: var(--muted); font-size: .93rem; }
.svc-docs strong { color: var(--ink); }
