/* ==========================================================================
   Bharat Visa Services — service pages (/passport/, /oci/, /evisa/, /surrender/)
   Loaded AFTER site.css, only on service pages. Uses the homepage tokens.
   All new classes are prefixed "sv-" so nothing here can affect the homepage.
   ========================================================================== */

/* ---------- Breadcrumbs ---------- */
.sv-crumbs { margin-bottom: var(--s-5); font-size: var(--t-sm); }
.sv-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.4rem; }
.sv-crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--slate); }
.sv-crumbs li + li::before {
  content: ""; width: 0.45rem; height: 0.45rem; margin-right: 0.1rem;
  border-top: 1.5px solid var(--sky-300); border-right: 1.5px solid var(--sky-300);
  transform: rotate(45deg);
}
.sv-crumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--royal); font-weight: 700; text-decoration: none; }
.sv-crumbs a:hover { text-decoration: underline; }
.sv-crumbs [aria-current="page"] { color: var(--text); font-weight: 700; }

/* ---------- Hero ---------- */
.sv-hero { padding-top: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); padding-bottom: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.sv-hero-grid { display: grid; gap: clamp(2rem, 1.5rem + 2.5vw, 4rem); align-items: start; }
@media (min-width: 64em) { .sv-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.sv-hero .hero-title { font-size: clamp(2.375rem, 1.65rem + 2.9vw, 3.875rem); line-height: 1.06; }
.sv-hero .hero-title-sub { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); max-width: 34rem; }
.sv-hero .hero-lede { max-width: 38rem; }
@media (max-width: 22.49em) { .sv-hero .hero-title { font-size: 2.125rem; } }

.sv-facts {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}
@media (min-width: 64em) { .sv-facts { margin-top: 2.75rem; } }
.sv-facts-title { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--navy); }
.sv-facts dl { margin: var(--s-4) 0 0; display: grid; gap: 0; }
.sv-fact { position: relative; min-height: 4.2rem; padding: 0.85rem 0 0.85rem 3.35rem; border-top: 1px solid var(--line); }
.sv-fact:first-child { border-top: 0; padding-top: 0.25rem; }
.sv-fact .channel-icon { position: absolute; left: 0; top: 0.85rem; width: 2.5rem; height: 2.5rem; }
.sv-fact:first-child .channel-icon { top: 0.25rem; }
.sv-fact dd { margin-top: 0.25rem; }
.sv-fact .channel-icon .icon { width: 1.15rem; height: 1.15rem; }
.sv-fact dt { font-size: var(--t-sm); font-weight: 700; color: var(--slate); }
.sv-fact dd { margin: 0; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
.sv-step-text, .sv-item-note, .sv-case, .sv-source { overflow-wrap: break-word; }
.sv-fact dd a { font-weight: 700; }

/* ---------- Generic section helpers ---------- */
.sv-lead-grid { display: grid; gap: var(--s-6); }
@media (min-width: 64em) { .sv-lead-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s-8); align-items: start; } }
.sv-sub { font-family: var(--font-display); font-weight: 600; font-size: var(--t-lg); line-height: 1.2; color: var(--navy); }
.sv-small { font-size: var(--t-sm); color: var(--slate); }

/* Situation / category cards */
.sv-cases { display: grid; gap: var(--s-4); }
@media (min-width: 40em) { .sv-cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72em) { .sv-cases { grid-template-columns: repeat(3, 1fr); } }
.sv-case {
  display: flex; flex-direction: column;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.sv-case-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sky); color: var(--navy); margin-bottom: var(--s-4); }
.sv-case-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.5; }
.sv-case h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; line-height: 1.2; color: var(--navy); }
.sv-case p { margin-top: var(--s-2); font-size: 1rem; color: var(--slate); }
.sv-case ul { margin: var(--s-3) 0 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; font-size: 0.9375rem; color: var(--text); }
.sv-case ul li::marker { color: var(--royal); }
.sv-case .sv-note { margin-top: auto; }
.sv-case > p + .sv-note, .sv-case > ul + .sv-note { margin-top: var(--s-4); }

