/* Service pages (views/service.html). Plain CSS so it never conflicts with the compiled style.css. */

/* style.css sets overflow-x: hidden on html and body, which turns body into a scroll container and
   breaks position: sticky. clip hides horizontal overflow the same way without that side effect. */
html,
body {
    overflow-x: clip;
}

.svc {
    --navy: #153068;
    --ink: #28355a;
    --muted: #5a6684;
    --red: #c8102e; /* brand red #e70f23 is 4.3:1 on the tint; this passes 4.5:1 for small text */
    --line: #e3e8f1;
    --tint: #f3f6fb;
}

/* Sections end flush, so the gap between sections is always the next one's padding-top */
.svc-section > :last-child,
.svc-section > :last-child > :last-child {
    margin-bottom: 0;
}

/* Height of the fixed site navbar; boot.mjs sets the exact value, these are fallbacks. */
:root {
    --nav-h: 72px;
    --pagenav-h: 50px;
}

@media (min-width: 992px) {
    :root {
        --nav-h: 94px;
    }
}

/* Pages without the section bar (home, About) have nothing under the navbar */
:root:not(:has(.svc-pagenav)) {
    --pagenav-h: 0px;
}

/* Every jump target (#start, #enquiry, ...) stops just below the fixed navbar and the section bar.
   .svc-section overrides this further down because its own top padding already gives the gap. */
[id] {
    scroll-margin-top: calc(var(--nav-h) + var(--pagenav-h) + 16px);
}

/* ===#BREADCRUMBS=== */
.svc-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
    font-weight: 600;
    color: var(--muted);
}

.svc-crumbs li + li::before {
    content: "/";
    margin: 0 8px;
    color: #a3adc2;
}

.svc .svc-crumbs a {
    color: var(--muted);
    text-decoration: none;
}

.svc .svc-crumbs a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.svc-crumbs [aria-current] {
    color: var(--navy);
}

/* ===#ON THIS PAGE BAR=== */
.svc-pagenav {
    position: sticky;
    top: var(--nav-h);
    z-index: 1010;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 12px -10px rgba(21, 48, 104, 0.25);
}

.svc-pagenav ul {
    display: flex;
    gap: 4px;
    height: var(--pagenav-h);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.svc-pagenav ul::-webkit-scrollbar {
    display: none;
}

.svc-pagenav li {
    flex: none;
}

.svc .svc-pagenav a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.svc .svc-pagenav a:hover,
.svc .svc-pagenav a[aria-current] {
    color: var(--navy);
    border-bottom-color: var(--red);
}

/* ===#QUICK ANSWER=== */
.svc-answer {
    margin-top: 40px;
    padding: 22px 24px;
    border-left: 4px solid var(--navy);
    border-radius: 0 8px 8px 0;
    background: var(--tint);
}

.svc-answer__label {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--red);
}

.svc-answer__text {
    margin: 0;
    font-size: 17px;
    line-height: 28px;
    color: var(--ink);
}

.svc-h2 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: var(--navy);
}

.svc-h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: var(--navy);
}

.svc-h3--table {
    margin-top: 20px;
}

.svc-text,
.svc-intro p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 26px;
    color: var(--ink);
}

.svc :where(a:not(.btn):not(.svc-card)) {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.svc-note {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 24px;
    color: var(--ink);
}

/* ===#HERO=== */
.svc-hero {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.svc-hero__title {
    margin: 0;
    max-width: 760px;
    font-size: 44px;
    line-height: 54px;
    font-weight: 700;
    color: var(--navy);
}

.svc-hero__summary {
    margin: 16px 0 0;
    max-width: 680px;
    font-size: 18px;
    line-height: 30px;
    color: var(--ink);
}

.svc-updated {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.svc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.svc-actions .btn {
    padding: 14px 26px !important;
    font-size: 13px;
}

.svc-facts {
    display: grid;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--tint);
}

.svc-facts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px;
}

.svc-facts li + li {
    border-top: 1px solid var(--line);
}

.svc-facts__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.svc-facts__value {
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
    color: var(--navy);
}

/* ===#LAYOUT: content + sticky enquiry box=== */
.svc-main {
    min-width: 0;
    max-width: 820px;
}

.svc-aside {
    display: none;
}

@media (min-width: 992px) {
    .svc-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 48px;
    }

    .svc-aside {
        display: block;
        padding-top: 40px;
    }

    .svc-enquiry {
        position: sticky;
        top: calc(var(--nav-h) + var(--pagenav-h) + 20px);
    }
}

.svc-enquiry {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--tint);
}

.svc-enquiry__title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.svc-enquiry__text {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 23px;
    color: var(--ink);
}

.svc-enquiry__actions {
    display: grid;
    gap: 10px;
}

