/* ============================================================
   TFSSLLP loan-product (service) pages — loaded only on
   services/*.html. Template-coloured (lime/dark-green). Reuses
   .tfs-calc-card for feature/who/tax cards and .tfs-loan-card
   for related products; this file adds the service-only bits.
   ============================================================ */

/* ---- Intro / "what it is" ---- */
.svc-intro-img { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(7, 34, 79, .12); aspect-ratio: 5 / 4; }
.svc-intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---- Quick-facts strip ---- */
.svc-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px rgba(7, 34, 79, .08); }
.svc-fact { background: linear-gradient(135deg, var(--theme-color2), var(--theme-color3)); color: #fff; padding: 28px 24px; border-right: 1px solid rgba(255, 255, 255, .10); }
.svc-fact:last-child { border-right: 0; }
.svc-fact .k { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--theme-color1); margin-bottom: 8px; }
.svc-fact .v { display: block; font-family: var(--title-font); font-weight: 800; font-size: 22px; line-height: 1.2; }
@media (max-width: 991.98px) { .svc-facts { grid-template-columns: repeat(2, 1fr); } .svc-fact:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.10); } }
@media (max-width: 479.98px) { .svc-facts { grid-template-columns: 1fr; } .svc-fact { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); } }

/* ---- Tables (eligibility / fees) ---- */
.svc-table-wrap { overflow-x: auto; border: 1px solid rgba(var(--theme-color2-rgb), .12); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(7, 34, 79, .05); }
.svc-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 540px; }
.svc-table th, .svc-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid rgba(var(--theme-color2-rgb), .08); }
.svc-table thead th { background: var(--theme-color-light-green); color: var(--headings-color); font-family: var(--title-font); font-weight: 700; }
.svc-table tbody tr:last-child td { border-bottom: 0; }
.svc-table td:first-child, .svc-table tbody th[scope="row"] { font-weight: 600; color: var(--headings-color); width: 34%; }
.svc-table tbody th[scope="row"] { background: transparent; }

/* ---- Documents (two columns) ---- */
.svc-doc-col { background: #fff; border: 1px solid rgba(var(--theme-color2-rgb), .12); border-radius: 16px; padding: 32px; height: 100%; box-shadow: 0 10px 30px rgba(7, 34, 79, .05); }
.svc-doc-col h4 { color: var(--headings-color); margin: 0 0 18px; font-size: 20px; }
.svc-doc-col ul { list-style: none; margin: 0; padding: 0; }
.svc-doc-col li { position: relative; padding: 9px 0 9px 30px; color: var(--text-color); line-height: 1.6; border-bottom: 1px dashed rgba(var(--theme-color2-rgb), .10); }
.svc-doc-col li:last-child { border-bottom: 0; }
.svc-doc-col li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free"; font-weight: 600; color: var(--theme-color1); position: absolute; left: 0; top: 9px; }

/* ---- Inline calculator CTA ---- */
.svc-calc-cta { background: linear-gradient(120deg, var(--theme-color2), var(--theme-color3)); border-radius: 20px; padding: 48px; color: #fff; position: relative; overflow: hidden; }
.svc-calc-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 20%, rgba(var(--theme-color1-rgb), .22), transparent 55%); }
.svc-calc-cta > * { position: relative; z-index: 1; }
.svc-calc-cta h3 { color: #fff; margin: 0 0 10px; }
.svc-calc-cta p { color: rgba(255, 255, 255, .82); margin: 0 0 24px; }
/* Matched button pair: the template's .btn-one (lime, 3px, 220px) and
   .btn-one-light (white, 30px pill, 200px) ship with different shapes and
   widths, so paired they looked mismatched. Unify width + radius here (same
   as the home-page .tfs-cta-actions fix); global buttons stay untouched. */
.svc-calc-cta .btn-one,
.svc-calc-cta .btn-one-light { width: 100%; min-width: 0; border-radius: 10px; }

/* ---- Highlighted note / disclaimer line ---- */
.svc-foot-note { font-size: 13px; color: var(--text-color); margin-top: 16px; }
