/* =========================================================
   FINSYS CPA SERVICES LLC
   COMPLETE WEBSITE STYLESHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    line-height: 1.6;

    color: #00334e;
    background: #ffffff;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --navy: #00334e;
    --navy-dark: #00283e;

    --blue: #0077b6;
    --blue-light: #eaf7fc;

    --orange: #ff9f1c;
    --orange-dark: #ed8b00;

    --text: #00334e;
    --muted: #526d7d;

    --light-bg: #edf8fc;
    --border: #d5e5ec;

    --white: #ffffff;

    --shadow:
        0 12px 35px rgba(0, 51, 78, 0.09);
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {
    width: min(1240px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--navy);
}

p {
    margin-top: 0;
}

.section-label {
    display: block;

    margin-bottom: 10px;

    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: 1.8px;
    text-transform: uppercase;

    color: var(--blue);
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 19px;

    border: 1px solid transparent;
    border-radius: 6px;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;

    text-align: center;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--orange);
    border-color: var(--orange);

    color: #002f49;
}

.button-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
}

.button-outline {
    background: transparent;

    border-color: var(--navy);

    color: var(--navy);
}

.button-outline:hover {
    background: var(--navy);

    color: #ffffff;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #d9e4e9;
}

.navbar {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    gap: 10px;
}

.brand-mark {
    width: 43px;
    height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 6px;

    background: var(--navy);

    color: var(--orange);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-weight: 700;
}

.brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-name strong {
    font-size: 21px;
    line-height: 1;

    letter-spacing: 1px;

    color: var(--navy);
}

.brand-name small {
    margin-top: 6px;

    font-size: 12px;

    letter-spacing: 1.1px;

    color: #66808e;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navigation {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 27px;
}

.main-navigation > a,
.navigation-dropdown > a {
    position: relative;

    min-height: 88px;

    display: inline-flex;
    align-items: center;

    white-space: nowrap;

    font-size: 14px;
    font-weight: 700;

    color: var(--navy);
}

.main-navigation > a:hover,
.navigation-dropdown > a:hover,
.main-navigation > a.active,
.navigation-dropdown > a.active {
    color: var(--blue);
}

.main-navigation > a.active::after,
.navigation-dropdown > a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 13px;

    height: 2px;

    background: var(--orange);
}

.dropdown-arrow {
    margin-left: 5px;

    font-size: 10px;
}


/* =========================================================
   NAVIGATION DROPDOWN
========================================================= */

.navigation-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;

    z-index: 1200;

    top: calc(100% - 7px);
    left: -18px;

    width: 265px;

    padding: 8px 0;

    background: #ffffff;

    border: 1px solid #d9e6ec;
    border-radius: 8px;

    box-shadow:
        0 15px 35px rgba(0, 51, 78, 0.13);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.navigation-dropdown:hover .dropdown-menu,
.navigation-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.dropdown-menu a {
    display: block;

    padding: 11px 18px;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;

    color: var(--navy);

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.dropdown-menu a:hover {
    background: #edf8fc;

    color: var(--blue);
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    flex-shrink: 0;
}

.header-portal {
    min-width: 140px;
    min-height: 47px;
}

.mobile-menu-button,
.mobile-portal-button {
    display: none;
}


/* =========================================================
   HOME HERO
========================================================= */

.hero-section {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--light-bg);
}


/* =========================================================
   HERO TWO SECTIONS
========================================================= */

.hero-two-sections {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    background: var(--light-bg);
}


/* =========================================================
   HERO LEFT
========================================================= */

.hero-left {
    min-width: 0;

    display: flex;
    align-items: center;

    padding-top: 38px;
    padding-bottom: 38px;

    padding-left:
        max(4vw, calc((100vw - 1240px) / 2));

    padding-right: 40px;

    background: var(--light-bg);
}

.hero-left-inner {
    width: 100%;
    max-width: 590px;
}

.hero-left h1 {
    max-width: 570px;

    margin: 0 0 18px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(46px, 3.7vw, 55px);
    line-height: 0.98;

    font-weight: 700;

    letter-spacing: -1.4px;

    color: var(--navy);
}

.hero-left h1 span {
    color: var(--blue);
}

.hero-description {
    width: 100%;
    max-width: 550px;

    margin: 0 0 21px;

    font-size: 12px;
    line-height: 1.65;

    color: black;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.hero-buttons .button {
    min-height: 42px;

    padding: 10px 17px;

    font-size: 11px;
}


/* =========================================================
   HOME HERO RIGHT
========================================================= */

.hero-right {
    position: relative;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    background: var(--light-bg);
}


/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--light-bg);
}

.hero-slides {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transform: translateX(25px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        visibility 0.65s ease;
}

.hero-slide.active {
    z-index: 2;

    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}

.hero-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center center;

    margin: 0;
    padding: 0;

    border: 0;

    background: var(--light-bg);
}


/* =========================================================
   OLD SLIDER CONTENT
========================================================= */

.slide-dark-overlay,
.slide-content,
.slide-label {
    display: none !important;
}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.slider-arrow {
    position: absolute;

    z-index: 20;

    top: 50%;

    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.90);
    border-radius: 50%;

    background: rgba(0, 51, 78, 0.73);

    color: #ffffff;

    font-size: 25px;
    line-height: 1;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.slider-arrow:hover {
    background: var(--orange);
    border-color: var(--orange);

    color: var(--navy);
}

.slider-prev {
    left: 14px;
}

.slider-next {
    right: 14px;
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.slider-dots {
    position: absolute;

    z-index: 20;

    left: 50%;
    bottom: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    transform: translateX(-50%);
}

.slider-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 1px solid rgba(0, 51, 78, 0.35);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);

    transition: 0.25s ease;
}

.slider-dot.active {
    width: 25px;

    border-color: var(--orange);
    border-radius: 10px;

    background: var(--orange);
}


/* =========================================================
   LEADERSHIP SECTION
========================================================= */

.leadership-section {
    padding: 62px 0;

    background: #e6f5fa;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.55fr 0.88fr;

    gap: 42px;

    align-items: center;
}

.leadership-image {
    overflow: hidden;

    min-height: 300px;

    border-radius: 10px;

    background: var(--blue);
}

.leadership-image img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 300px;

    object-fit: cover;
}

.leadership-content h2 {
    margin: 0 0 5px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 37px;
    line-height: 1.04;

    color: var(--navy);
}

.leadership-content h3 {
    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    color: var(--blue);
}

.leadership-content p {
    margin-bottom: 11px;

    font-size: 12px;
    line-height: 1.7;

    color: black;
}

.leadership-quote {
    padding: 28px;

    border-radius: 10px;

    background: #ffffff;

    box-shadow: var(--shadow);
}

.leadership-quote .quote-mark {
    display: block;

    margin-bottom: 20px;

    font-family: Georgia, serif;

    font-size: 36px;
    line-height: 1;

    color: var(--blue);
}

.leadership-quote p {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;
    line-height: 1.6;

    color: black;
}

.leadership-quote strong {
    display: block;

    margin-top: 15px;

    font-size: 15px;

    color: var(--navy);
}


/* =========================================================
   SERVICES PAGE HERO
========================================================= */

.services-page-hero {
    position: relative;

    overflow: hidden;

    padding: 76px 0;

    background:
        linear-gradient(
            110deg,
            #edf8fc 0%,
            #edf8fc 62%,
            #dff2f9 100%
        );
}

.services-page-hero::after {
    content: "";

    position: absolute;

    width: 560px;
    height: 560px;

    right: -150px;
    top: -270px;

    border: 70px solid rgba(0, 119, 182, 0.055);
    border-radius: 50%;

    pointer-events: none;
}

.services-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);

    gap: 80px;

    align-items: center;
}

.services-hero-content {
    max-width: 650px;
}

.services-hero-content h1 {
    max-width: 620px;

    margin: 0 0 20px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 4.4vw, 66px);
    line-height: 1;

    letter-spacing: -1.6px;

    color: var(--navy);
}

.services-hero-content h1 span {
    color: var(--blue);
}

.services-hero-content > p {
    max-width: 590px;

    margin-bottom: 27px;

    font-size: 15px;
    line-height: 1.7;

    color: var(--muted);
}

.services-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   SERVICES HERO PANEL
========================================================= */