.svc-enquiry__actions .btn {
    justify-content: center;
    padding: 13px 16px !important;
    font-size: 13px;
}

/* Sticky bottom bar on small screens (the enquiry box is hidden there) */
.svc-mobilebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    display: flex;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 16px rgba(21, 48, 104, 0.12);
}

.svc-mobilebar .btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px !important;
    font-size: 12px;
}

/* Room for the sticky bar, only on pages that have it */
@media (max-width: 991px) {
    body:has(.svc-mobilebar) {
        padding-bottom: 72px;
    }
}

@media (min-width: 992px) {
    .svc-mobilebar {
        display: none;
    }
}

/* ===#SECTIONS=== */
.svc-section {
    padding-top: 56px;
    scroll-margin-top: calc(var(--nav-h) + var(--pagenav-h) - 24px);
}

.svc-intro {
    display: grid;
    gap: 8px 40px;
}

.svc-intro__lead p {
    font-size: 18px;
    line-height: 30px;
    color: var(--navy);
}

/* Icon cards (benefits, who can be included) */
.svc-icards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.svc-icard {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.svc-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    fill: none;
    stroke: var(--red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svc-icard__text {
    margin: 0;
    font-size: 15px;
    line-height: 23px;
    color: var(--ink);
}

/* Lists */
.svc-checks,
.svc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-checks li,
.svc-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 26px;
    color: var(--ink);
}

.svc-checks li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--red);
}

.svc-list li:before {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy);
}

.svc-docs {
    display: grid;
    gap: 16px;
}

.svc-docs__group {
    padding: 20px 20px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

/* Fixed-fee cards in the costs section */
.svc-fees {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 8px 0 0;
}

.svc-fee {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    border-radius: 8px;
    background: var(--tint);
}

.svc-fee__name {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    color: var(--navy);
}

.svc-fee__price {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    color: var(--navy);
}

.svc-fee__price span {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}

.svc-fee__time,
.svc-fee__note {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: var(--ink);
}

.svc-fee__note {
    margin-top: 6px;
    color: var(--muted);
}

/* Tables */
.svc-table-wrap {
    overflow-x: auto;
    margin: 8px 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.svc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 22px;
    color: var(--ink);
}

.svc-table th,
.svc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}

.svc-table tr + tr th,
.svc-table tr + tr td,
.svc-table tbody tr:first-child th,
.svc-table tbody tr:first-child td {
    border-top: 1px solid var(--line);
}

.svc-table thead th {
    background: var(--tint);
    color: var(--navy);
    font-weight: 700;
    border-top: 0;
}

.svc-table tbody th {
    font-weight: 700;
    color: var(--navy);
}

.svc-table--costs tbody tr:first-child td {
    border-top: 0;
}

.svc-table--costs td:last-child {
    width: 40%;
    font-weight: 600;
    color: var(--navy);
}

.svc-table--compare {
    min-width: 640px;
}

.svc-estimate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 20px 24px;
    border-radius: 8px;
    background: var(--tint);
}

.svc-estimate p {
    flex: 1 1 280px;
    margin: 0;
    font-size: 15px;
    line-height: 23px;
    color: var(--ink);
}

.svc-estimate .btn {
    padding: 13px 22px !important;
    font-size: 13px;
}

/* Numbered steps */
.svc-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.svc-steps li {
    position: relative;
    padding: 0 0 22px 56px;
    counter-increment: step;
}

.svc-steps li:before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 36px;
    text-align: center;
}

.svc-steps li:not(:last-child):after {
    content: "";
    position: absolute;
    left: 17px;
    top: 44px;
    bottom: 6px;
    width: 2px;
    background: var(--line);
}

.svc-steps .svc-h3 {
    padding-top: 5px;
    margin-bottom: 2px;
}

.svc-steps__time {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
}

/* Timeline */
.svc-timeline {
    border: 1px solid var(--line);
    border-radius: 8px;
}

.svc-timeline__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 24px;
}

.svc-timeline__row + .svc-timeline__row {
    border-top: 1px solid var(--line);
}

.svc-timeline__stage {
    color: var(--ink);
}

.svc-timeline__time {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--navy);
    text-align: right;
}

/* FAQ (home page accordion classes, framed for a white background) */
.svc .svc-faqs .faq-collapse-wrapper {
    margin: 0 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.svc-faqs .accordion-header {
    padding: 14px 16px;
}

.svc-faqs .accordion-header__text {
    margin: 0;
    font-size: 17px;
    line-height: 24px;
}

.svc-faqs .accordion-body {
    padding: 0 16px 14px;
}

.svc-faqs .accordion-body__text {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

/* Why T&T */
.svc-trust {
    display: grid;
    gap: 16px;
}

.svc-trust__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    border-radius: 8px;
    background: var(--tint);
}

.svc-trust__item strong {
    font-size: 22px;
    line-height: 28px;
    color: var(--navy);
}

.svc-trust__item span {
    font-size: 15px;
    line-height: 22px;
    color: var(--ink);
}

/* Other services */
.svc-related {
    padding-top: 72px;
}

.svc-related__grid {
    display: grid;
    gap: 16px;
}

.svc-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 150ms, box-shadow 150ms;
}