/* Notes and callouts */
.sv-note {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-md);
  background: var(--light);
  font-size: 0.9375rem; line-height: 1.5; color: var(--text);
}
.sv-note .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: var(--royal); }
.sv-note--warn { background: #fff7e6; }
.sv-note--warn .icon { color: #9a5b00; }
.sv-callout {
  display: flex; gap: var(--s-4); align-items: flex-start;
  margin-top: var(--s-6);
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--royal);
  border-radius: var(--r-md);
}
.sv-callout .icon { width: 1.5rem; height: 1.5rem; color: var(--royal); flex: none; }
.sv-callout p + p { margin-top: var(--s-2); }
.sv-callout strong { color: var(--navy); }

/* What we prepare and review */
.sv-help { padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sv-help .panel-list { margin-top: 0; gap: 0.85rem; }
@media (min-width: 48em) and (max-width: 63.99em) { .sv-help .panel-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
.sv-help-foot { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--slate); }

/* ---------- Process ---------- */
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.sv-step { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-4); padding-bottom: var(--s-6); }
.sv-step:last-child { padding-bottom: 0; }
.sv-step:not(:last-child)::after { content: ""; position: absolute; left: 1.5rem; top: 3.5rem; bottom: 0.5rem; width: 1px; background: var(--sky-300); }
.sv-step-num {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1;
}
.sv-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; padding-top: 0.55rem; }
.sv-step-title { font-size: 1.125rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.sv-step-text { margin-top: 0.35rem; color: var(--slate); font-size: 1rem; max-width: 46rem; }
.sv-step-text a { font-weight: 700; }
.sv-who {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 700; line-height: 1.5;
  white-space: nowrap;
}
.sv-who .icon { width: 0.9rem; height: 0.9rem; }
.sv-who--we { background: var(--pale); color: var(--royal-700); }
.sv-who--you { background: #eef1f6; color: var(--navy); }
.sv-who--official { background: #fff3dc; color: #7a4a00; }
@media (min-width: 64em) {
  .sv-process-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s-8); align-items: start; }
}
@media (max-width: 63.99em) { .sv-process-grid > * + * { margin-top: var(--s-8); } }
.sv-legend { display: grid; gap: var(--s-3); margin-top: var(--s-4); padding: var(--s-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sv-juris + .sv-legend { margin-top: var(--s-4); }
.sv-legend p { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; color: var(--slate); }

/* ---------- Checklist tool ---------- */
.sv-checklist {
  display: grid; gap: var(--s-5);
  padding: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  --focus: var(--royal);
}
@media (min-width: 64em) { .sv-checklist { grid-template-columns: 19rem 1fr; gap: var(--s-6); } }
.sv-picker { margin: 0; padding: 0; border: 0; min-width: 0; }
.sv-picker legend { padding: 0; margin-bottom: var(--s-3); font-weight: 700; color: var(--navy); }
.sv-picker-list { display: grid; gap: 0.45rem; }
@media (min-width: 30em) and (max-width: 63.99em) { .sv-picker-list { grid-template-columns: 1fr 1fr; } }
.sv-pick {
  display: flex; align-items: center; gap: 0.65rem;
  min-height: 3.25rem; padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--light);
  color: var(--navy); font-weight: 700; font-size: 0.9375rem; line-height: 1.25;
  cursor: pointer;
}
.sv-pick:hover { border-color: var(--sky-300); background: var(--pale); }
.sv-pick input { width: 1.2rem; height: 1.2rem; margin: 0; flex: none; accent-color: var(--navy); }
.sv-pick:has(input:checked) { background: var(--pale); border-color: var(--royal); }
.sv-pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.no-js .sv-picker { display: none; }
.sv-picker-note { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--slate); }

.sv-list-wrap { min-width: 0; padding: clamp(1rem, 0.8rem + 1vw, 1.75rem); background: var(--pale); border-radius: var(--r-lg); }
.sv-list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-4); }
.sv-list-title { font-family: var(--font-display); font-weight: 600; font-size: var(--t-lg); color: var(--navy); line-height: 1.2; }
.sv-progress-text { font-size: var(--t-sm); font-weight: 700; color: var(--royal-700); }
.no-js .sv-progress-text, .no-js .sv-progress { display: none; }
.sv-progress { margin-top: var(--s-3); height: 6px; border-radius: 3px; background: var(--white); overflow: hidden; }
.sv-progress span { display: block; height: 100%; width: 0; background: var(--royal); border-radius: 3px; transition: width var(--dur-2) var(--ease); }
.sv-group-title { margin-top: var(--s-5); margin-bottom: var(--s-2); font-size: var(--t-sm); font-weight: 700; color: var(--slate); }
.sv-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.sv-item label {
  display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start;
  padding: 0.75rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
}
.sv-item label:hover { border-color: var(--sky-300); }
.sv-item input { width: 1.3rem; height: 1.3rem; margin: 0.12rem 0 0; accent-color: var(--royal); }
.sv-item input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sv-item-text { display: block; color: var(--text); line-height: 1.45; }
.sv-item-note { display: block; margin-top: 0.2rem; font-size: var(--t-sm); color: var(--slate); }
.sv-item input:checked + span .sv-item-text { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--sky-300); }
.sv-tag {
  display: inline-block; margin-left: 0.35rem; padding: 0 0.5rem;
  border-radius: var(--r-pill); background: var(--sky);
  font-size: 0.75rem; font-weight: 700; color: var(--navy); line-height: 1.6;
  vertical-align: 0.1em; white-space: nowrap;
}
.sv-actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
@media (max-width: 29.99em) { .sv-actions .btn { width: 100%; } }
.no-js [data-print-checklist] { display: none; }
.sv-privacy { margin-top: var(--s-4); display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--t-sm); color: var(--slate); }
.sv-privacy .icon { width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--royal); }