.services-hero-panel {
    position: relative;

    padding: 38px 38px 31px;

    border-radius: 12px;

    background: var(--navy);

    color: #ffffff;

    box-shadow:
        0 20px 45px rgba(0, 51, 78, 0.14);
}

.services-panel-label {
    display: block;

    margin-bottom: 10px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;

    color: #7ed0f0;
}

.services-hero-panel h2 {
    margin: 0 0 23px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    line-height: 1.15;

    color: #ffffff;
}

.services-hero-panel ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.services-hero-panel li {
    position: relative;

    padding: 13px 0 13px 31px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.14);

    font-size: 13px;
    line-height: 1.45;

    color: #ffffff;
}

.services-hero-panel li:last-child {
    border-bottom: 0;
}

.services-hero-panel li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 12px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--orange);

    color: var(--navy);

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   SERVICES INTRODUCTION
========================================================= */

.services-intro-section {
    padding: 68px 0 55px;

    background: #ffffff;
}

.services-intro {
    max-width: 760px;

    margin: 0 auto 36px;

    text-align: center;
}

.services-intro h2 {
    margin: 0 0 14px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 39px;
    line-height: 1.12;

    color: var(--navy);
}

.services-intro p {
    max-width: 650px;

    margin: 0 auto;

    font-size: 14px;
    line-height: 1.7;

    color: var(--muted);
}


/* =========================================================
   SERVICE QUICK LINKS
========================================================= */

.service-quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.service-quick-link {
    min-height: 67px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 15px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #f8fcfe;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;

    text-align: center;

    color: var(--navy);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.service-quick-link:hover {
    transform: translateY(-2px);

    background: var(--navy);

    border-color: var(--navy);

    color: #ffffff;
}


/* =========================================================
   SERVICE DETAILS SECTION
========================================================= */

.service-details-section {
    padding: 20px 0 75px;

    background: #ffffff;
}

.service-detail-row {
    position: relative;

    display: grid;
    grid-template-columns: 0.62fr 1.25fr 1fr;

    gap: 50px;

    align-items: center;

    min-height: 335px;

    padding: 55px 0;

    border-top: 1px solid var(--border);

    scroll-margin-top: 105px;
}

.service-detail-row:last-child {
    border-bottom: 1px solid var(--border);
}


/* =========================================================
   SERVICE VISUAL
========================================================= */

.service-detail-visual {
    min-height: 210px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 30px;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            var(--navy) 0%,
            #005477 100%
        );

    color: #ffffff;
}

.service-number {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 65px;
    line-height: 1;

    font-weight: 700;

    color: var(--orange);
}

.service-visual-line {
    width: 48px;
    height: 3px;

    margin: 17px 0;

    background: #ffffff;
}

.service-detail-visual > span {
    font-size: 9px;
    line-height: 1.4;
    font-weight: 800;

    letter-spacing: 1.6px;

    color: #ffffff;
}


/* =========================================================
   SERVICE DETAIL CONTENT
========================================================= */

.service-detail-content h2 {
    margin: 0 0 7px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;
    line-height: 1.1;

    color: var(--navy);
}

.service-detail-content h3 {
    margin: 0 0 14px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;
    line-height: 1.35;

    color: var(--blue);
}

.service-detail-content p {
    max-width: 520px;

    margin-bottom: 17px;

    font-size: 13px;
    line-height: 1.75;

    color: var(--muted);
}

.service-text-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    font-size: 12px;
    font-weight: 800;

    color: var(--blue);
}

.service-text-link span {
    font-size: 18px;

    transition: transform 0.2s ease;
}

.service-text-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   SERVICE FEATURES
========================================================= */

.service-detail-features {
    padding: 27px 29px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #f7fcfe;
}

.service-detail-features h4 {
    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;

    color: var(--navy);
}

.service-detail-features ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.service-detail-features li {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 8px 0;

    border-bottom: 1px solid #deebf0;

    font-size: 12px;
    line-height: 1.45;

    color: var(--text);
}

.service-detail-features li:last-child {
    border-bottom: 0;
}

.service-check {
    width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 19px;

    margin-top: 1px;

    border-radius: 50%;

    background: var(--orange);

    color: var(--navy);

    font-size: 10px;
    font-weight: 900;
}


/* =========================================================
   ALTERNATE SERVICE ROW
========================================================= */

.service-detail-reverse .service-detail-visual {
    background:
        linear-gradient(
            145deg,
            #006d9e 0%,
            var(--navy) 100%
        );
}


/* =========================================================
   WHY FINSYS SERVICES SECTION
========================================================= */

.services-why-section {
    padding: 75px 0;

    background: var(--light-bg);
}

.services-why-heading {
    max-width: 680px;

    margin-bottom: 38px;
}

.services-why-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 39px;
    line-height: 1.12;

    color: var(--navy);
}

.services-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.services-why-card {
    min-height: 230px;

    padding: 28px 25px;

    border: 1px solid #d5e8ef;
    border-radius: 10px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.services-why-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.why-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 50%;

    background: var(--orange);

    color: var(--navy);

    font-family: Georgia, serif;

    font-size: 15px;
    font-weight: 700;
}

.services-why-card h3 {
    margin: 0 0 10px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;

    color: var(--navy);
}

.services-why-card p {
    margin: 0;

    font-size: 12px;
    line-height: 1.7;

    color: var(--muted);
}


/* =========================================================
   SERVICES CTA
========================================================= */

.services-cta-section {
    padding: 60px 0;

    background: var(--navy);

    color: #ffffff;
}

.services-cta-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;

    gap: 50px;

    align-items: center;
}

.services-cta-label {
    margin-bottom: 8px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.7px;

    color: #70c7e8;
}

.services-cta-section h2 {
    margin: 0 0 10px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 36px;
    line-height: 1.15;

    color: #ffffff;
}

.services-cta-section p {
    max-width: 650px;

    margin: 0;

    font-size: 13px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.80);
}