.svc-card:hover,
.svc-card:focus {
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(21, 48, 104, 0.08);
}

.svc-card__group {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--red);
}

.svc-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.svc-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    line-height: 23px;
    color: var(--ink);
}

.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.svc .svc-chips a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
}

.svc .svc-chips a:hover {
    border-color: var(--navy);
}

/* Closing CTA band */
.svc-cta {
    margin-top: 72px;
    padding: 40px;
    border-radius: 8px;
    background: var(--navy);
    display: grid;
    gap: 8px;
    align-items: center;
}

.svc-cta__title {
    margin: 0;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: #fff;
}

.svc-cta__text {
    margin: 10px 0 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.85);
}

.svc-cta .svc-actions {
    margin-top: 16px;
}

.svc-footnote {
    padding: 28px 0 72px;
    font-size: 13px;
    line-height: 21px;
    color: var(--muted);
}

.svc-footnote p {
    margin: 0 0 6px;
}

.svc .svc-footnote a {
    color: var(--muted);
}

/* ===#BREAKPOINTS=== */
@media (min-width: 768px) {
    .svc-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .svc-facts li + li {
        border-top: 0;
        border-left: 1px solid var(--line);
    }

    .svc-intro {
        grid-template-columns: 3fr 2fr;
    }

    .svc-related__grid,
    .svc-trust {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-docs__group .svc-list {
        columns: 2;
        column-gap: 32px;
    }

    .svc-docs__group .svc-list li {
        break-inside: avoid;
    }
}

@media (min-width: 992px) {
    .svc-related__grid,
    .svc-trust {
        grid-template-columns: repeat(3, 1fr);
    }

    .svc-related__grid--two {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-cta {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 32px;
        padding: 48px 56px;
    }

    .svc-cta .svc-actions {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .svc-hero__title {
        font-size: 30px;
        line-height: 38px;
    }

    .svc-hero__summary,
    .svc-intro__lead p {
        font-size: 16px;
        line-height: 26px;
    }

    .svc-h2,
    .svc-cta__title {
        font-size: 24px;
        line-height: 31px;
    }

    .svc-section {
        padding-top: 44px;
    }

    .svc-cta {
        padding: 28px 22px;
    }

    .svc-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .svc-timeline__row {
        flex-direction: column;
        gap: 2px;
    }

    .svc-timeline__time {
        text-align: left;
    }

    .svc-table th,
    .svc-table td {
        padding: 10px 12px;
    }
}

/* ===#GUIDE (lead magnet card)=== */
.svc-guide {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: 48px;
    padding: 28px;
    border-radius: 8px;
    background: var(--tint);
}

.svc-guide__cover {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 160px;
    padding: 14px 12px;
    border-radius: 3px 8px 8px 3px;
    background: linear-gradient(135deg, var(--navy) 0%, #24498f 100%);
    box-shadow: inset 6px 0 0 rgba(255, 255, 255, 0.15), 0 12px 24px -8px rgba(21, 48, 104, 0.45);
    transform: rotate(-3deg);
    color: #fff;
    font-size: 10px;
    line-height: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.svc-guide__cover strong {
    font-size: 15px;
    line-height: 19px;
    text-transform: none;
    letter-spacing: 0;
}

.svc-guide__title {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: var(--navy);
}

.svc-guide .btn {
    margin-top: 4px;
    padding: 13px 24px !important;
    font-size: 13px;
}

/* ===#INLINE HELP CTA (after the steps)=== */
.svc-help {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px -16px rgba(21, 48, 104, 0.35);
}

.svc-help > div:first-child {
    flex: 1 1 320px;
}

.svc-help .svc-text {
    margin: 0;
}

.svc-help__title {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: var(--navy);
}

.svc-help__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.svc-help__actions .btn {
    padding: 13px 24px !important;
    font-size: 13px;
}

.svc .svc-help__wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* ===#CITIZENSHIP TIMELINE ISLAND=== */
.tl {
    margin-top: 8px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.tl__form {
    display: grid;
    gap: 16px;
}

.tl__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.tl__field input,
.tl__field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #c9d2e3;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-weight: 500;
    color: var(--ink);
}

.tl__field input:focus,
.tl__field select:focus {
    outline: 2px solid var(--navy);
    outline-offset: 1px;
}

.tl__result {
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 28px;
    color: var(--ink);
}

.tl__result strong {
    color: var(--navy);
}

.tl__track {
    position: relative;
    height: 8px;
    margin: 20px 0 44px;
    border-radius: 4px;
    background: var(--line);
}

.tl__progress {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 4px;
    background: var(--navy);
}

.tl__tick {
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    padding-top: 26px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--muted);
}

.tl__tick::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border: 3px solid var(--navy);
    border-radius: 50%;
    background: #fff;
}

.tl__progress + .tl__tick {
    transform: none;
}

.tl__progress + .tl__tick::before {
    left: 0;
    margin-left: 0;
}

.tl__tick:last-child {
    transform: translateX(-100%);
}

.tl__tick:last-child::before {
    left: auto;
    right: 0;
    margin-left: 0;
    border-color: var(--red);
}

.tl__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tl__list li {
    position: relative;
    padding: 0 0 20px 32px;
}

.tl__list li::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 3px solid var(--navy);
    border-radius: 50%;
    background: #fff;
}

.tl__list li::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 2px;
    left: 7px;
    width: 2px;
    background: var(--line);
}

.tl__list li:last-child::after {
    display: none;
}

.tl__list li:last-child::before {
    border-color: var(--red);
}

.tl__list li.is-done::before {
    background: var(--navy);
}

.tl__year {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
}

.tl__title {
    margin: 2px 0 4px;
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
    color: var(--navy);
}

.tl__text {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: var(--ink);
}

.tl__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.tl__cta p {
    flex: 1 1 300px;
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    color: var(--muted);
}

.tl__cta .btn,
.calc__result .btn {
    padding: 13px 24px !important;
    font-size: 13px;
}

/* ===#INCOME CALCULATOR ISLAND=== */
.calc {
    display: grid;
    gap: 20px;
    margin-top: 8px;
}

.calc__inputs {
    display: grid;
    gap: 12px;
    align-content: start;
}

.calc__counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.calc__label {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.calc__label small {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.calc__stepper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc__stepper button {
    width: 40px;
    height: 40px;
    border: 1px solid #c9d2e3;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
}

.calc__stepper button:hover:not(:disabled) {
    border-color: var(--navy);
}

.calc__stepper button:disabled {
    opacity: 0.35;
    cursor: default;
}

.calc__stepper output {
    min-width: 28px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: var(--navy);
}

.calc__result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 24px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
}

.calc__kicker {
    font-size: 13px;
    font-weight: 600;
    color: #c8d3ea;
}

.calc__amount {
    font-size: 36px;
    line-height: 44px;
    font-weight: 700;
}

.calc__amount small {
    font-size: 16px;
    font-weight: 600;
}

.calc__year {
    font-size: 15px;
    color: #c8d3ea;
}

.calc__lines {
    margin: 16px 0 20px;
    padding: 12px 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    line-height: 26px;
}

.calc__lines li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.calc__result .btn {
    align-self: flex-start;
}

@media (min-width: 768px) {
    .tl__form {
        grid-template-columns: 1fr 1fr;
    }

    .calc {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    .svc-guide {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 24px;
    }

    .svc-guide__cover {
        width: 110px;
        height: 140px;
    }

    .svc-help {
        padding: 20px;
    }

    .svc-help__actions {
        align-items: stretch;
        width: 100%;
    }

    .tl {
        padding: 20px;
    }

    .tl__tick {
        font-size: 11px;
    }
}

/* ===#TRUST: how we work, contacts, outcomes=== */
.svc-proof {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.svc-proof__col {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.svc-proof .svc-checks {
    margin-top: 8px;
}

.svc-contact ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.svc-contact li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.svc-contact li span {
    font-weight: 600;
    color: var(--muted);
}

.svc .svc-contact a {
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.svc-contact__note {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.svc-outcomes__title {
    margin-top: 32px;
}

.svc-outcomes__title span {
    font-weight: 500;
    color: var(--muted);
}

.svc-outcomes {
    display: grid;
    gap: 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.svc-outcomes li {
    padding: 18px 20px;
    border-left: 3px solid var(--navy);
    border-radius: 0 8px 8px 0;
    background: var(--tint);
}

.svc-outcomes p {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 24px;
    color: var(--ink);
}

.svc-enquiry__call {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 16px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.svc .svc-enquiry__call a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.svc-enquiry__proof {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    color: var(--muted);
}

@media (min-width: 768px) {
    .svc-proof {
        grid-template-columns: 3fr 2fr;
    }

    .svc-outcomes {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Closing section holds the enquiry form (the sticky sidebar is too short for it) */
.svc-cta--form {
    align-items: start;
}

.svc-cta__alt {
    margin: 12px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.svc-cta__alt a {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 992px) {
    .svc-cta--form {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }
}

@media (max-width: 575px) {
    .svc-cta--form {
        padding: 28px 16px;
    }
}
