﻿:root {
    --ft-yellow: #FAB700;
    --ft-yellow-hover: #E59F03;
    --ft-navy: #0E173B;
    --ft-footer: #040817;
    --ft-text: #161921;
    --ft-muted: #6f727a;
    --ft-border: #DBDBDB;
    --ft-container: 1290px;
    --ft-header-h: 95px;
    --ft-font: "DM Sans", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--ft-font);
    color: var(--ft-text);
    background: #fff;
}

    body.ft-menu-open {
        overflow: hidden;
    }

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button, input, textarea, select {
    font: inherit;
}

.ft-site-shell {
    min-height: 100vh;
}

.ft-container {
    width: min(calc(100% - 100px), var(--ft-container));
    margin-inline: auto;
}

/* Header */
.ft-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1000;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.26);
    transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .ft-header.is-scrolled {
        position: fixed;
        background: rgba(4,8,23,.96);
        border-bottom-color: rgba(255,255,255,.08);
        box-shadow: 0 8px 30px rgba(0,0,0,.16);
    }

.ft-header__inner {
    min-height: var(--ft-header-h);
    padding: 20px 50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.ft-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ft-brand__logo {
    width: auto;
    height: 54px;
}

.ft-header__actions {
    display: flex;
    justify-content: flex-end;
}

.ft-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2vw, 38px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-nav__item a {
    position: relative;
    display: block;
    padding: 10px 0;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

    .ft-nav__item a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: 2px;
        height: 2px;
        background: var(--ft-yellow);
        transition: right .2s ease;
    }

    .ft-nav__item a:hover::after, .ft-nav__item.is-active a::after {
        right: 0;
    }

.ft-nav__item.is-active a {
    color: var(--ft-yellow);
}

.ft-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .ft-menu-toggle span {
        display: block;
        height: 2px;
        margin: 6px 0;
        background: #fff;
    }

/* Mobile menu */
.ft-mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 430px);
    z-index: 1200;
    padding: 34px;
    background: var(--ft-footer);
    color: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    visibility: hidden;
}

    .ft-mobile-menu.is-open {
        transform: translateX(0);
        visibility: visible;
    }

.ft-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

    .ft-mobile-menu-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

.ft-mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.ft-mobile-menu__brand img {
    height: 54px;
    width: auto;
    margin-bottom: 55px;
}

.ft-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .ft-mobile-nav li {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .ft-mobile-nav a {
        display: block;
        padding: 17px 0;
        text-decoration: none;
        font-size: 23px;
        font-weight: 500;
    }

    .ft-mobile-nav li.is-active a {
        color: var(--ft-yellow);
    }

/* Hero */
.ft-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
    background: var(--ft-navy);
}

.ft-home-slider {
    height: 100svh;
    min-height: 620px;
}

.ft-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
}

    .ft-slide.is-active {
        opacity: 1;
        visibility: visible;
    }

.ft-slide__image, .ft-static-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.ft-slide__image--bottom {
    object-position: center bottom;
}

.ft-slide__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4,8,23,.58), rgba(4,8,23,.22) 55%, rgba(4,8,23,.32));
}

.ft-slide__content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 100svh;
    padding-top: calc(var(--ft-header-h) + 55px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.ft-slide__content--left {
    justify-content: flex-start;
}

.ft-slide__content--center {
    justify-content: center;
    text-align: center;
}

.ft-slide__copy {
    max-width: 900px;
    color: #fff;
}

.ft-slide__content--left .ft-slide__copy {
    max-width: 800px;
}

.ft-slide h1, .ft-slide h2, .ft-static-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(56px, 6.2vw, 100px);
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.01;
}

.ft-slide p, .ft-static-hero p {
    margin: 0 0 34px;
    color: #fff;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.5;
}

.ft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 40px;
    background: var(--ft-yellow);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

    .ft-button:hover {
        background: var(--ft-yellow-hover);
        transform: translateY(-2px);
    }

.ft-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 58px;
    height: 70px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.9);
    font-size: 70px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

.ft-slider-arrow--prev {
    left: 32px;
}

.ft-slider-arrow--next {
    right: 32px;
}

.ft-slider-dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

    .ft-slider-dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        background: #f9f9f9;
        cursor: pointer;
        transition: background .2s ease, transform .2s ease;
    }

        .ft-slider-dots button.is-active {
            background: var(--ft-yellow);
            transform: scale(1.2);
        }

/* Static page hero: same full-screen slot. Add .ft-static-hero--compact if a page should use ~500px later. */
.ft-static-hero {
    height: 100svh;
    min-height: 620px;
}

.ft-static-hero--compact {
    height: 500px;
    min-height: 500px;
}