/* ---------- Jurisdiction finder ---------- */
.sv-juris { padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sv-juris label { display: block; font-weight: 700; color: var(--navy); margin-bottom: var(--s-2); }
.sv-select {
  width: 100%; max-width: 28rem; min-height: 3.25rem;
  padding: 0.6rem 2.5rem 0.6rem 0.9rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23092653' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center / 1.1rem;
  color: var(--text); font: inherit; font-size: 1rem;
  appearance: none;
}
.sv-select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sv-juris-tool { margin-top: var(--s-5); }
.no-js .sv-juris-tool { display: none; }
.sv-juris-out { margin-top: var(--s-4); }
.sv-juris-out:empty { display: none; }
.sv-juris-result { padding: var(--s-4) var(--s-5); background: var(--pale); border-radius: var(--r-md); }
.sv-juris-result strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); }
.sv-juris-result p { margin-top: 0.3rem; font-size: 0.9375rem; color: var(--text); }
.sv-juris details { margin-top: var(--s-5); }
.sv-juris summary { display: inline-flex; align-items: center; min-height: 2.75rem; cursor: pointer; font-weight: 700; color: var(--royal); }
.sv-juris-table td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ---------- Tables (fees, e-Visa categories, jurisdictions) ---------- */
.sv-table-wrap { margin-top: var(--s-4); overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.sv-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.sv-table caption { padding: 0.75rem 0.9rem 0; text-align: left; font-weight: 700; color: var(--navy); }
.sv-table th, .sv-table td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; }
.sv-table thead th { font-size: var(--t-xs); font-weight: 700; color: var(--slate); background: var(--light); border-bottom: 2px solid var(--line-strong); }
.sv-table tbody th { font-weight: 700; color: var(--navy); }
.sv-table tbody tr:last-child th, .sv-table tbody tr:last-child td { border-bottom: 0; }
.sv-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.sv-table td.num:last-child { white-space: nowrap; }
.sv-source { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--slate); }
.sv-source a { font-weight: 700; }