.services-cta-buttons {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.services-white-button {
    background: #ffffff;

    border-color: #ffffff;

    color: var(--navy);
}

.services-white-button:hover {
    background: transparent;

    color: #ffffff;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 48px 0 0;

    background: #ffffff;

    border-top: 1px solid #dfe8ec;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;

    gap: 55px;

    padding-bottom: 42px;
}

.footer-brand .brand {
    margin-bottom: 15px;
}

.footer-brand-mark {
    width: 38px;
    height: 38px;

    font-size: 22px;
}

.footer-brand-name strong {
    font-size: 17px;
}

.footer-brand p {
    max-width: 270px;

    margin: 0;

    font-size: 11px;
    line-height: 1.7;

    color: var(--muted);
}

.footer-column h3 {
    margin: 0 0 13px;

    font-size: 11px;
    font-weight: 800;

    color: var(--navy);
}

.footer-column > a:not(.button) {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;

    color: var(--muted);
}

.footer-column > a:not(.button):hover {
    color: var(--blue);
}

.footer-column p {
    max-width: 220px;

    margin-bottom: 13px;

    font-size: 10px;
    line-height: 1.6;

    color: var(--muted);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid #e1eaee;

    font-size: 9px;

    color: #738b98;
}

.copyright a:hover {
    color: var(--blue);
}

.copyright-divider {
    margin: 0 7px;
}


/* =========================================================
   DESKTOP - SMALLER SCREENS
========================================================= */

@media (max-width: 1180px) {

    .container {
        width: min(1120px, calc(100% - 50px));
    }

    .navbar {
        gap: 14px;
    }

    .main-navigation {
        gap: 15px;
    }

    .main-navigation > a,
    .navigation-dropdown > a {
        font-size: 16px;
        font-weight: 700;
    }


    .hero-left {
        padding-left: 4%;
        padding-right: 28px;
    }

    .hero-left h1 {
        font-size: 48px;
    }

    .services-hero-grid {
        gap: 50px;
    }

    .service-detail-row {
        gap: 32px;
    }
}


/* =========================================================
   TABLET NAVIGATION
========================================================= */

@media (max-width: 1000px) {

    .container {
        width: calc(100% - 40px);
    }

    .navbar {
        min-height: 76px;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin-left: auto;

        border: 1px solid var(--border);
        border-radius: 6px;

        background: #ffffff;

        color: var(--navy);

        font-size: 21px;
    }

    .header-actions {
        display: none;
    }

    .main-navigation {
        position: absolute;

        top: 76px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 10px 20px 20px;

        background: #ffffff;

        border-top: 1px solid var(--border);

        box-shadow:
            0 15px 25px rgba(0, 51, 78, 0.08);
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation > a,
    .navigation-dropdown > a {
        width: 100%;
        min-height: auto;

        padding: 12px 0;

        font-size: 13px;
    }

    .main-navigation > a.active::after,
    .navigation-dropdown > a.active::after {
        display: none;
    }

    .navigation-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;

        display: none;

        width: 100%;

        padding: 0 0 5px 15px;

        border: 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;
    }

    .navigation-dropdown:hover .dropdown-menu,
    .navigation-dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 9px 10px;
    }

    .mobile-portal-button {
        display: block !important;

        margin-top: 8px;

        padding: 12px !important;

        border: 1px solid var(--navy);
        border-radius: 5px;

        text-align: center;
    }


    /* HOME HERO */

    .hero-two-sections {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 45px 5%;
    }

    .hero-left-inner {
        max-width: 650px;
    }

    .hero-right {
        width: 100%;
    }

    .hero-slider {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .hero-slide img {
        object-fit: contain;
    }


    /* LEADERSHIP */

    .leadership-grid {
        grid-template-columns: 0.8fr 1.2fr;

        gap: 30px;
    }

    .leadership-quote {
        grid-column: 1 / -1;
    }


    /* SERVICES */

    .services-page-hero {
        padding: 60px 0;
    }

    .services-hero-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .services-hero-content {
        max-width: 720px;
    }

    .services-hero-panel {
        max-width: 650px;
    }

    .service-quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-row {
        grid-template-columns: 0.65fr 1.35fr;

        gap: 30px;
    }

    .service-detail-features {
        grid-column: 1 / -1;
    }

    .services-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-cta-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .services-cta-buttons {
        max-width: 370px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 32px);
    }

    .brand-mark {
        width: 40px;
        height: 40px;

        font-size: 23px;
    }

    .brand-name strong {
        font-size: 18px;
    }


    /* HOME HERO */

    .hero-left {
        padding: 38px 20px;
    }

    .hero-left h1 {
        max-width: 100%;

        font-size: 41px;
        line-height: 1.02;

        letter-spacing: -1px;
    }

    .hero-description {
        max-width: 100%;

        font-size: 13px;
    }

    .hero-right {
        width: 100%;
    }

    .hero-slider {
        width: 100%;

        aspect-ratio: 16 / 9;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;

        font-size: 21px;
    }

    .slider-prev {
        left: 8px;
    }

    .slider-next {
        right: 8px;
    }


    /* LEADERSHIP */

    .leadership-section {
        padding: 45px 0;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-image {
        min-height: 360px;
    }

    .leadership-image img {
        min-height: 360px;
    }

    .leadership-content h2 {
        font-size: 32px;
    }


    /* SERVICES HERO */

    .services-page-hero {
        padding: 48px 0;
    }

    .services-hero-content h1 {
        font-size: 44px;
        line-height: 1.02;
    }

    .services-hero-content > p {
        font-size: 14px;
    }

    .services-hero-panel {
        padding: 29px 25px;
    }

    .services-hero-panel h2 {
        font-size: 27px;
    }


    /* SERVICES INTRO */

    .services-intro-section {
        padding: 50px 0 40px;
    }

    .services-intro h2 {
        font-size: 32px;
    }

    .service-quick-links {
        grid-template-columns: 1fr;
    }


    /* SERVICE DETAILS */

    .service-details-section {
        padding-bottom: 55px;
    }

    .service-detail-row {
        grid-template-columns: 1fr;

        gap: 23px;

        padding: 42px 0;
    }

    .service-detail-visual {
        min-height: 150px;
    }

    .service-number {
        font-size: 53px;
    }

    .service-detail-content h2 {
        font-size: 30px;
    }

    .service-detail-features {
        grid-column: auto;
    }


    /* WHY */

    .services-why-section {
        padding: 55px 0;
    }

    .services-why-heading h2 {
        font-size: 32px;
    }

    .services-why-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .services-cta-section {
        padding: 50px 0;
    }

    .services-cta-section h2 {
        font-size: 31px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .copyright {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        padding: 15px 0;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 28px);
    }


    /* HEADER */

    .navbar {
        min-height: 70px;
    }

    .main-navigation {
        top: 70px;
    }

    .brand-name small {
        font-size: 6px;
    }


    /* HOME HERO */

    .hero-left {
        padding: 31px 16px;
    }

    .hero-left h1 {
        font-size: 35px;
        line-height: 1.04;

        letter-spacing: -0.6px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;

        font-size: 19px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    .slider-dot.active {
        width: 20px;
    }


    /* SERVICES */

    .services-page-hero {
        padding: 38px 0;
    }

    .services-hero-content h1 {
        font-size: 36px;

        letter-spacing: -0.7px;
    }

    .services-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-hero-buttons .button {
        width: 100%;
    }

    .services-hero-panel {
        padding: 25px 20px;
    }

    .services-hero-panel h2 {
        font-size: 24px;
    }

    .services-intro h2 {
        font-size: 28px;
    }

    .service-detail-visual {
        padding: 25px;
    }

    .service-detail-content h2 {
        font-size: 27px;
    }

    .service-detail-content h3 {
        font-size: 16px;
    }

    .service-detail-features {
        padding: 23px 20px;
    }

    .services-why-heading h2 {
        font-size: 28px;
    }

    .services-why-card {
        min-height: auto;
    }

    .services-cta-section h2 {
        font-size: 28px;
    }

    .services-cta-buttons {
        width: 100%;
    }

    .services-cta-buttons .button {
        width: 100%;
    }
}

/* =========================================================
   =========================================================
   NEW SERVICES PAGE - SIDEBAR + 4 X 2 CARD DESIGN
   =========================================================
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.services-layout-page {
    width: 100%;
    background: #f7fbfd;
}

.services-layout {
    width: 100%;

    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);

    align-items: stretch;
}


/* =========================================================
   LEFT SERVICES SIDEBAR
========================================================= */

.services-sidebar {
    position: relative;

    background: #00334e;
    color: #ffffff;

    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.services-sidebar-inner {
    position: sticky;
    top: 0;

    min-height: calc(100vh - 88px);

    padding: 48px 25px 38px;
}

.services-sidebar-label {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;

    color: #7bd0f1;
}

.services-sidebar h1 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;
    line-height: 1;

    color: #ffffff;
}

.services-sidebar h1 span {
    display: block;
    color: #ff9f1c;
}

.services-sidebar > p,
.services-sidebar-inner > p {
    margin: 0 0 27px;

    font-size: 11px;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.70);
}


/* =========================================================
   LEFT SERVICE NAV
========================================================= */

.services-side-nav {
    display: flex;
    flex-direction: column;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.services-side-nav a {
    position: relative;

    min-height: 52px;

    display: grid;
    grid-template-columns: 26px 1fr 15px;

    gap: 8px;

    align-items: center;

    padding: 8px 3px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 10px;
    line-height: 1.35;
    font-weight: 600;

    color: rgba(255, 255, 255, 0.86);

    transition:
        padding-left 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.services-side-nav a:hover,
.services-side-nav a.active {
    padding-left: 8px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);
}

.services-side-nav a::before {
    content: "";

    position: absolute;

    left: -25px;
    top: 0;
    bottom: 0;

    width: 3px;

    background: transparent;
}

.services-side-nav a:hover::before,
.services-side-nav a.active::before {
    background: #ff9f1c;
}

.side-service-number {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 11px;

    color: #ff9f1c;
}

.services-side-nav a strong {
    font-size: 14px;
    color: #7bd0f1;
}


/* =========================================================
   SIDEBAR CTA
========================================================= */

.sidebar-contact {
    margin-top: 30px;

    padding: 19px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.05);
}

.sidebar-contact > span {
    display: block;

    margin-bottom: 5px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #7bd0f1;
}

.sidebar-contact > strong {
    display: block;

    margin-bottom: 14px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    line-height: 1.35;

    color: #ffffff;
}

.sidebar-contact .button {
    width: 100%;

    min-height: 38px;

    font-size: 10px;
}


/* =========================================================
   RIGHT MAIN AREA
========================================================= */

.services-main-area {
    min-width: 0;

    padding: 45px 46px 0;

    background: #f7fbfd;
}


/* =========================================================
   RIGHT INTRO
========================================================= */

.services-grid-intro {
    display: grid;
    grid-template-columns: 1fr 330px;

    gap: 45px;

    align-items: end;

    margin-bottom: 28px;
}

.services-grid-intro h2 {
    max-width: 650px;

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 36px;
    line-height: 1.08;

    letter-spacing: -0.6px;

    color: #00334e;
}

.services-grid-intro h2 span {
    color: #0077b6;
}

.services-grid-intro > p {
    margin: 0 0 3px;

    font-size: 11px;
    line-height: 1.65;

    color: #607b8a;
}


/* =========================================================
   SERVICE GRID - 4 X 2
========================================================= */

.services-card-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.interactive-service-card {
    position: relative;

    min-width: 0;
    height: 330px;

    overflow: hidden;

    border: 1px solid #d5e6ed;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 7px 20px rgba(0, 51, 78, 0.045);

    outline: none;

    scroll-margin-top: 120px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.interactive-service-card:hover,
.interactive-service-card:focus,
.interactive-service-card.service-selected {
    transform: translateY(-5px);

    border-color: #8ccbe4;

    box-shadow:
        0 16px 35px rgba(0, 51, 78, 0.13);
}

.interactive-service-card.service-selected {
    box-shadow:
        0 0 0 3px rgba(255, 159, 28, 0.24),
        0 16px 35px rgba(0, 51, 78, 0.13);
}


/* =========================================================
   CARD FRONT
========================================================= */

.service-card-front {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;

    padding: 23px 21px;

    background: #ffffff;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    transition:
        opacity 0.32s ease,
        transform 0.32s ease,
        visibility 0.32s ease;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.service-card-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #e9f7fc;

    color: #0077b6;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;
    font-weight: 700;
}

.service-card-number {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;
    line-height: 1;

    color: #d7e6ec;
}

.service-card-front h3 {
    min-height: 48px;

    margin: 0 0 9px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;
    line-height: 1.25;

    color: #00334e;
}

.service-card-tagline {
    display: block;

    min-height: 34px;

    margin-bottom: 9px;

    font-size: 10px;
    line-height: 1.45;

    color: #0077b6;
}

.service-card-front p {
    margin: 0 0 16px;

    font-size: 10px;
    line-height: 1.6;

    color: #617b89;
}

.service-hover-message {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: auto;

    padding-top: 13px;

    border-top: 1px solid #e2edf2;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.3px;

    color: #0077b6;
}

.service-hover-message strong {
    font-size: 15px;
}


/* =========================================================
   CARD BACK / WHAT'S INCLUDED
========================================================= */

.service-card-back {
    position: absolute;
    inset: 0;

    z-index: 3;

    display: flex;
    flex-direction: column;

    padding: 21px;

    background:
        linear-gradient(
            145deg,
            #00334e 0%,
            #004d70 100%
        );

    color: #ffffff;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity 0.32s ease,
        transform 0.32s ease,
        visibility 0.32s ease;
}


/* DESKTOP HOVER */

.interactive-service-card:hover .service-card-front,
.interactive-service-card:focus .service-card-front {
    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);
}

.interactive-service-card:hover .service-card-back,
.interactive-service-card:focus .service-card-back {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* MOBILE CLICK */

.interactive-service-card.card-open .service-card-front {
    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);
}

.interactive-service-card.card-open .service-card-back {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   BACK CARD CONTENT
========================================================= */

.service-back-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 10px;

    padding-bottom: 11px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.15);
}

