:root {
    --ink: #112d32;
    --muted: #667778;
    --lime: #d8f26b;
    --paper: #f3f6f0;
    --line: #dce3db;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    background: #fff;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.12;
}

h1,
.hero-title {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    letter-spacing: -0.055em;
}

h2 {
    font-size: clamp(2.1rem, 3.4vw, 3.25rem);
    letter-spacing: -0.045em;
}

h3 {
    font-size: 1.35rem;
    letter-spacing: -0.025em;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px;
    background: var(--lime);
}

.skip-link:focus {
    top: 12px;
}

.topbar {
    padding: 8px 0;
    color: #e6eeea;
    background: var(--ink);
    font-size: 0.8rem;
    letter-spacing: 0.025em;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.navbar {
    min-height: 91px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.brand strong {
    display: block;
    font-size: 1.95rem;
    line-height: 1;
    letter-spacing: -0.07em;
}

.brand small {
    display: block;
    margin-top: 5px;
    font-size: 0.6rem;
    letter-spacing: 0.13em;
    font-weight: 700;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 7px;
    color: var(--ink);
}

.btn {
    border-radius: 6px;
    padding: 13px 22px;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.6;
}

.btn-dark {
    background: var(--ink);
    border-color: var(--ink);
}

.btn-dark:hover {
    background: #294d4e;
    border-color: #294d4e;
}

.btn-outline-dark {
    color: var(--ink);
    border-color: #9eafaa;
}

.btn-outline-dark:hover {
    background: var(--ink);
}

.eyebrow {
    display: block;
    margin-bottom: 22px;
    font-size: 0.76rem;
    letter-spacing: 0.13em;
    font-weight: 700;
}

.hero {
    padding: 65px 0 70px;
    background: var(--paper);
    overflow: hidden;
}

.accent-line {
    display: inline-block;
    width: 26px;
    height: 2px;
    background: #749641;
    margin: 0 8px 4px 0;
}

.hero h1,
.hero-title {
    margin-bottom: 25px;
}

.hero em {
    color: #6d873b;
    font-family: Georgia, serif;
    font-weight: 400;
}

.hero .carousel-item {
    min-height: 290px;
}

.hero .carousel-item p {
    max-width: 470px;
    color: #536c69;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-visual {
    position: relative;
    margin-left: 10px;
    padding: 0 0 26px 24px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 85%;
    height: 80%;
    right: -20px;
    top: 40px;
    border: 1px solid #bbc8a7;
    border-radius: 5px;
}

.hero-visual > img {
    position: relative;
    width: 100%;
    height: 495px;
    object-fit: cover;
    border-radius: 5px 65px 5px 5px;
    filter: saturate(0.65);
}

.visual-label {
    display: flex;
    gap: 16px;
    align-items: center;
    position: absolute;
    left: -15px;
    bottom: 78px;
    background: var(--lime);
    padding: 22px 30px;
    line-height: 1.5;
    box-shadow: 0 16px 25px #112d3210;
}

.visual-label strong {
    font-size: 1.3rem;
}

.label-line {
    width: 3px;
    height: 42px;
    background: var(--ink);
}

.image-caption {
    font-size: 0.76rem;
    color: var(--muted);
    padding-top: 14px;
    text-align: right;
}

.slider-tools {
    align-items: center;
}

.slider-tools button {
    min-width: 34px;
    height: 34px;
    border: 1px solid #b5c1b6;
    border-radius: 30px;
    background: transparent;
    color: var(--ink);
    line-height: 1;
}

#carousel-toggle {
    padding: 0 12px;
    font-size: 0.8rem;
}

.slider-caption {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-left: 8px;
}

.trust-strip {
    background: #e9eedf;
    padding: 23px 0;
    font-size: 0.86rem;
    font-weight: 600;
}

.strip-icon {
    color: #5c7737;
    margin-right: 9px;
}

.section-space {
    padding: 95px 0;
}

.muted,
.solution-card p {
    color: var(--muted);
    line-height: 1.8;
}

.muted-title {
    color: #738281;
}

.solution-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 32px;
    border-radius: 7px;
    height: 100%;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.solution-card:hover {
    background: var(--paper);
    transform: translateY(-3px);
}

.service-symbol {
    color: #5b7638;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #eef3e4;
    border-radius: 9px;
    font-size: 1.9rem;
    margin-bottom: 35px;
}

.solution-card h3 a {
    text-decoration: none;
}

.solution-card p {
    margin: 17px 0 25px;
    min-height: 58px;
    font-size: 0.95rem;
}

.text-link {
    font-weight: 600;
    text-underline-offset: 6px;
    font-size: 0.9rem;
}

.about-section {
    background: var(--paper);
}

.about-image {
    position: relative;
    padding-right: 35px;
    padding-bottom: 35px;
}

.about-image img {
    width: 100%;
    height: 535px;
    object-fit: cover;
    border-radius: 5px;
}

.image-note {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--ink);
    color: #fff;
    padding: 35px;
    font-size: 1.6rem;
    line-height: 1.3;
}