/* ---------- Fees ---------- */
.sv-fees { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.sv-fees > *, .sv-fee-stack > *, .sv-lead-grid > *, .sv-hero-grid > *, .sv-process-grid > * { min-width: 0; }
@media (min-width: 64em) { .sv-fees { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.sv-fee-card { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sv-fee-card + .sv-fee-card { margin-top: 0; }
.sv-fee-stack { display: grid; gap: var(--s-4); }
.sv-fee-head { display: flex; gap: var(--s-3); align-items: center; }
.sv-fee-head .fee-icon { flex: none; }
.sv-fee-head h3 { font-weight: 700; font-size: 1.0625rem; color: var(--navy); line-height: 1.35; }
.sv-fee-card > p { margin-top: var(--s-3); font-size: 0.9375rem; color: var(--slate); }
.sv-fee-card ul { margin: var(--s-3) 0 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; font-size: 0.9375rem; }
.sv-fee-card ul li::marker { color: var(--royal); }
.sv-fee-amount { margin-top: var(--s-3); font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--navy); }

/* ---------- Official links block ---------- */
.sv-official { display: grid; gap: var(--s-4); }
@media (min-width: 64em) { .sv-official { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); } }

/* ---------- Related services ---------- */
.sv-related .svc-grid { margin-top: 0; }

/* ---------- Roles table on service pages ---------- */
.sv-roles-wrap { max-width: 52rem; }

/* ---------- Checklist print ---------- */
@media print {
  .sv-printing body > *:not(main),
  .sv-printing main > *:not(#checklist),
  .sv-printing #checklist .sv-picker,
  .sv-printing #checklist .sv-actions,
  .sv-printing #checklist .sv-progress,
  .sv-printing #checklist .sv-progress-text { display: none !important; }
  .sv-printing #checklist { padding: 0; }
  .sv-printing .sv-checklist, .sv-printing .sv-list-wrap { box-shadow: none; border: 0; padding: 0; background: none; display: block; }
  .sv-printing .sv-item[hidden] { display: none !important; }
  .sv-item label { border-color: #bbb; break-inside: avoid; }
  .sv-crumbs, .sv-juris-tool { display: none !important; }
}

/* ---------- e-Visa additions ---------- */
.sv-hero-note { margin-top: var(--s-4); max-width: 38rem; }
.sv-hero-note a { font-weight: 700; }
.sv-callout--side { margin-top: 0; }
@media (max-width: 47.99em) {
  .sv-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sv-table--stack, .sv-table--stack tbody, .sv-table--stack tr, .sv-table--stack th, .sv-table--stack td { display: block; width: 100%; }
  .sv-table--stack tbody tr { padding: 0.35rem 0 0.6rem; border-bottom: 1px solid var(--line); }
  .sv-table--stack tbody tr:last-child { border-bottom: 0; }
  .sv-table--stack th, .sv-table--stack td { border-bottom: 0; padding: 0.3rem 0.9rem; }
  .sv-table--stack tbody th { padding-top: 0.7rem; padding-bottom: 0.4rem; font-size: 1rem; }
  .sv-table--stack td { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 0.75rem; }
  .sv-table--stack td::before { content: attr(data-label); font-size: var(--t-xs); font-weight: 700; color: var(--slate); padding-top: 0.1rem; }
}
/* A wide explanatory card that completes the situations grid (OCI) */
.sv-case--callout { border-left: 4px solid var(--royal); }
.sv-case--callout > p + p { margin-top: var(--s-2); }
@media (min-width: 72em) { .sv-case--callout { grid-column: span 2; } }
/* Fee table total row */
.sv-table .sv-total th, .sv-table .sv-total td { background: var(--light); font-weight: 800; color: var(--navy); }