.service-back-heading > div > span {
    display: block;

    margin-bottom: 4px;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.2px;

    color: #79d0f2;
}

.service-back-heading h3 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    line-height: 1.25;

    color: #ffffff;
}

.service-back-icon {
    width: 33px;
    height: 33px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ff9f1c;

    color: #00334e;

    font-family: Georgia, serif;

    font-size: 15px;
    font-weight: 700;
}

.service-card-back h4 {
    margin: 13px 0 7px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: #ffb84e;
}

.service-card-back ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.service-card-back li {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    padding: 4px 0;

    font-size: 9px;
    line-height: 1.35;

    color: rgba(255, 255, 255, 0.92);
}

.included-check {
    width: 15px;
    height: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 15px;

    margin-top: 0;

    border-radius: 50%;

    background: #ff9f1c;

    color: #00334e;

    font-size: 8px;
    font-weight: 900;
}

.service-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;

    padding-top: 10px;

    border-top:
        1px solid rgba(255, 255, 255, 0.14);

    font-size: 9px;
    font-weight: 800;

    color: #ffffff;
}

.service-card-cta span {
    font-size: 15px;

    color: #ff9f1c;

    transition: transform 0.2s ease;
}

.service-card-cta:hover span {
    transform: translateX(4px);
}


/* =========================================================
   WHY FINSYS
========================================================= */

.services-compact-why {
    margin-top: 45px;
    margin-left: -46px;
    margin-right: -46px;

    padding: 48px 46px 52px;

    background: #e7f5fa;

    border-top: 1px solid #d5e7ee;
}

.services-compact-why-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;

    column-gap: 50px;

    margin-bottom: 27px;
}

.services-compact-why-heading .section-label {
    grid-column: 1 / -1;
}

.services-compact-why-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 31px;
    line-height: 1.1;

    color: #00334e;
}

.services-compact-why-heading h2 span {
    display: block;

    color: #0077b6;
}

.services-compact-why-heading p {
    margin: 0;

    font-size: 11px;
    line-height: 1.7;

    color: #5e7988;
}


/* =========================================================
   WHY CARDS
========================================================= */

.compact-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.compact-why-card {
    position: relative;

    min-height: 175px;

    padding: 22px 19px;

    overflow: hidden;

    border: 1px solid #d2e5ec;
    border-radius: 9px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.compact-why-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(0, 51, 78, 0.09);
}

.compact-why-number {
    position: absolute;

    right: 14px;
    top: 10px;

    font-family: Georgia, serif;

    font-size: 30px;

    color: #e5eff3;
}

.compact-why-icon {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 50%;

    background: #ff9f1c;

    color: #00334e;

    font-size: 16px;
    font-weight: 700;
}

.compact-why-card h3 {
    margin: 0 0 7px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    color: #00334e;
}

.compact-why-card p {
    margin: 0;

    font-size: 10px;
    line-height: 1.6;

    color: #637d8b;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.services-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    margin-left: -46px;
    margin-right: -46px;

    padding: 36px 46px;

    background: #00334e;

    color: #ffffff;
}

.services-bottom-cta > div:first-child > span {
    display: block;

    margin-bottom: 5px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #7bd0f1;
}

.services-bottom-cta h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;

    color: #ffffff;
}

.services-bottom-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.services-bottom-outline {
    border-color: rgba(255, 255, 255, 0.65);

    color: #ffffff;
}

.services-bottom-outline:hover {
    background: #ffffff;
    border-color: #ffffff;

    color: #00334e;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1450px) {

    .services-layout {
        grid-template-columns: 310px minmax(0, 1fr);
    }

    .services-main-area {
        padding-left: 55px;
        padding-right: 55px;
    }

    .services-card-grid {
        gap: 18px;
    }

    .interactive-service-card {
        height: 345px;
    }
}


