/* ========================================
   KCG BPO service pages (services hub and the five model pages),
   in the home page's system: white and pale-green grounds, slate ink,
   brand green actions, Barlow Condensed headlines. Tokens: style.css (.home, .svc).
   ======================================== */

.svc { color: var(--ink); background: #fff; }

/* Buttons (the pages use the shared .btn markup) */
.svc .btn {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  border-width: 1.5px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 160ms var(--ease-out);
}
.svc .btn--primary { background: var(--green); border-color: var(--green); color: #fff; }
.svc .btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.svc .btn--outline { background: #fff; border-color: #cbd5e1; color: var(--ink); }
.svc .btn--outline:hover { border-color: var(--green); color: var(--green); background: #fff; }

/* ---------- Page header ---------- */
.svc .page-hero {
  padding: calc(108px + 48px) 0 72px; /* fixed top bar + header */
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.svc .breadcrumb { margin-bottom: 28px; font-size: 0.9rem; color: var(--ink-3); }
.svc .breadcrumb a { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.svc .breadcrumb a:hover { text-decoration-color: currentColor; }
.svc .page-hero__title {
  max-width: 20ch;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.svc .page-hero__lead { margin-top: 20px; max-width: 54ch; font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--ink-2); }
.svc .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Section rhythm ---------- */
.svc .content-section { padding: 96px 0; }
.svc .content-section--alt { background: #f8fafc; border-top: 1px solid var(--line); }
.svc .section-header { margin-bottom: 36px; text-align: left; }
.svc .section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: left;
  text-wrap: balance;
}
.svc .section-subtitle { margin: 10px 0 0; text-align: left; max-width: 60ch; color: var(--ink-2); font-size: 1.1rem; }

/* ---------- Body copy and the "At a glance" panel ---------- */
.svc .content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.svc .prose { max-width: 62ch; } /* Barlow is narrow: 62ch is about 75 characters */
.svc .prose--wide { max-width: none; }
.svc .prose h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  margin: 56px 0 16px;
  text-wrap: balance;
}
.svc .prose > h2:first-child { margin-top: 0; }
.svc .prose h3 { font-weight: 700; font-size: 1.15rem; margin: 28px 0 8px; }
.svc .prose p { color: var(--ink-2); line-height: 1.75; margin-bottom: 16px; }
.svc .prose a { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.svc .prose a:hover { color: var(--green-deep); }
.svc .prose ul { display: grid; gap: 10px; margin-bottom: 16px; }
.svc .prose ul li { position: relative; padding-left: 22px; color: var(--ink-2); line-height: 1.6; }
.svc .prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.svc .prose ul.checklist li { padding-left: 32px; color: var(--ink); }
.svc .prose ul.checklist li::before {
  left: 0;
  top: 0.15em;
  width: 22px;
  height: 22px;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid #bbf7d0;
}

/* Metrics we report: a divided list (no side stripes) */
.svc .kpi-list { display: grid; margin: 8px 0 16px; border-top: 1px solid var(--line); }
.svc .kpi-list > div { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 20px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.svc .kpi-list dt { font-weight: 700; color: var(--ink); }
.svc .kpi-list dd { color: var(--ink-2); line-height: 1.6; }

.svc .glance {
  position: sticky;
  top: 132px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}
.svc .glance h2 { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; line-height: 1.1; margin-bottom: 16px; }
.svc .glance dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; margin-bottom: 22px; }
.svc .glance dt, .svc .glance dd { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.svc .glance dt { color: var(--ink-3); }
.svc .glance dd { font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Comparison table (services hub) ---------- */
.svc .table-wrap { margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--card-shadow); overflow-x: auto; background: #fff; }
.svc .compare-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.98rem; }
.svc .compare-table thead th { background: #f8fafc; color: var(--ink-3); text-align: left; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.svc .compare-table th[scope="row"], .svc .compare-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.svc .compare-table tbody tr:last-child > * { border-bottom: 0; }
.svc .compare-table th[scope="row"] a { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; line-height: 1.1; color: var(--ink); text-decoration: none; }
.svc .compare-table th[scope="row"] a:hover { color: var(--green); }
.svc .compare-table td { color: var(--ink-2); line-height: 1.55; }
/* Two-column worksheets fit the screen instead of scrolling sideways */
.svc .compare-table--two { min-width: 0; }
.svc .compare-table--two th[scope="row"] { width: 38%; }
@media (max-width: 600px) { .svc .compare-table--two th[scope="row"], .svc .compare-table--two td { padding: 14px 14px; } }

/* ---------- Services hub: the five models as a divided list ---------- */
.svc .services { padding: 72px 0 24px; background: #fff; }
.svc .services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.svc .service-card {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
  gap: 8px 40px;
  align-items: baseline;
  padding: 28px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.svc .service-card:hover { transform: none; box-shadow: none; }
.svc .service-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 1.7rem; line-height: 1.1; margin: 0; }
.svc .service-card__text { color: var(--ink-2); line-height: 1.6; margin: 0; }
.svc .service-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.svc .service-card__link:hover { background: var(--green); color: #fff; }

/* ---------- Onboarding steps (same as the home page) ---------- */
.svc .steps { background: var(--ink); color: #fff; padding: 96px 0; }
.svc .steps .section-title { color: #fff; }
.svc .steps .section-subtitle { color: #cbd5e1; }
.svc .steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc .step-card { background: #1e293b; border: 1px solid #334155; border-radius: var(--radius); padding: 24px; box-shadow: none; text-align: left; }
.svc .step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0 18px;
  border-radius: 50%;
  background: #22c55e;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
}
.svc .step-card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; line-height: 1.1; margin-bottom: 10px; color: #fff; }
.svc .step-card p { color: #cbd5e1; font-size: 0.98rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.svc .faq { padding: 96px 0; background: #fff; }
.svc .faq__list { max-width: 820px; margin: 0; }
.svc .faq-item__question { min-height: 44px; font-size: 1.1rem; }
.svc .faq-item__answer p { color: var(--ink-2); max-width: 68ch; line-height: 1.7; }
.svc .faq-item__answer a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Other models and the closing call to action ---------- */
.svc .related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 28px 0 56px; border-top: 1px solid var(--line); }
.svc .related a {
  display: block;
  padding: 18px 28px 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ink);
  background: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  transition: color 0.2s ease;
}
.svc .related a::after { content: "→"; position: absolute; right: 4px; top: 18px; font-family: var(--font-sans); color: var(--green); transition: transform 0.2s ease; }
.svc .related a:hover { color: var(--green); }
.svc .related a:hover::after { transform: translateX(4px); }
.svc .related a span { display: block; margin-top: 6px; font-family: var(--font-sans); font-weight: 400; font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); }

.svc .cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 40px;
  background: var(--tint);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  color: var(--ink);
  text-align: left;
}
.svc .cta-band h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; color: var(--ink); }
.svc .cta-band p { margin-top: 8px; color: var(--ink-2); max-width: 56ch; }

@media (prefers-reduced-motion: reduce) {
  .svc .related a::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc .content-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .svc .glance { position: static; max-width: 560px; }
  .svc .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc .service-card { grid-template-columns: minmax(0, 1fr); }
  .svc .service-card__link { justify-self: start; margin-top: 8px; }
}
@media (max-width: 768px) {
  .svc .page-hero { padding-bottom: 56px; }
  .svc .hero__actions .btn { flex: 1 1 100%; }
  .svc .content-section, .svc .steps, .svc .faq { padding: 72px 0; }
  .svc .kpi-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .svc .steps__grid, .svc .related { grid-template-columns: minmax(0, 1fr); }
  .svc .cta-band { padding: 28px 22px; }
  .svc .cta-band .btn { width: 100%; }
}

/* Lists: one marker only (the green dot or check), not the old disc as well */
.svc .prose ul:not(.checklist), .svc .prose ul { list-style: none; padding-left: 0; }

/* At a glance: plain labels so values fit on one line */
.svc .glance dt { text-transform: none; letter-spacing: 0; font-weight: 500; white-space: nowrap; }

/* Other models: a divided list, no boxes */
.svc .related a { border: 0; border-bottom: 1px solid var(--line); }

/* ---------- Why Jamaica: the comparison's Jamaica column and the sources ---------- */
.svc .compare-table .is-highlight { background: var(--tint); color: var(--green-deep); font-weight: 600; }
.svc .compare-table thead .is-highlight { color: var(--green-deep); }
.svc .prose ul.sources { gap: 8px; }
.svc .prose ul.sources li { font-size: 0.95rem; }
.svc .sources__updated { font-size: 0.875rem; color: var(--ink-3); }

/* ---------- Legal pages (privacy, terms) ---------- */
.svc.legal-page { padding: calc(108px + 56px) 0 104px; background: linear-gradient(180deg, var(--tint) 0, #fff 320px); }
.svc.legal-page .container { max-width: 760px; }
.svc.legal-page h1 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
.svc.legal-page .legal-page__updated { color: var(--ink-3); font-size: 0.95rem; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.svc.legal-page h2 { font-family: var(--font-heading); font-weight: 800; font-size: 1.7rem; line-height: 1.1; color: var(--ink); margin: 44px 0 12px; }
.svc.legal-page h3 { font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: 24px 0 8px; }
.svc.legal-page p { color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; max-width: 64ch; }
.svc.legal-page ul { list-style: none; padding-left: 0; display: grid; gap: 10px; margin-bottom: 16px; max-width: 64ch; }
.svc.legal-page ul li { position: relative; padding-left: 22px; color: var(--ink-2); line-height: 1.65; }
.svc.legal-page ul li::before { content: ""; position: absolute; left: 2px; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.svc.legal-page strong { color: var(--ink); }
.svc.legal-page a { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.svc.legal-page a:hover { color: var(--green-deep); }

/* ---------- Simple pages (thank-you, 404) ---------- */
.svc .simple-page { min-height: 72vh; display: flex; align-items: center; padding: calc(108px + 64px) 0 104px; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); text-align: center; }
.svc .simple-page .container { max-width: 760px; }
.svc .simple-page h1 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.svc .simple-page p { margin: 18px auto 0; max-width: 52ch; font-size: 1.15rem; line-height: 1.65; color: var(--ink-2); }
.svc .simple-page p a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.svc .simple-page .hero__actions { justify-content: center; margin-top: 32px; }

@media (max-width: 768px) {
  .svc.legal-page { padding-bottom: 72px; }
  .svc .simple-page { min-height: 0; }
}

/* A comparison table inside the narrow reading column uses the full container width */
.svc .prose .table-wrap { width: min(1152px, calc(100vw - 48px)); max-width: none; }
@media (max-width: 768px) {
  .svc .prose .table-wrap { width: calc(100vw - 32px); }
}

/* Infographics (inline SVG from images/*.svg) */
.infographic { margin: 28px 0 36px; }
.infographic svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.infographic figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); }
/* The time-zone chart uses the full container width, like the comparison table, and scrolls on phones */
.svc .prose .infographic--wide { width: min(1152px, calc(100vw - 48px)); }
.infographic__scroll { overflow-x: auto; }
.infographic__scroll svg { min-width: 640px; }
@media (max-width: 768px) { .svc .prose .infographic--wide { width: calc(100vw - 32px); } }
.infographic--timeline { margin: 8px 0 32px; max-width: 820px; }
.infographic--clock { margin: 28px 0 0; }
.clock { display: flex; align-items: center; gap: 24px; }
.clock svg { flex: 0 0 auto; width: min(220px, 45%); }
.clock__key { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.clock__key li { position: relative; padding-left: 26px; }
.clock__key li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 4px; background: #cbd5e1; }
.clock__key strong { display: block; color: var(--ink); }
.clock__key--live::before { background: #15803d !important; }
.clock__key--day::before { background: #0f172a !important; }
@media (max-width: 480px) { .clock { flex-direction: column; align-items: flex-start; } .clock svg { width: min(260px, 80%); } }
.svc .prose .clock__key { gap: 14px; margin: 0; }
.svc .prose .clock__key li { padding-left: 26px; line-height: 1.45; }
.svc .prose .clock__key li::before { left: 0; top: 3px; width: 14px; height: 14px; border-radius: 4px; background: #cbd5e1; }
.svc .prose ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: 8px; margin-bottom: 16px; }
.svc .prose ol li { padding-left: 4px; color: var(--ink-2); line-height: 1.6; }
.svc .prose ol li::marker { color: var(--green); font-weight: 700; }
.svc .leader { margin: 4px 0 18px; }
.svc .prose .leader p { margin: 0; }
.svc .prose .leader__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.svc .prose .leader__role { color: var(--ink-3); }
.svc .visit { font-style: normal; line-height: 1.6; color: var(--ink-2); margin-bottom: 10px; }