.ft-static-hero__content {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    padding-top: calc(var(--ft-header-h) + 55px);
    padding-bottom: 70px;
    display: flex;
    align-items: center;
}

.ft-static-hero--compact .ft-static-hero__content {
    min-height: 500px;
}

/* Main content */
.ft-main {
    background: #fff;
}

.ft-section {
    padding: 100px 0;
}

.ft-section-heading {
    max-width: 780px;
    margin-bottom: 45px;
}

.ft-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ft-yellow-hover);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.7px;
}

.ft-eyebrow--light {
    color: var(--ft-yellow);
}

.ft-section-heading h2, .ft-copy-width h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -1.2px;
}

.ft-section-heading p, .ft-copy-width p {
    color: var(--ft-muted);
    font-size: 18px;
    line-height: 1.75;
}

.ft-copy-width {
    max-width: 900px;
}

.ft-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.ft-service-card {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

    .ft-service-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(4,8,23,.08), rgba(4,8,23,.82));
        z-index: 1;
    }

.ft-service-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .5s ease;
}

.ft-service-card:hover .ft-service-card__image {
    transform: scale(1.045);
}

.ft-service-card__number {
    position: absolute;
    z-index: 2;
    top: 28px;
    left: 30px;
    font-size: 16px;
    font-weight: 700;
}

.ft-service-card__body {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 30px;
    bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

    .ft-service-card__body strong {
        font-size: 25px;
        font-weight: 600;
    }

    .ft-service-card__body small {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* Footer */
.ft-footer {
    background: var(--ft-footer);
    color: #96999F;
    padding: 78px 0 0;
}

.ft-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr .8fr 1fr;
    gap: 55px;
    align-items: start;
}

.ft-footer__column h2 {
    margin: 8px 0 25px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.ft-footer__column p, .ft-footer__column address, .ft-footer__links {
    font-size: 15px;
    line-height: 1.75;
}

.ft-footer__column address {
    font-style: normal;
}

.ft-footer__column a {
    color: #c6c7ca;
    text-decoration: none;
    transition: color .2s ease;
}

    .ft-footer__column a:hover {
        color: var(--ft-yellow);
    }

.ft-footer__logo {
    width: auto;
    height: 90px;
    margin-bottom: 18px;
}

.ft-footer__about p {
    max-width: 320px;
    text-align: justify;
}

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

    .ft-footer__links li + li {
        margin-top: 5px;
    }

.ft-footer__compliance {
    text-align: center;
}

.ft-footer__sqas {
    width: min(100%, 250px);
    margin: 0 auto;
}

.ft-footer__bottom {
    margin-top: 60px;
    padding: 26px 0 28px;
    border-top: 1px solid #4D5267;
}

    .ft-footer__bottom p {
        margin: 0;
        font-size: 16px;
    }

@media (max-width: 1180px) {
    :root {
        --ft-header-h: 86px;
    }

    .ft-container {
        width: min(calc(100% - 60px), var(--ft-container));
    }

    .ft-header__inner {
        padding: 16px 30px;
        grid-template-columns: 1fr auto;
    }

    .ft-nav {
        display: none;
    }

    .ft-menu-toggle {
        display: block;
    }

    .ft-service-card {
        min-height: 400px;
    }

    .ft-footer__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 767px) {
    :root {
        --ft-header-h: 78px;
    }

    .ft-container {
        width: min(calc(100% - 40px), var(--ft-container));
    }

    .ft-header__inner {
        padding: 12px 20px;
    }

    .ft-brand__logo {
        height: 50px;
    }

    .ft-home-slider, .ft-static-hero {
        min-height: 560px;
    }

    .ft-slide__content, .ft-static-hero__content {
        padding-top: calc(var(--ft-header-h) + 45px);
        padding-bottom: 70px;
    }

    .ft-slide h1, .ft-slide h2, .ft-static-hero h1 {
        font-size: clamp(43px, 13vw, 68px);
        letter-spacing: -1px;
    }

    .ft-slide p, .ft-static-hero p {
        font-size: 17px;
    }

    .ft-slider-arrow {
        display: none;
    }

    .ft-slider-dots {
        bottom: 28px;
    }

    .ft-section {
        padding: 70px 0;
    }

    .ft-service-grid {
        grid-template-columns: 1fr;
    }

    .ft-service-card {
        min-height: 370px;
    }

    .ft-footer {
        padding-top: 60px;
    }

    .ft-footer__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ft-footer__compliance {
        text-align: left;
    }

    .ft-footer__sqas {
        margin-left: 0;
    }

    .ft-footer__bottom {
        margin-top: 45px;
    }
}

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

    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