/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1180px) {

    .services-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .services-main-area {
        padding-left: 30px;
        padding-right: 30px;
    }

    .services-card-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .services-grid-intro {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-compact-why {
        margin-left: -30px;
        margin-right: -30px;

        padding-left: 30px;
        padding-right: 30px;
    }

    .services-bottom-cta {
        margin-left: -30px;
        margin-right: -30px;

        padding-left: 30px;
        padding-right: 30px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .services-layout {
        display: block;
    }


    /* SIDEBAR BECOMES TOP AREA */

    .services-sidebar {
        border-right: 0;
    }

    .services-sidebar-inner {
        position: relative;

        min-height: auto;

        padding: 35px 25px;
    }

    .services-sidebar h1 span {
        display: inline;
    }

    .services-sidebar-inner > p {
        max-width: 500px;
    }

    .services-side-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 1px;

        border: 0;

        background: rgba(255, 255, 255, 0.10);
    }

    .services-side-nav a {
        min-height: 50px;

        padding: 9px 12px;

        border: 0;

        background: #00334e;
    }

    .services-side-nav a::before {
        display: none;
    }

    .services-side-nav a:hover,
    .services-side-nav a.active {
        padding-left: 12px;

        background: #004c6d;
    }

    .sidebar-contact {
        display: none;
    }


    /* MAIN */

    .services-main-area {
        padding: 38px 25px 0;
    }

    .services-card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .interactive-service-card {
        height: 325px;
    }

    .services-compact-why {
        margin-left: -25px;
        margin-right: -25px;

        padding-left: 25px;
        padding-right: 25px;
    }

    .services-compact-why-heading {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .compact-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-bottom-cta {
        margin-left: -25px;
        margin-right: -25px;

        padding-left: 25px;
        padding-right: 25px;

        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .services-sidebar-inner {
        padding: 30px 18px;
    }

    .services-sidebar h1 {
        font-size: 34px;
    }

    .services-side-nav {
        grid-template-columns: 1fr;
    }

    .services-main-area {
        padding: 32px 17px 0;
    }

    .services-grid-intro h2 {
        font-size: 30px;
    }

    .services-card-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .interactive-service-card {
        height: 325px;
    }

    .service-card-front h3 {
        min-height: auto;

        font-size: 20px;
    }

    .service-card-tagline {
        min-height: auto;
    }

    .services-compact-why {
        margin-top: 35px;

        margin-left: -17px;
        margin-right: -17px;

        padding:
            40px 17px;
    }

    .services-compact-why-heading h2 {
        font-size: 28px;
    }

    .compact-why-grid {
        grid-template-columns: 1fr;
    }

    .compact-why-card {
        min-height: 150px;
    }

    .services-bottom-cta {
        margin-left: -17px;
        margin-right: -17px;

        padding:
            32px 17px;
    }

    .services-bottom-cta h2 {
        font-size: 24px;
    }

    .services-bottom-actions {
        width: 100%;

        flex-direction: column;
    }

    .services-bottom-actions .button {
        width: 100%;
    }
}

/* =========================================================
   SERVICES PAGE - FINAL ICON OVERRIDES
   NO SERVICE NUMBERS
========================================================= */


/* ---------------------------------------------------------
   SIDEBAR SERVICE LINKS
--------------------------------------------------------- */

.services-side-nav a {
    display: grid !important;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        18px !important;

    align-items: center;

    gap: 10px;
}


/* REMOVE ANY OLD NUMBER ELEMENT */

.side-service-number,
.service-card-number,
.compact-why-number {
    display: none !important;
}


/* ---------------------------------------------------------
   SIDEBAR SVG ICON
--------------------------------------------------------- */

.side-service-icon {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background:
        rgba(123, 208, 241, 0.12);

    color: #7bd0f1;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.side-service-icon svg {
    width: 18px;
    height: 18px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.services-side-nav a:hover
.side-service-icon,

.services-side-nav a.active
.side-service-icon {

    background: #ff9f1c;

    color: #00334e;

    transform: scale(1.05);
}


.side-service-title {
    min-width: 0;
}


.side-service-arrow {
    font-size: 14px;

    color: #7bd0f1;
}



/* =========================================================
   SERVICE CARD FRONT ICON
========================================================= */

.service-card-top {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    margin-bottom: 20px;
}


.service-card-icon {
    width: 52px !important;
    height: 52px !important;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: #e8f7fc !important;

    color: #0077b6 !important;

    font-family: inherit !important;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


.service-card-icon svg {
    width: 27px !important;
    height: 27px !important;

    display: block !important;

    fill: none !important;

    stroke: currentColor !important;

    stroke-width: 1.8 !important;

    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}


.interactive-service-card:hover
.service-card-icon {

    transform:
        translateY(-2px)
        scale(1.04);

    box-shadow:
        0 8px 18px
        rgba(0, 119, 182, 0.15);
}



/* =========================================================
   HOVER / BACK ICON
========================================================= */

.service-back-icon {
    width: 44px !important;
    height: 44px !important;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    border-radius: 12px !important;

    background: #ff9f1c !important;

    color: #00334e !important;

    font-family: inherit !important;
}


.service-back-icon svg {
    width: 23px !important;
    height: 23px !important;

    display: block !important;

    fill: none !important;

    stroke: currentColor !important;

    stroke-width: 2 !important;

    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}



/* =========================================================
   WHY FINSYS MODERN SVG ICONS
========================================================= */

.compact-why-icon {
    width: 42px !important;
    height: 42px !important;

    display: flex !important;

    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 12px !important;

    background: #ff9f1c !important;

    color: #00334e !important;

    font-family: inherit !important;
}


.compact-why-icon svg {
    width: 21px;
    height: 21px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.9;

    stroke-linecap: round;
    stroke-linejoin: round;
}



/* =========================================================
   CARD FRONT
========================================================= */

.service-card-front h3 {
    margin-top: 0;
}


.service-card-front {
    text-align: left;
}



/* =========================================================
   CARD BACK HEADER
========================================================= */

.service-back-heading {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}


.service-back-heading > div {
    min-width: 0;
}


.service-back-heading > div > span {
    display: block;

    margin-bottom: 5px;

    color: #7bd0f1;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .services-side-nav a {

        grid-template-columns:
            36px
            minmax(0, 1fr)
            18px !important;

    }

}


@media (max-width: 600px) {

    .service-card-icon {

        width: 50px !important;
        height: 50px !important;

    }


    .service-card-icon svg {

        width: 25px !important;
        height: 25px !important;

    }


    .side-service-icon {

        width: 32px;
        height: 32px;

    }


    .side-service-icon svg {

        width: 17px;
        height: 17px;

    }

}

/* =========================================================
   INDUSTRIES PAGE
========================================================= */

.industries-page {
    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.industries-hero {
    position: relative;

    padding: 65px 0;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #edf8fc 0%,
            #f7fcfe 65%,
            #ffffff 100%
        );
}

.industries-hero::after {
    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    right: -130px;
    top: -170px;

    border-radius: 50%;

    background:
        rgba(0, 119, 182, 0.055);
}


.industries-hero-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(300px, 0.6fr);

    gap: 80px;

    align-items: center;
}


.industries-hero-content {
    max-width: 720px;
}


.industries-hero-content h1 {
    margin: 0 0 19px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(
        42px,
        4.1vw,
        58px
    );

    line-height: 1.03;

    letter-spacing: -1.3px;

    color: #00334e;
}


.industries-hero-content h1 span {
    display: block;

    color: #0077b6;
}


.industries-hero-content > p {
    max-width: 625px;

    margin: 0 0 25px;

    font-size: 13px;
    line-height: 1.75;

    color: #526d7d;
}


.industries-button-arrow {
    margin-left: 9px;

    font-size: 16px;
}



/* =========================================================
   HERO VISUAL
========================================================= */

.industries-hero-visual {
    position: relative;

    padding: 36px;

    border: 1px solid #d2e6ee;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 18px 45px
        rgba(0, 51, 78, 0.09);
}


.industry-hero-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    border-radius: 15px;

    background: #00334e;

    color: #ff9f1c;
}


.industry-hero-icon svg {
    width: 31px;
    height: 31px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.industries-hero-visual > span {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    color: #0077b6;
}


.industries-hero-visual > strong {
    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;
    line-height: 1.4;

    color: #00334e;
}



/* =========================================================
   INDUSTRY LIST
========================================================= */

.industry-list-section {
    padding: 67px 0 75px;

    background: #ffffff;
}


.industry-list-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(260px, 0.8fr);

    gap: 70px;

    align-items: end;

    margin-bottom: 35px;
}


.industry-list-heading h2 {
    max-width: 650px;

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 37px;
    line-height: 1.08;

    color: #00334e;
}


.industry-list-heading h2 span {
    color: #0077b6;
}


.industry-list-heading > p {
    margin: 0;

    font-size: 12px;
    line-height: 1.7;

    color: #607987;
}



/* =========================================================
   INDUSTRY ROWS
========================================================= */

.industry-rows {
    border-top: 1px solid #d7e6ec;
}


.industry-row {
    position: relative;

    display: grid;

    grid-template-columns:
        64px
        minmax(220px, 1fr)
        minmax(360px, 1.45fr)
        80px;

    gap: 20px;

    align-items: center;

    min-height: 132px;

    padding: 22px 15px;

    border-bottom:
        1px solid #d7e6ec;

    background: #ffffff;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.industry-row:hover {
    z-index: 2;

    background: #f0f9fc;

    transform: translateX(4px);

    box-shadow:
        0 10px 30px
        rgba(0, 51, 78, 0.06);
}



/* =========================================================
   INDUSTRY ICON
========================================================= */

.industry-row-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #e7f6fc;

    color: #0077b6;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.industry-row-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.industry-row:hover
.industry-row-icon {

    background: #00334e;

    color: #ff9f1c;

    transform: scale(1.05);
}



/* =========================================================
   INDUSTRY TITLE
========================================================= */

.industry-row-title h3 {
    margin: 0 0 6px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;
    line-height: 1.25;

    color: #00334e;

    transition: color 0.2s ease;
}


.industry-row:hover
.industry-row-title h3 {

    color: #0077b6;
}


.industry-row-title p {
    max-width: 370px;

    margin: 0;

    font-size: 10px;
    line-height: 1.6;

    color: #637c89;
}



/* =========================================================
   INDUSTRY POINTS
========================================================= */

.industry-row-points {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.industry-row-points > span {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border: 1px solid #d8e8ee;
    border-radius: 20px;

    background: #ffffff;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;

    color: #526d7d;
}


.industry-row-points i {
    width: 15px;
    height: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ff9f1c;

    color: #00334e;

    font-style: normal;

    font-size: 8px;
    font-weight: 900;
}



/* =========================================================
   EXPLORE
========================================================= */

.industry-row-arrow {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 2px;

    color: #0077b6;
}


.industry-row-arrow span {
    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}


.industry-row-arrow strong {
    font-size: 25px;

    line-height: 1;

    transition:
        transform 0.25s ease;
}


.industry-row:hover
.industry-row-arrow strong {

    transform: translateX(6px);
}



/* =========================================================
   BOTTOM CTA
========================================================= */

.industry-main-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin-top: 45px;

    padding: 34px 38px;

    border-radius: 11px;

    background: #00334e;
}


.industry-main-cta > div > span {
    display: block;

    margin-bottom: 4px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #7bd0f1;
}


.industry-main-cta h2 {
    margin: 0 0 5px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;

    color: #ffffff;
}


.industry-main-cta p {
    margin: 0;

    font-size: 10px;

    color:
        rgba(255,255,255,.72);
}


.industry-main-cta .button {
    flex-shrink: 0;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .industries-hero-grid {
        gap: 45px;
    }


    .industry-row {
        grid-template-columns:
            60px
            minmax(190px, .8fr)
            minmax(300px, 1.2fr)
            65px;
    }

}


@media (max-width: 900px) {

    .industries-hero-grid {
        grid-template-columns: 1fr;
    }


    .industries-hero-visual {
        max-width: 550px;
    }


    .industry-list-heading {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .industry-row {
        grid-template-columns:
            55px
            minmax(0, 1fr)
            50px;

        gap: 15px;
    }


    .industry-row-points {
        grid-column: 2 / 4;

        padding-bottom: 5px;
    }


    .industry-row-arrow {
        grid-column: 3;
        grid-row: 1;
    }

}


@media (max-width: 600px) {

    .industries-hero {
        padding: 45px 0;
    }


    .industries-hero-content h1 {
        font-size: 38px;
    }


    .industries-hero-visual {
        padding: 26px;
    }


    .industry-list-section {
        padding: 48px 0 55px;
    }


    .industry-list-heading h2 {
        font-size: 30px;
    }


    .industry-row {
        grid-template-columns:
            48px
            minmax(0, 1fr);

        padding:
            22px 5px;

        min-height: auto;
    }


    .industry-row-icon {
        width: 44px;
        height: 44px;

        border-radius: 11px;
    }


    .industry-row-icon svg {
        width: 22px;
        height: 22px;
    }


    .industry-row-title h3 {
        font-size: 18px;
    }


    .industry-row-points {
        grid-column: 1 / -1;

        padding-left: 0;

        margin-top: 5px;
    }


    .industry-row-arrow {
        grid-column: 1 / -1;
        grid-row: auto;

        flex-direction: row;

        justify-content: flex-start;

        margin-top: 4px;
    }


    .industry-main-cta {
        flex-direction: column;

        align-items: flex-start;

        padding: 28px 24px;
    }


    .industry-main-cta .button {
        width: 100%;
    }

}

.industry-slider-panel {
    position: relative;
    min-width: 0;
    padding: 28px 70px 28px 60px;
    border-left: 4px solid #00334e;
}
/* =========================================================
   HEADER NAVIGATION - MINIMUM VISIBLE FONT SIZE
   Keeps the shared navigation readable across all pages.
========================================================= */
.main-navigation > a,
.main-navigation > .navigation-dropdown > a {
    font-size: 14px !important;
}

/* =========================================================
   =========================================================
   NEW SERVICES PAGE - SIDEBAR + 4 X 2 CARD DESIGN
   =========================================================
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.services-layout-page {
    width: 100%;
    background: #f7fbfd;
}

.services-layout {
    width: 100%;

    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);

    align-items: stretch;
}


/* =========================================================
   LEFT SERVICES SIDEBAR
========================================================= */

.services-sidebar {
    position: relative;

    background: #00334e;
    color: #ffffff;

    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.services-sidebar-inner {
    position: sticky;
    top: 0;

    min-height: calc(100vh - 88px);

    padding: 48px 25px 38px;
}

.services-sidebar-label {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;

    color: #7bd0f1;
}

.services-sidebar h1 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;
    line-height: 1;

    color: #ffffff;
}

.services-sidebar h1 span {
    display: block;
    color: #ff9f1c;
}

.services-sidebar > p,
.services-sidebar-inner > p {
    margin: 0 0 27px;

    font-size: 11px;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.70);
}


/* =========================================================
   LEFT SERVICE NAV
========================================================= */

.services-side-nav {
    display: flex;
    flex-direction: column;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.services-side-nav a {
    position: relative;

    min-height: 52px;

    display: grid;
    grid-template-columns: 26px 1fr 15px;

    gap: 8px;

    align-items: center;

    padding: 8px 3px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 10px;
    line-height: 1.35;
    font-weight: 600;

    color: rgba(255, 255, 255, 0.86);

    transition:
        padding-left 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.services-side-nav a:hover,
.services-side-nav a.active {
    padding-left: 8px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);
}

.services-side-nav a::before {
    content: "";

    position: absolute;

    left: -25px;
    top: 0;
    bottom: 0;

    width: 3px;

    background: transparent;
}

.services-side-nav a:hover::before,
.services-side-nav a.active::before {
    background: #ff9f1c;
}

.side-service-number {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 11px;

    color: #ff9f1c;
}

.services-side-nav a strong {
    font-size: 14px;
    color: #7bd0f1;
}


/* =========================================================
   SIDEBAR CTA
========================================================= */

.sidebar-contact {
    margin-top: 30px;

    padding: 19px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.05);
}

.sidebar-contact > span {
    display: block;

    margin-bottom: 5px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #7bd0f1;
}

.sidebar-contact > strong {
    display: block;

    margin-bottom: 14px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    line-height: 1.35;

    color: #ffffff;
}

.sidebar-contact .button {
    width: 100%;

    min-height: 38px;

    font-size: 10px;
}


/* =========================================================
   RIGHT MAIN AREA
========================================================= */

.services-main-area {
    min-width: 0;

    padding: 45px 46px 0;

    background: #f7fbfd;
}


/* =========================================================
   RIGHT INTRO
========================================================= */

.services-grid-intro {
    display: grid;
    grid-template-columns: 1fr 330px;

    gap: 45px;

    align-items: end;

    margin-bottom: 28px;
}

.services-grid-intro h2 {
    max-width: 650px;

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 36px;
    line-height: 1.08;

    letter-spacing: -0.6px;

    color: #00334e;
}

.services-grid-intro h2 span {
    color: #0077b6;
}

.services-grid-intro > p {
    margin: 0 0 3px;

    font-size: 11px;
    line-height: 1.65;

    color: #607b8a;
}


/* =========================================================
   SERVICE GRID - 4 X 2
========================================================= */

.services-card-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.interactive-service-card {
    position: relative;

    min-width: 0;
    height: 330px;

    overflow: hidden;

    border: 1px solid #d5e6ed;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 7px 20px rgba(0, 51, 78, 0.045);

    outline: none;

    scroll-margin-top: 120px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.interactive-service-card:hover,
.interactive-service-card:focus,
.interactive-service-card.service-selected {
    transform: translateY(-5px);

    border-color: #8ccbe4;

    box-shadow:
        0 16px 35px rgba(0, 51, 78, 0.13);
}

.interactive-service-card.service-selected {
    box-shadow:
        0 0 0 3px rgba(255, 159, 28, 0.24),
        0 16px 35px rgba(0, 51, 78, 0.13);
}


/* =========================================================
   CARD FRONT
========================================================= */

.service-card-front {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;

    padding: 23px 21px;

    background: #ffffff;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    transition:
        opacity 0.32s ease,
        transform 0.32s ease,
        visibility 0.32s ease;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.service-card-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #e9f7fc;

    color: #0077b6;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;
    font-weight: 700;
}

.service-card-number {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;
    line-height: 1;

    color: #d7e6ec;
}

.service-card-front h3 {
    min-height: 48px;

    margin: 0 0 9px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;
    line-height: 1.25;

    color: #00334e;
}

.service-card-tagline {
    display: block;

    min-height: 34px;

    margin-bottom: 9px;

    font-size: 10px;
    line-height: 1.45;

    color: #0077b6;
}

.service-card-front p {
    margin: 0 0 16px;

    font-size: 10px;
    line-height: 1.6;

    color: #617b89;
}

.service-hover-message {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: auto;

    padding-top: 13px;

    border-top: 1px solid #e2edf2;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.3px;

    color: #0077b6;
}

.service-hover-message strong {
    font-size: 15px;
}


/* =========================================================
   CARD BACK / WHAT'S INCLUDED
========================================================= */

.service-card-back {
    position: absolute;
    inset: 0;

    z-index: 3;

    display: flex;
    flex-direction: column;

    padding: 21px;

    background:
        linear-gradient(
            145deg,
            #00334e 0%,
            #004d70 100%
        );

    color: #ffffff;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity 0.32s ease,
        transform 0.32s ease,
        visibility 0.32s ease;
}


/* DESKTOP HOVER */

.interactive-service-card:hover .service-card-front,
.interactive-service-card:focus .service-card-front {
    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);
}

.interactive-service-card:hover .service-card-back,
.interactive-service-card:focus .service-card-back {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* MOBILE CLICK */

.interactive-service-card.card-open .service-card-front {
    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);
}

.interactive-service-card.card-open .service-card-back {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   BACK CARD CONTENT
========================================================= */

.service-back-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 10px;

    padding-bottom: 11px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.15);
}

.service-back-heading > div > span {
    display: block;

    margin-bottom: 4px;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.2px;

    color: #79d0f2;
}

.service-back-heading h3 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    line-height: 1.25;

    color: #ffffff;
}