.image-note em {
    font-family: Georgia, serif;
    color: var(--lime);
}

.benefit-row {
    display: flex;
    gap: 17px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.benefit-row > span {
    color: #5d7e35;
}

.benefit-row h3 {
    font-size: 1.05rem;
    margin-bottom: 7px;
}

.benefit-row p {
    font-size: 0.92rem;
    color: var(--muted);
    margin: 0;
}

.process-step {
    border-top: 1px solid var(--line);
    padding-top: 30px;
}

.process-marker {
    display: block;
    width: 14px;
    height: 14px;
    border: 3px solid #7b9849;
    transform: rotate(45deg);
    margin-bottom: 28px;
}

.process-step h3 {
    max-width: 200px;
    font-size: 1.25rem;
    margin-bottom: 17px;
}

.process-step p {
    font-size: 0.94rem;
}

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

.enquiry-section > .container > .row > .col-lg-5 > p {
    color: #c1d0ca;
    max-width: 400px;
}

.enquiry-section .eyebrow {
    color: var(--lime);
}

.contact-note {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 40px;
    font-size: 1rem;
}

.contact-emblem {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    border: 1px solid #7e9956;
    border-radius: 50%;
    color: var(--lime);
    font-size: 1.5rem;
}

.enquiry-card {
    background: #fff;
    color: var(--ink);
    padding: 37px;
    border-radius: 9px;
}

.enquiry-card .eyebrow {
    color: #5f793a;
    font-size: 0.7rem;
}

.enquiry-card h3 {
    font-size: 1.65rem;
}

.enquiry-card > p {
    font-size: 0.92rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.86rem;
    margin-bottom: 7px;
}

.form-control,
.form-select {
    min-height: 47px;
    border-radius: 5px;
    border-color: #d6dfd8;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #7b9849;
    box-shadow: 0 0 0 3px #d8f26b50;
}

.form-check-label {
    font-size: 0.83rem;
    color: #5b6c68;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    overflow: hidden;
}

.accordion-button {
    padding: 25px 10px;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: var(--paper);
    color: var(--ink);
    box-shadow: none;
}

.accordion-body {
    color: var(--muted);
    line-height: 1.8;
}

.site-footer {
    padding: 60px 0 25px;
    background: #0b2226;
    color: #c0cfcb;
}

.brand.light {
    color: #fff;
}

.site-footer .footer-label {
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 0;
    margin-bottom: 22px;
}

.site-footer .col-6 > a {
    display: block;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-intro {
    font-size: 1rem;
    line-height: 1.7;
}

.disclaimer {
    padding-top: 26px;
    border-top: 1px solid #ffffff20;
    font-size: 0.82rem;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.75rem;
    color: #9bb0aa;
    margin-top: 25px;
}

.service-hero {
    background: var(--paper);
}

.service-hero h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.3rem);
}

.breadcrumb-link {
    text-underline-offset: 5px;
    font-size: 0.9rem;
}

.detail-image {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 5px 50px 5px 5px;
}

.detail-block {
    margin-bottom: 45px;
}