.service-back-icon {
    width: 33px;
    height: 33px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ff9f1c;

    color: #00334e;

    font-family: Georgia, serif;

    font-size: 15px;
    font-weight: 700;
}

.service-card-back h4 {
    margin: 13px 0 7px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: #ffb84e;
}

.service-card-back ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.service-card-back li {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    padding: 4px 0;

    font-size: 9px;
    line-height: 1.35;

    color: rgba(255, 255, 255, 0.92);
}

.included-check {
    width: 15px;
    height: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 15px;

    margin-top: 0;

    border-radius: 50%;

    background: #ff9f1c;

    color: #00334e;

    font-size: 8px;
    font-weight: 900;
}

.service-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;

    padding-top: 10px;

    border-top:
        1px solid rgba(255, 255, 255, 0.14);

    font-size: 9px;
    font-weight: 800;

    color: #ffffff;
}

.service-card-cta span {
    font-size: 15px;

    color: #ff9f1c;

    transition: transform 0.2s ease;
}

.service-card-cta:hover span {
    transform: translateX(4px);
}


/* =========================================================
   WHY FINSYS
========================================================= */

.services-compact-why {
    margin-top: 45px;
    margin-left: -46px;
    margin-right: -46px;

    padding: 48px 46px 52px;

    background: #e7f5fa;

    border-top: 1px solid #d5e7ee;
}

.services-compact-why-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;

    column-gap: 50px;

    margin-bottom: 27px;
}

.services-compact-why-heading .section-label {
    grid-column: 1 / -1;
}

.services-compact-why-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 31px;
    line-height: 1.1;

    color: #00334e;
}

.services-compact-why-heading h2 span {
    display: block;

    color: #0077b6;
}

.services-compact-why-heading p {
    margin: 0;

    font-size: 11px;
    line-height: 1.7;

    color: #5e7988;
}


/* =========================================================
   WHY CARDS
========================================================= */

.compact-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.compact-why-card {
    position: relative;

    min-height: 175px;

    padding: 22px 19px;

    overflow: hidden;

    border: 1px solid #d2e5ec;
    border-radius: 9px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.compact-why-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(0, 51, 78, 0.09);
}

.compact-why-number {
    position: absolute;

    right: 14px;
    top: 10px;

    font-family: Georgia, serif;

    font-size: 30px;

    color: #e5eff3;
}

.compact-why-icon {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 50%;

    background: #ff9f1c;

    color: #00334e;

    font-size: 16px;
    font-weight: 700;
}

.compact-why-card h3 {
    margin: 0 0 7px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    color: #00334e;
}

.compact-why-card p {
    margin: 0;

    font-size: 10px;
    line-height: 1.6;

    color: #637d8b;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.services-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    margin-left: -46px;
    margin-right: -46px;

    padding: 36px 46px;

    background: #00334e;

    color: #ffffff;
}

.services-bottom-cta > div:first-child > span {
    display: block;

    margin-bottom: 5px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #7bd0f1;
}

.services-bottom-cta h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;

    color: #ffffff;
}

.services-bottom-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.services-bottom-outline {
    border-color: rgba(255, 255, 255, 0.65);

    color: #ffffff;
}

.services-bottom-outline:hover {
    background: #ffffff;
    border-color: #ffffff;

    color: #00334e;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1450px) {

    .services-layout {
        grid-template-columns: 310px minmax(0, 1fr);
    }

    .services-main-area {
        padding-left: 55px;
        padding-right: 55px;
    }

    .services-card-grid {
        gap: 18px;
    }

    .interactive-service-card {
        height: 345px;
    }
}