.detail-block h2,
.help-panel h2,
.privacy-content h2 {
    font-size: 1.65rem;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.detail-list {
    padding-left: 21px;
}

.detail-list li {
    margin-bottom: 13px;
    color: var(--muted);
}

.help-panel {
    padding: 32px;
    background: var(--paper);
    border-left: 4px solid #9db85b;
}

.solutions-aside {
    position: sticky;
    top: 125px;
    border: 1px solid var(--line);
    padding: 28px;
}

.solutions-aside h2 {
    font-size: 1.3rem;
    letter-spacing: 0;
}

.solutions-aside a {
    display: block;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

.solutions-aside a.active {
    color: #58722f;
    font-weight: 700;
}

.privacy-content {
    max-width: 900px;
}

.privacy-content h2 {
    margin-top: 35px;
}

:focus-visible {
    outline: 3px solid #7f9b46;
    outline-offset: 4px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 20px 0;
    }

    .navbar-nav {
        gap: 12px;
    }

    .hero {
        padding-top: 45px;
    }

    .hero .carousel-item {
        min-height: 250px;
    }

    .hero-visual {
        max-width: 650px;
        margin: 0 auto;
    }

    .hero-visual > img {
        height: 380px;
    }

    .section-space {
        padding: 65px 0;
    }

    .about-image img {
        height: 420px;
    }
}

@media (max-width: 575px) {
    .navbar {
        min-height: 78px;
    }

    .hero h1,
    .hero-title {
        font-size: 2.8rem;
    }

    .hero .carousel-item {
        min-height: 295px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .slider-caption {
        display: none;
    }

    .hero-visual {
        padding-left: 10px;
    }

    .hero-visual > img {
        height: 340px;
    }

    .visual-label {
        left: 0;
        bottom: 60px;
        padding: 16px 22px;
    }

    .enquiry-card,
    .solution-card {
        padding: 25px;
    }

    .about-image {
        padding-right: 15px;
    }

    .image-note {
        padding: 25px;
        font-size: 1.4rem;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Manhattan branding and automatically scrolling partner portfolio. */
.brand .company-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand .brand-name strong {
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.brand .brand-name small {
    font-size: 0.75rem;
    letter-spacing: 0.015em;
    line-height: 1.4;
    text-transform: none;
}

.contact-company-logo {
    border-radius: 10px;
    object-fit: contain;
}

.partner-section {
    padding: 50px 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.partner-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
}

.partner-heading-row .eyebrow {
    margin-bottom: 12px;
}

.partner-heading-row h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: -0.025em;
    max-width: 760px;
}

.partner-pause {
    flex-shrink: 0;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 0.875rem;
}

.partner-window {
    overflow: hidden;
    width: 100%;
}

.partner-track {
    display: flex;
    width: max-content;
    animation: partner-scroll 110s linear infinite;
}

.partner-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    flex-shrink: 0;
}

.partner-logo {
    flex: 0 0 180px;
    width: 180px;
    height: 84px;
    background-repeat: no-repeat;
    background-color: #fff;
}

.partner-window:hover .partner-track,
.partner-window:focus-within .partner-track,
.partner-track.is-paused {
    animation-play-state: paused;
}

.documents-required h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.documents-required h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 26px 0 12px;
    color: var(--ink);
}

.documents-required li {
    margin-bottom: 8px;
}

.document-note {
    border-left: 3px solid #7b9849;
    background: var(--paper);
    padding: 15px;
    margin-top: 24px;
}

@keyframes partner-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .nav-link { font-size: 0.82rem; margin: 0 3px; }
    .navbar-nav .btn { padding: 11px 14px; font-size: 0.83rem; }
}

@media (max-width: 575px) {
    .brand .brand-name strong { font-size: 1.25rem; }
    .brand .brand-name small { font-size: 0.68rem; }
    .brand .company-logo { width: 46px; height: 46px; }
    .partner-heading-row { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .partner-track { animation: none; }
    .partner-window { overflow-x: auto; }
    .partner-group[aria-hidden="true"] { display: none; }
    .partner-pause { display: none; }
}

/* Each partner now uses its own PNG file. */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
}

.partner-logo img {
    display: block;
    width: 155px;
    height: 64px;
    max-width: 100%;
    object-fit: contain;
}

.sister-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
}

.sister-company-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 32px;
    background: var(--paper);
    border-left: 4px solid #7b9849;
    border-radius: 6px;
}

.sister-company-card .eyebrow {
    margin-bottom: 12px;
}

.sister-company-card h2 {
    margin-bottom: 0;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.sister-company-card p {
    max-width: 300px;
    margin: 0;
    color: var(--muted);
}

@media (max-width: 767px) {
    .sister-company-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        gap: 20px;
    }
}

.footer-sister {
    display: block;
    margin-top: 20px;
    font-size: 0.85rem;
    line-height: 1.6;
}