/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1180px) {

    .services-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .services-main-area {
        padding-left: 30px;
        padding-right: 30px;
    }

    .services-card-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .services-grid-intro {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-compact-why {
        margin-left: -30px;
        margin-right: -30px;

        padding-left: 30px;
        padding-right: 30px;
    }

    .services-bottom-cta {
        margin-left: -30px;
        margin-right: -30px;

        padding-left: 30px;
        padding-right: 30px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .services-layout {
        display: block;
    }


    /* SIDEBAR BECOMES TOP AREA */

    .services-sidebar {
        border-right: 0;
    }

    .services-sidebar-inner {
        position: relative;

        min-height: auto;

        padding: 35px 25px;
    }

    .services-sidebar h1 span {
        display: inline;
    }

    .services-sidebar-inner > p {
        max-width: 500px;
    }

    .services-side-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 1px;

        border: 0;

        background: rgba(255, 255, 255, 0.10);
    }

    .services-side-nav a {
        min-height: 50px;

        padding: 9px 12px;

        border: 0;

        background: #00334e;
    }

    .services-side-nav a::before {
        display: none;
    }

    .services-side-nav a:hover,
    .services-side-nav a.active {
        padding-left: 12px;

        background: #004c6d;
    }

    .sidebar-contact {
        display: none;
    }


    /* MAIN */

    .services-main-area {
        padding: 38px 25px 0;
    }

    .services-card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .interactive-service-card {
        height: 325px;
    }

    .services-compact-why {
        margin-left: -25px;
        margin-right: -25px;

        padding-left: 25px;
        padding-right: 25px;
    }

    .services-compact-why-heading {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .compact-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-bottom-cta {
        margin-left: -25px;
        margin-right: -25px;

        padding-left: 25px;
        padding-right: 25px;

        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .services-sidebar-inner {
        padding: 30px 18px;
    }

    .services-sidebar h1 {
        font-size: 34px;
    }

    .services-side-nav {
        grid-template-columns: 1fr;
    }

    .services-main-area {
        padding: 32px 17px 0;
    }

    .services-grid-intro h2 {
        font-size: 30px;
    }

    .services-card-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .interactive-service-card {
        height: 325px;
    }

    .service-card-front h3 {
        min-height: auto;

        font-size: 20px;
    }

    .service-card-tagline {
        min-height: auto;
    }

    .services-compact-why {
        margin-top: 35px;

        margin-left: -17px;
        margin-right: -17px;

        padding:
            40px 17px;
    }

    .services-compact-why-heading h2 {
        font-size: 28px;
    }

    .compact-why-grid {
        grid-template-columns: 1fr;
    }

    .compact-why-card {
        min-height: 150px;
    }

    .services-bottom-cta {
        margin-left: -17px;
        margin-right: -17px;

        padding:
            32px 17px;
    }

    .services-bottom-cta h2 {
        font-size: 24px;
    }

    .services-bottom-actions {
        width: 100%;

        flex-direction: column;
    }

    .services-bottom-actions .button {
        width: 100%;
    }
}

/* =========================================================
   SERVICES PAGE - FINAL ICON OVERRIDES
   NO SERVICE NUMBERS
========================================================= */


/* ---------------------------------------------------------
   SIDEBAR SERVICE LINKS
--------------------------------------------------------- */

.services-side-nav a {
    display: grid !important;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        18px !important;

    align-items: center;

    gap: 10px;
}


/* REMOVE ANY OLD NUMBER ELEMENT */

.side-service-number,
.service-card-number,
.compact-why-number {
    display: none !important;
}


/* ---------------------------------------------------------
   SIDEBAR SVG ICON
--------------------------------------------------------- */

.side-service-icon {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background:
        rgba(123, 208, 241, 0.12);

    color: #7bd0f1;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.side-service-icon svg {
    width: 18px;
    height: 18px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.services-side-nav a:hover
.side-service-icon,

.services-side-nav a.active
.side-service-icon {

    background: #ff9f1c;

    color: #00334e;

    transform: scale(1.05);
}


.side-service-title {
    min-width: 0;
}


.side-service-arrow {
    font-size: 14px;

    color: #7bd0f1;
}



/* =========================================================
   SERVICE CARD FRONT ICON
========================================================= */

.service-card-top {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    margin-bottom: 20px;
}


.service-card-icon {
    width: 52px !important;
    height: 52px !important;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: #e8f7fc !important;

    color: #0077b6 !important;

    font-family: inherit !important;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


.service-card-icon svg {
    width: 27px !important;
    height: 27px !important;

    display: block !important;

    fill: none !important;

    stroke: currentColor !important;

    stroke-width: 1.8 !important;

    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}


.interactive-service-card:hover
.service-card-icon {

    transform:
        translateY(-2px)
        scale(1.04);

    box-shadow:
        0 8px 18px
        rgba(0, 119, 182, 0.15);
}



/* =========================================================
   HOVER / BACK ICON
========================================================= */

.service-back-icon {
    width: 44px !important;
    height: 44px !important;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    border-radius: 12px !important;

    background: #ff9f1c !important;

    color: #00334e !important;

    font-family: inherit !important;
}


.service-back-icon svg {
    width: 23px !important;
    height: 23px !important;

    display: block !important;

    fill: none !important;

    stroke: currentColor !important;

    stroke-width: 2 !important;

    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}



/* =========================================================
   WHY FINSYS MODERN SVG ICONS
========================================================= */

.compact-why-icon {
    width: 42px !important;
    height: 42px !important;

    display: flex !important;

    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 12px !important;

    background: #ff9f1c !important;

    color: #00334e !important;

    font-family: inherit !important;
}


.compact-why-icon svg {
    width: 21px;
    height: 21px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.9;

    stroke-linecap: round;
    stroke-linejoin: round;
}



/* =========================================================
   CARD FRONT
========================================================= */

.service-card-front h3 {
    margin-top: 0;
}


.service-card-front {
    text-align: left;
}



/* =========================================================
   CARD BACK HEADER
========================================================= */

.service-back-heading {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}


.service-back-heading > div {
    min-width: 0;
}


.service-back-heading > div > span {
    display: block;

    margin-bottom: 5px;

    color: #7bd0f1;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .services-side-nav a {

        grid-template-columns:
            36px
            minmax(0, 1fr)
            18px !important;

    }

}


@media (max-width: 600px) {

    .service-card-icon {

        width: 50px !important;
        height: 50px !important;

    }


    .service-card-icon svg {

        width: 25px !important;
        height: 25px !important;

    }


    .side-service-icon {

        width: 32px;
        height: 32px;

    }


    .side-service-icon svg {

        width: 17px;
        height: 17px;

    }

}
/* =========================================================
   2026 FINSYS TEMPLATE REFRESH
   Warm editorial accounting theme inspired by the supplied reference
========================================================= */
:root{
  --navy:#173f35;--navy-dark:#0f2e27;--blue:#52796f;--blue-light:#eef4ef;
  --orange:#e5a85b;--orange-dark:#cf9144;--text:#173f35;--muted:#68756f;
  --light-bg:#f5f1e8;--border:#ded8ca;--white:#fffdf8;
  --shadow:0 18px 50px rgba(23,63,53,.09);
}
body{font-family:Arial,Helvetica,sans-serif;color:#173f35;background:#fffdf8}
h1,h2,h3,h4,h5,h6{color:#173f35}
.container{width:min(1320px,calc(100% - 72px))}
.section-label{color:#b87831;letter-spacing:2.2px}
.button{min-height:48px;border-radius:0;padding:13px 22px;letter-spacing:.2px}
.button-primary{background:#e5a85b;border-color:#e5a85b;color:#173f35}
.button-primary:hover{background:#cf9144;border-color:#cf9144}
.button-outline{border-color:#173f35;color:#173f35;background:transparent}
.button-outline:hover{background:#173f35;color:#fffdf8}
.site-header{background:#fffdf8;border-bottom:1px solid #e5dfd3;position:sticky;top:0;z-index:1000}
.navbar{min-height:82px;gap:24px}
.brand-mark{border-radius:0;background:#173f35;color:#e5a85b}
.brand-name strong{color:#173f35;letter-spacing:1.8px}
.brand-name small{color:#7b857f;letter-spacing:1.1px}
.main-navigation{gap:22px}
.main-navigation>a,.navigation-dropdown>a{font-size:13px;color:#334e46;font-weight:700}
.main-navigation>a:hover,.navigation-dropdown>a:hover{color:#b87831}
.dropdown-menu{border:1px solid #e1dacd;border-radius:0;background:#fffdf8;box-shadow:0 18px 40px rgba(23,63,53,.12)}
.dropdown-menu a:hover{background:#f5f1e8;color:#b87831}
.simple-page{background:#f5f1e8!important;padding:54px 0!important}
.simple-card{border-radius:0!important;border-color:#ded8ca!important;box-shadow:none!important;background:#fffdf8!important}
.site-footer{background:#173f35!important;color:#e9eee9!important;padding-top:58px!important}
.site-footer h3,.site-footer .brand-name strong{color:#fffdf8!important}
.site-footer p,.site-footer a,.site-footer .brand-name small{color:#c9d2cd!important}
.site-footer a:hover{color:#e5a85b!important}
.copyright{border-top-color:rgba(255,255,255,.14)!important}
/* harmonize existing content cards */
.service-content,.industry-detail-container,.about-container{max-width:1320px!important}
.what-card,.industry-detail-item,.about-detail-card,.pricing-card,.simple-card{border-color:#ded8ca!important}
.what-card:hover,.industry-detail-item:hover,.about-detail-card:hover{border-color:#e5a85b!important;box-shadow:0 14px 34px rgba(23,63,53,.10)!important}
@media(max-width:900px){.container{width:min(100% - 30px,1320px)}.site-header{position:relative}}
