
/* =========================================================
   BRANCHES PAGE
   ========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --lime: #b7e600;
    --lime-dark: #96c703;

    --dark-blue: #071a35;
    --dark-blue-light: #0c274b;

    --branch-blue: #062b5c;
    --branch-dark: #02172f;

    --white: #ffffff;
    --black: #000000;

    --text: #10253f;

    --header-height: 82px;
    --header-height-mobile: 72px;

    --content-width: 1240px;

    --transition:
        0.45s cubic-bezier(.22, 1, .36, 1);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    width: 100%;
    min-width: 320px;

    scroll-behavior: smooth;

    overflow-x: hidden;

}


body {

    width: 100%;
    min-width: 320px;
    min-height: 100vh;

    overflow-x: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        var(--dark-blue);

    color:
        var(--white);

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

}


img,
svg {

    max-width: 100%;

}


img {

    display: block;

}


button,
input {

    font: inherit;

}


button {

    cursor: pointer;

}


a {

    color: inherit;

    text-decoration: none;

}


input,
button,
textarea,
select {

    -webkit-tap-highlight-color: transparent;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    background: transparent;

    transition:
        background 0.4s ease,
        height 0.4s ease,
        box-shadow 0.4s ease;

}


.site-header.scrolled {

    height: 72px;

    background:
        rgba(255, 255, 255, 0.97);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header-container {

    position: relative;

    width:
        min(var(--content-width), 92%);

    height: 100%;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    flex-shrink:
        0;

    color:
        var(--white);

    text-decoration:
        none;

    z-index:
        20;

}


.brand-logo {

    width:
        48px;

    height:
        48px;

    object-fit:
        contain;

    display:
        block;

    transition:
        transform 0.3s ease;

}


.brand:hover .brand-logo {

    transform:
        scale(1.05);

}


.brand-name {

    display:
        flex;

    flex-direction:
        column;

    line-height:
        1;

}


.brand-name span:first-child {

    font-size:
        15px;

    font-weight:
        700;

    letter-spacing:
        1px;

}


.brand-name span:last-child {

    margin-top:
        4px;

    font-size:
        7px;

    font-weight:
        400;

    letter-spacing:
        3px;

}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-nav {

    position:
        absolute;

    top:
        75%;

    left:
        50%;

    transform:
        translate(-50%, -50%);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        30px;

    white-space:
        nowrap;

    z-index:
        5;

}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-link {

    position:
        relative;

    display:
        inline-flex;

    align-items:
        center;

    padding:
        8px 0;

    color:
        var(--white);

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        1.5px;

    text-transform:
        uppercase;

    transition:
        color 0.3s ease;

}


.nav-link::after {

    content:
        "";

    position:
        absolute;

    left:
        0;

    bottom:
        0;

    width:
        0;

    height:
        2px;

    background:
        var(--lime);

    transition:
        width 0.3s ease;

}


.nav-link:hover::after,
.nav-link.active::after {

    width:
        100%;

}


.nav-link:hover {

    color:
        var(--lime);

}


/* =========================================================
   SCROLLED NAV
========================================================= */

.site-header.scrolled .brand {

    color:
        var(--branch-dark);

}


.site-header.scrolled .nav-link {

    color:
        var(--branch-dark);

}


.site-header.scrolled .nav-link:hover {

    color:
        var(--lime-dark);

}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {

    position:
        absolute;

    top:
        50%;

    right:
        0;

    transform:
        translateY(-50%);

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    z-index:
        20;

}


/* =========================================================
   SEARCH
========================================================= */

.header-search {

    width:
        180px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    border:
        1px solid rgba(255,255,255,.55);

    background:
        rgba(255,255,255,.08);

    transition:
        border-color .3s ease,
        background .3s ease;

}


.header-search input {

    width:
        100%;

    min-width:
        0;

    height:
        100%;

    padding:
        0 10px;

    border:
        0;

    outline:
        0;

    background:
        transparent;

    color:
        var(--white);

    font-family:
        inherit;

    font-size:
        11px;

}


.header-search input::placeholder {

    color:
        rgba(255,255,255,.7);

}


.header-search button {

    width:
        38px;

    height:
        100%;

    flex:
        0 0 38px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        0;

    background:
        transparent;

    color:
        var(--white);

    cursor:
        pointer;

}


.header-search button svg {

    width:
        17px;

    height:
        17px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2;

    stroke-linecap:
        round;

    transition:
        transform .3s ease;

}


.header-search button:hover svg {

    transform:
        scale(1.1);

}


/* =========================================================
   SCROLLED SEARCH
========================================================= */

.site-header.scrolled .header-search {

    border-color:
        var(--branch-dark);

    background:
        rgba(7,27,58,.03);

}


.site-header.scrolled .header-search input {

    color:
        var(--branch-dark);

}


.site-header.scrolled .header-search input::placeholder {

    color:
        rgba(7,27,58,.5);

}


.site-header.scrolled .header-search button {

    color:
        var(--branch-dark);

}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.contact-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        105px;

    height:
        38px;

    padding:
        0 18px;

    border:
        1px solid var(--lime);

    background:
        var(--lime);

    color:
        var(--branch-dark);

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        1.4px;

    text-transform:
        uppercase;

    white-space:
        nowrap;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;

}


.contact-button:hover {

    transform:
        translateY(-2px);

    background:
        transparent;

    color:
        var(--lime);

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display:
        none;

    width:
        44px;

    height:
        44px;

    padding:
        0;

    border:
        0;

    background:
        transparent;

    cursor:
        pointer;

    z-index:
        30;

    align-items:
        center;

    justify-content:
        center;

    flex-direction:
        column;

}


.menu-toggle span {

    display:
        block;

    width:
        26px;

    height:
        2px;

    margin:
        3px auto;

    background:
        var(--white);

    transition:
        transform .3s ease,
        opacity .3s ease,
        background .3s ease;

}


.site-header.scrolled .menu-toggle span {

    background:
        var(--dark-blue);

}


/* =========================================================
   MOBILE MENU ACTIVE
========================================================= */

.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(8px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity:
        0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-8px)
        rotate(-45deg);

}


/* =========================================================
   HERO
========================================================= */

.about-hero {

    position:
        relative;

    width:
        100%;

    height:
        100vh;

    min-height:
        600px;

    overflow:
        hidden;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        var(--dark-blue);

}


.hero-background {

    position:
        absolute;

    inset:
        -5%;

    background:
        url("../images/hero/8.jpg")
        center center /
        cover
        no-repeat;

    transform:
        scale(1.08);

    will-change:
        transform;

    animation:
        heroBackgroundIn 1.8s ease forwards;

}


@keyframes heroBackgroundIn {

    from {

        opacity:
            0;

        transform:
            scale(1.16);

    }

    to {

        opacity:
            1;

        transform:
            scale(1.08);

    }

}


.hero-overlay {

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            180deg,
            rgba(2,23,47,.959) 0%,
            rgba(2,23,47,.671) 35%,
            rgba(2,23,47,.78) 100%
        );

    z-index:
        1;

}


.hero-grid {

    position:
        absolute;

    inset:
        0;

    z-index:
        2;

    opacity:
        .14;

    background-image:
        linear-gradient(
            rgba(183,230,0,.16) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(183,230,0,.16) 1px,
            transparent 1px
        );

    background-size:
        70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 30%,
            black 75%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 30%,
            black 75%,
            transparent
        );

}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

    position:
        relative;

    z-index:
        3;

    width:
        min(1200px, 90%);

    margin:
        0 auto;

    padding:
        50px 0 0;

    text-align:
        center;

}


.hero-kicker {

    display:
        block;

    margin-bottom:
        22px;

    color:
        var(--lime);

    font-size:
        clamp(15px,1.5vw,24px);

    font-weight:
        700;

    letter-spacing:
        5px;

}


.hero-content h1 {

    font-size:
        clamp(60px,10vw,100px);

    line-height:
        .84;

    letter-spacing:
        -6px;

    font-weight:
        900;

    color:
        var(--white);

    overflow-wrap:
        break-word;

}


.hero-content h1 span {

    display:
        block;

    color:
        var(--lime);

}


.hero-description {

    margin-top:
        30px;

    color:
        rgba(255,255,255,.92);

    font-size:
        clamp(10px,1vw,14px);

    font-weight:
        700;

    letter-spacing:
        4px;

}


.hero-scroll {

    position:
        absolute;

    left:
        50%;

    bottom:
        28px;

    transform:
        translateX(-50%);

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        10px;

    color:
        rgba(255,255,255,.85);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        2.5px;

    z-index:
        4;

}


.hero-scroll i {

    color:
        var(--lime);

    font-size:
        17px;

    animation:
        scrollArrow 1.7s ease-in-out infinite;

}


@keyframes scrollArrow {

    0%,
    100% {

        transform:
            translateY(0);

        opacity:
            .65;

    }

    50% {

        transform:
            translateY(8px);

        opacity:
            1;

    }

}


/* =========================================================
   HERO REVEAL
========================================================= */

.reveal {

    opacity:
        0;

    transform:
        translateY(30px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.22,1,.36,1);

}


.about-hero.hero-visible .reveal {

    opacity:
        1;

    transform:
        translateY(0);

}


.about-hero.hero-visible .hero-kicker {

    transition-delay:
        .15s;

}


.about-hero.hero-visible .hero-content h1 {

    transition-delay:
        .3s;

}


.about-hero.hero-visible .hero-description {

    transition-delay:
        .45s;

}


.about-hero.hero-visible .hero-scroll {

    transition-delay:
        .65s;

}


/* =========================================================
   BRANCHES SECTION
========================================================= */

.branches-section {

    position:
        relative;

    width:
        100%;

    background:
        var(--branch-dark);

}


.branch-slide {

    position:
        relative;

    width:
        100%;

    height:
        83.333333vh;

    min-height:
        650px;

    overflow:
        hidden;

    isolation:
        isolate;

}


.branch-slide + .branch-slide {

    border-top:
        1px solid rgba(183,230,0,.08);

}


/* =========================================================
   PUZZLE BACKGROUND
========================================================= */

.branch-puzzle {

    position:
        absolute;

    inset:
        -4%;

    display:
        grid;

    grid-template-columns:
        repeat(5,1fr);

    grid-template-rows:
        repeat(2,1fr);

    gap:
        3px;

    transform:
        translate(
            var(--scroll-move,0px),
            var(--scroll-move,0px)
        )
        scale(1);

    transition:
        transform .35s ease-out;

    z-index:
        0;

}


.puzzle-piece {

    position:
        relative;

    min-width:
        0;

    min-height:
        0;

    background-position:
        center;

    background-size:
        cover;

    background-repeat:
        no-repeat;

    filter:
        saturate(.9)
        contrast(1.05);

    transition:
        transform .8s cubic-bezier(.22,1,.36,1),
        filter .8s ease;

}


.puzzle-piece::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        rgba(0,0,0,.08);

    transition:
        background .5s ease;

}


.piece-01 {
    background-image:
        url("../images/branches/1.jpeg");
}

.piece-02 {
    background-image:
        url("../images/branches/2.jpeg");
}

.piece-03 {
    background-image:
        url("../images/branches/3.jpeg");
}

.piece-04 {
    background-image:
        url("../images/branches/4.jpeg");
}

.piece-05 {
    background-image:
        url("../images/branches/5.jpeg");
}

.piece-06 {
    background-image:
        url("../images/branches/6.JPG");
}

.piece-07 {
    background-image:
        url("../images/branches/7.JPG");
}

.piece-08 {
    background-image:
        url("../images/branches/8.JPG");
}

.piece-09 {
    background-image:
        url("../images/branches/9.JPG");
}

.piece-10 {
    background-image:
        url("../images/branches/10.JPG");
}


/* =========================================================
   PUZZLE REVEAL
========================================================= */

.branch-slide:not(.branch-visible) .puzzle-piece {

    transform:
        scale(1.08);

}


.branch-slide.branch-visible .puzzle-piece {

    transform:
        scale(1);

}


.branch-slide.branch-visible .piece-01 {
    transition-delay: .02s;
}

.branch-slide.branch-visible .piece-02 {
    transition-delay: .06s;
}

.branch-slide.branch-visible .piece-03 {
    transition-delay: .10s;
}

.branch-slide.branch-visible .piece-04 {
    transition-delay: .14s;
}

.branch-slide.branch-visible .piece-05 {
    transition-delay: .18s;
}

.branch-slide.branch-visible .piece-06 {
    transition-delay: .22s;
}

.branch-slide.branch-visible .piece-07 {
    transition-delay: .26s;
}

.branch-slide.branch-visible .piece-08 {
    transition-delay: .30s;
}

.branch-slide.branch-visible .piece-09 {
    transition-delay: .34s;
}

.branch-slide.branch-visible .piece-10 {
    transition-delay: .38s;
}


/* =========================================================
   BRANCH OVERLAY
========================================================= */

.branch-dark-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        1;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.93) 0%,
            rgba(255,255,255,.84) 30%,
            rgba(255,255,255,.60) 54%,
            rgba(7,26,53,.18) 100%
        );

}


.branch-dark-overlay::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(2,23,47,.45) 100%
        );

}


/* =========================================================
   BRANCH CONTENT
========================================================= */

.branch-content {

    position:
        relative;

    z-index:
        5;

    width:
        min(1250px,88%);

    min-height:
        100%;

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        80px
        minmax(260px,1fr)
        minmax(320px,500px);

    align-items:
        center;

    column-gap:
        38px;

}


/* =========================================================
   BRANCH INDEX
========================================================= */

.branch-index {

    align-self:
        center;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        70px;

    height:
        70px;

    border:
        1px solid rgba(7,26,53,.25);

    transform:
        rotate(45deg);

    opacity:
        0;

    transition:
        opacity .8s ease,
        transform 1s cubic-bezier(.22,1,.36,1);

}


.branch-index span {

    transform:
        rotate(-45deg);

    color:
        var(--dark-blue);

    font-size:
        19px;

    font-weight:
        900;

}


.branch-visible .branch-index {

    opacity:
        1;

    transform:
        rotate(45deg)
        translate(0,0);

}


/* =========================================================
   BRANCH TITLE
========================================================= */

.branch-title {

    min-width:
        0;

    opacity:
        0;

    transform:
        translateX(-50px);

    transition:
        opacity .9s ease .15s,
        transform 1s cubic-bezier(.22,1,.36,1) .15s;

}


.branch-visible .branch-title {

    opacity:
        1;

    transform:
        translateX(0);

}


.branch-label {

    display:
        inline-block;

    margin-bottom:
        14px;

    color:
        var(--lime-dark);

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        4px;

}


.branch-title h2 {

    color:
        var(--dark-blue);

    font-size:
        clamp(42px,5vw,76px);

    line-height:
        .9;

    letter-spacing:
        -3px;

    font-weight:
        900;

    overflow-wrap:
        break-word;

}


.branch-title p {

    margin-top:
        16px;

    color:
        var(--branch-blue);

    font-size:
        13px;

    font-weight:
        800;

    letter-spacing:
        3px;

}


.branch-title-line {

    width:
        90px;

    height:
        4px;

    margin-top:
        25px;

    background:
        var(--lime);

}


/* =========================================================
   BRANCH DETAILS
========================================================= */

.branch-details {

    position:
        relative;

    width:
        100%;

    min-width:
        0;

    padding:
        35px 34px;

    background:
        rgba(4,17,38,.95);

    border:
        1px solid rgba(183,230,0,.18);

    box-shadow:
        0 30px 80px rgba(2,23,47,.28);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    clip-path:
        polygon(
            0 0,
            calc(100% - 28px) 0,
            100% 28px,
            100% 100%,
            0 100%
        );

    opacity:
        0;

    transform:
        translateX(55px);

    transition:
        opacity .9s ease .3s,
        transform 1s cubic-bezier(.22,1,.36,1) .3s;

}


.branch-visible .branch-details {

    opacity:
        1;

    transform:
        translateX(0);

}


.branch-details::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    right:
        0;

    width:
        28px;

    height:
        28px;

    background:
        var(--lime);

    clip-path:
        polygon(
            100% 0,
            100% 100%,
            0 0
        );

}


.branch-details::after {

    content:
        "";

    position:
        absolute;

    left:
        0;

    bottom:
        0;

    width:
        45px;

    height:
        4px;

    background:
        var(--lime);

}


/* =========================================================
   DETAIL
========================================================= */

.branch-detail {

    display:
        grid;

    grid-template-columns:
        36px minmax(0,1fr);

    gap:
        16px;

    padding:
        17px 0;

    border-bottom:
        1px solid rgba(255,255,255,.09);

}


.branch-detail:last-of-type {

    border-bottom:
        0;

}


.detail-icon {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        32px;

    height:
        32px;

    border:
        1px solid var(--lime);

    color:
        var(--lime);

    font-size:
        9px;

    font-weight:
        800;

}


.branch-detail small {

    display:
        block;

    margin-bottom:
        6px;

    color:
        var(--lime);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        2px;

}


.branch-detail p {

    color:
        rgba(255,255,255,.86);

    font-size:
        12px;

    line-height:
        1.65;

    overflow-wrap:
        anywhere;

    word-break:
        normal;

}


/* =========================================================
   LOCATION BUTTON
========================================================= */

.branch-location {

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    width:
        100%;

    min-height:
        54px;

    margin-top:
        24px;

    padding:
        0 16px;

    border:
        1px solid var(--lime);

    background:
        transparent;

    color:
        var(--white);

    overflow:
        hidden;

    transition:
        color .35s ease,
        border-color .35s ease;

}


.branch-location::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        var(--lime);

    transform:
        translateX(-101%);

    transition:
        transform .4s cubic-bezier(.22,1,.36,1);

    z-index:
        -1;

}


.branch-location:hover::before {

    transform:
        translateX(0);

}


.branch-location:hover {

    color:
        var(--dark-blue);

}


.location-icon {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        29px;

    height:
        29px;

    background:
        var(--lime);

    color:
        var(--dark-blue);

    flex:
        0 0 29px;

}


.location-text {

    min-width:
        0;

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        2px;

}


.location-arrow {

    margin-left:
        auto;

    flex:
        0 0 auto;

    font-size:
        11px;

}


/* =========================================================
   ORBITS
========================================================= */

.branch-orbit {

    position:
        absolute;

    border:
        1px solid rgba(183,230,0,.3);

    border-radius:
        50%;

    z-index:
        2;

    pointer-events:
        none;

}


.orbit-01 {

    width:
        460px;

    height:
        460px;

    right:
        -180px;

    top:
        -160px;

    animation:
        orbitRotate 22s linear infinite;

}


.orbit-02 {

    width:
        290px;

    height:
        290px;

    right:
        -90px;

    top:
        -75px;

    border-style:
        dashed;

    animation:
        orbitRotateReverse 17s linear infinite;

}


@keyframes orbitRotate {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}


@keyframes orbitRotateReverse {

    from {
        transform:
            rotate(360deg);
    }

    to {
        transform:
            rotate(0deg);
    }

}


/* =========================================================
   DECORATIONS
========================================================= */

.branch-decoration {

    position:
        absolute;

    z-index:
        3;

    pointer-events:
        none;

}


.decoration-square {

    width:
        90px;

    height:
        90px;

    right:
        13%;

    bottom:
        13%;

    border:
        1px solid rgba(183,230,0,.28);

    transform:
        rotate(45deg);

    animation:
        floatingSquare 5s ease-in-out infinite;

}


.decoration-line {

    width:
        150px;

    height:
        1px;

    right:
        5%;

    bottom:
        20%;

    background:
        var(--lime);

    opacity:
        .45;

    transform:
        rotate(-35deg);

}


@keyframes floatingSquare {

    0%,
    100% {

        transform:
            rotate(45deg)
            translateY(0);

    }

    50% {

        transform:
            rotate(55deg)
            translateY(-15px);

    }

}


/* =========================================================
   FOOTER
========================================================= */

.neat-footer {

    --footer-navy: #071b3a;
    --footer-lime: #b8f000;
    --footer-white: #ffffff;

    position:
        relative;

    width:
        100%;

    min-height:
        45px;

    height:
        5vh;

    background:
        var(--footer-navy);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    overflow:
        hidden;

}


.neat-footer-line {

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        100%;

    height:
        2px;

    background:
        var(--footer-lime);

    transform:
        scaleX(.4);

    transition:
        transform .8s ease;

}


.neat-footer-content {

    width:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

}


.neat-footer-copyright {

    margin:
        0;

    padding:
        0 15px;

    color:
        var(--footer-white);

    font-size:
        10px;

    font-weight:
        500;

    letter-spacing:
        .5px;

    line-height:
        1.4;

    text-align:
        center;

}


.neat-footer-copyright p {

    margin:
        0;

    font-size:
        8px;

    letter-spacing:
        .7px;

}


.neat-footer-copyright span {

    color:
        var(--lime);

}


.neat-footer-brand,
.neat-footer-accent {

    display:
        none;

}


.neat-footer:hover .neat-footer-line {

    transform:
        scaleX(1);

}


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .header-container {

        width:
            94%;

    }


    .main-nav {

        gap:
            22px;

    }


    .nav-link {

        font-size:
            10px;

        letter-spacing:
            1.1px;

    }


    .header-search {

        width:
            145px;

    }


    .contact-button {

        min-width:
            90px;

        padding:
            0 14px;

    }


    .branch-content {

        width:
            92%;

        grid-template-columns:
            70px
            minmax(250px,1fr)
            minmax(300px,430px);

        column-gap:
            28px;

    }


    .branch-details {

        padding:
            30px 26px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .site-header {

        height:
            76px;

    }


    .site-header.scrolled {

        height:
            70px;

    }


    .header-container {

        width:
            92%;

    }


    .brand-logo {

        width:
            45px;

        height:
            45px;

    }


    .main-nav {

        gap:
            16px;

    }


    .nav-link {

        font-size:
            9px;

        letter-spacing:
            .9px;

    }


    .header-search {

        width:
            115px;

    }


    .header-search input {

        font-size:
            10px;

    }


    .contact-button {

        min-width:
            82px;

        height:
            36px;

        padding:
            0 10px;

        font-size:
            9px;

    }


    .branch-content {

        width:
            90%;

        grid-template-columns:
            60px
            minmax(220px,1fr)
            minmax(280px,390px);

        column-gap:
            22px;

    }


    .branch-index {

        width:
            58px;

        height:
            58px;

    }


    .branch-index span {

        font-size:
            16px;

    }


    .branch-title h2 {

        font-size:
            clamp(38px,6vw,60px);

    }


    .branch-title p {

        font-size:
            11px;

        letter-spacing:
            2px;

    }


    .branch-details {

        padding:
            26px 22px;

    }


    .branch-detail {

        grid-template-columns:
            32px minmax(0,1fr);

        gap:
            12px;

    }

}


/* =========================================================
   MOBILE / TABLET NAVIGATION
========================================================= */

@media (max-width: 850px) {

    :root {

        --header-height-mobile:
            72px;

    }


    body {

        overflow-x:
            hidden;

    }


    /* ---------------------------------------------
       HEADER
    --------------------------------------------- */

    .site-header {

        height:
            var(--header-height-mobile);

    }


    .site-header.scrolled {

        height:
            68px;

    }


    .header-container {

        width:
            92%;

        justify-content:
            space-between;

    }


    .brand {

        max-width:
            calc(100% - 60px);

    }


    .brand-logo {

        width:
            44px;

        height:
            44px;

    }


    .brand-name {

        display:
            none;

    }


    /* ---------------------------------------------
       DESKTOP ACTIONS
    --------------------------------------------- */

    .header-actions {

        display:
            none;

    }


    /* ---------------------------------------------
       MOBILE NAV
    --------------------------------------------- */

    .main-nav {

        position:
            fixed;

        top:
            var(--header-height-mobile);

        left:
            auto;

        right:
            0;

        width:
            min(340px,88vw);

        height:
            calc(100dvh - var(--header-height-mobile));

        min-height:
            0;

        padding:
            42px 30px;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        justify-content:
            flex-start;

        gap:
            20px;

        background:
            rgba(4,17,38,.98);

        box-shadow:
            -15px 0 40px rgba(0,0,0,.2);

        overflow-y:
            auto;

        overscroll-behavior:
            contain;

        transform:
            translateX(105%);

        opacity:
            0;

        visibility:
            hidden;

        transition:
            transform .45s ease,
            opacity .35s ease,
            visibility .35s ease;

        z-index:
            15;

    }


    .main-nav.active,
    .main-nav.open {

        transform:
            translateX(0);

        opacity:
            1;

        visibility:
            visible;

    }


    .main-nav .nav-link {

        display:
            inline-flex;

        width:
            auto;

        padding:
            9px 0;

        color:
            var(--white) !important;

        font-size:
            12px;

        letter-spacing:
            1.8px;

    }


    .main-nav .nav-link:hover {

        color:
            var(--lime) !important;

    }


    /* ---------------------------------------------
       MENU BUTTON
    --------------------------------------------- */

    .menu-toggle {

        display:
            flex;

        flex-shrink:
            0;

    }


    /* ---------------------------------------------
       HERO
    --------------------------------------------- */

    .about-hero {

        height:
            100svh;

        min-height:
            560px;

    }


    .hero-content {

        width:
            90%;

        padding:
            55px 10px 0;

    }


    .hero-kicker {

        margin-bottom:
            18px;

        font-size:
            clamp(11px,2.5vw,15px);

        letter-spacing:
            3px;

    }


    .hero-content h1 {

        font-size:
            clamp(50px,14vw,85px);

        letter-spacing:
            -4px;

    }


    .hero-description {

        max-width:
            430px;

        margin:
            24px auto 0;

        font-size:
            clamp(9px,2vw,12px);

        line-height:
            1.7;

        letter-spacing:
            2px;

    }


    .hero-scroll {

        bottom:
            24px;

    }


    /* ---------------------------------------------
       BRANCH
    --------------------------------------------- */

    .branch-slide {

        height:
            auto;

        min-height:
            0;

        padding:
            0;

    }


    .branch-puzzle {

        inset:
            -8%;

        grid-template-columns:
            repeat(3,1fr);

        grid-template-rows:
            repeat(4,1fr);

    }


    .branch-content {

        width:
            88%;

        min-height:
            0;

        padding:
            100px 0 80px;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        justify-content:
            center;

        gap:
            26px;

    }


    .branch-index {

        width:
            54px;

        height:
            54px;

        flex:
            0 0 54px;

    }


    .branch-index span {

        font-size:
            15px;

    }


    .branch-title {

        width:
            100%;

    }


    .branch-label {

        margin-bottom:
            12px;

        font-size:
            10px;

        letter-spacing:
            3px;

    }


    .branch-title h2 {

        font-size:
            clamp(42px,13vw,70px);

        line-height:
            .9;

        letter-spacing:
            -2px;

    }


    .branch-title p {

        max-width:
            100%;

        margin-top:
            14px;

        font-size:
            10px;

        line-height:
            1.6;

        letter-spacing:
            2px;

    }


    .branch-title-line {

        width:
            70px;

        height:
            3px;

        margin-top:
            20px;

    }


    .branch-details {

        width:
            100%;

        max-width:
            620px;

        padding:
            24px 20px;

        clip-path:
            polygon(
                0 0,
                calc(100% - 20px) 0,
                100% 20px,
                100% 100%,
                0 100%
            );

    }


    .branch-details::before {

        width:
            20px;

        height:
            20px;

    }


    .branch-detail {

        grid-template-columns:
            32px minmax(0,1fr);

        gap:
            12px;

        padding:
            15px 0;

    }


    .detail-icon {

        width:
            30px;

        height:
            30px;

    }


    .branch-detail small {

        margin-bottom:
            5px;

        font-size:
            7px;

        letter-spacing:
            1.7px;

    }


    .branch-detail p {

        font-size:
            11px;

        line-height:
            1.6;

    }


    .branch-location {

        min-height:
            52px;

        margin-top:
            20px;

        padding:
            0 13px;

    }


    .location-icon {

        width:
            27px;

        height:
            27px;

        flex-basis:
            27px;

    }


    .location-text {

        font-size:
            9px;

        letter-spacing:
            1.4px;

    }


    /* ---------------------------------------------
       DECORATION
    --------------------------------------------- */

    .orbit-01 {

        width:
            330px;

        height:
            330px;

        right:
            -190px;

        top:
            -90px;

    }


    .orbit-02 {

        width:
            210px;

        height:
            210px;

        right:
            -120px;

        top:
            -30px;

    }


    .decoration-square {

        width:
            60px;

        height:
            60px;

        right:
            8%;

        bottom:
            5%;

    }


    .decoration-line {

        width:
            100px;

        right:
            2%;

        bottom:
            14%;

    }


    /* ---------------------------------------------
       FOOTER
    --------------------------------------------- */

    .neat-footer {

        min-height:
            52px;

        height:
            auto;

        padding:
            14px 6%;

    }


    .neat-footer-content {

        flex-direction:
            column;

        text-align:
            center;

    }


    .neat-footer-copyright {

        font-size:
            10px;

        line-height:
            1.5;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .header-container {

        width:
            90%;

    }


    .brand-logo {

        width:
            42px;

        height:
            42px;

    }


    .menu-toggle {

        width:
            42px;

        height:
            42px;

    }


    .main-nav {

        width:
            100%;

        padding:
            38px 28px;

    }


    .about-hero {

        min-height:
            540px;

    }


    .hero-content {

        width:
            91%;

        padding:
            45px 5px 0;

    }


    .hero-kicker {

        font-size:
            10px;

        letter-spacing:
            2.5px;

    }


    .hero-content h1 {

        font-size:
            clamp(48px,15vw,62px);

        letter-spacing:
            -3px;

    }


    .hero-description {

        font-size:
            8px;

        letter-spacing:
            1.6px;

    }


    .hero-scroll {

        bottom:
            20px;

        font-size:
            8px;

    }


    .branch-content {

        width:
            86%;

        padding:
            85px 0 70px;

        gap:
            23px;

    }


    .branch-index {

        width:
            50px;

        height:
            50px;

        flex-basis:
            50px;

    }


    .branch-index span {

        font-size:
            14px;

    }


    .branch-label {

        font-size:
            8px;

        letter-spacing:
            2.5px;

    }


    .branch-title h2 {

        font-size:
            clamp(40px,12vw,52px);

        letter-spacing:
            -1.5px;

    }


    .branch-title p {

        font-size:
            9px;

        letter-spacing:
            1.5px;

    }


    .branch-details {

        padding:
            21px 17px;

    }


    .branch-detail {

        grid-template-columns:
            29px minmax(0,1fr);

        gap:
            10px;

        padding:
            13px 0;

    }


    .detail-icon {

        width:
            28px;

        height:
            28px;

        font-size:
            8px;

    }


    .branch-detail small {

        font-size:
            6.5px;

        letter-spacing:
            1.4px;

    }


    .branch-detail p {

        font-size:
            10px;

        line-height:
            1.55;

    }


    .branch-location {

        min-height:
            48px;

        gap:
            9px;

        padding:
            0 10px;

    }


    .location-icon {

        width:
            25px;

        height:
            25px;

        flex-basis:
            25px;

    }


    .location-text {

        font-size:
            8px;

        letter-spacing:
            1px;

    }


    .location-arrow {

        font-size:
            9px;

    }


    .orbit-01 {

        width:
            270px;

        height:
            270px;

        right:
            -170px;

        top:
            -70px;

    }


    .orbit-02 {

        width:
            175px;

        height:
            175px;

        right:
            -100px;

        top:
            -20px;

    }


    .decoration-square {

        width:
            48px;

        height:
            48px;

    }


    .neat-footer-copyright {

        padding:
            0 8px;

        font-size:
            9px;

        line-height:
            1.6;

    }


    .neat-footer-copyright p {

        font-size:
            7px;

    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .header-container {

        width:
            88%;

    }


    .brand-logo {

        width:
            38px;

        height:
            38px;

    }


    .menu-toggle {

        width:
            40px;

        height:
            40px;

    }


    .menu-toggle span {

        width:
            23px;

    }


    .main-nav {

        padding:
            32px 22px;

        gap:
            16px;

    }


    .main-nav .nav-link {

        font-size:
            11px;

        letter-spacing:
            1.5px;

    }


    .hero-content h1 {

        font-size:
            46px;

    }


    .hero-description {

        font-size:
            7.5px;

        letter-spacing:
            1.2px;

    }


    .branch-content {

        width:
            88%;

        padding:
            75px 0 60px;

    }


    .branch-title h2 {

        font-size:
            38px;

    }


    .branch-details {

        padding:
            18px 14px;

    }


    .branch-detail {

        grid-template-columns:
            27px minmax(0,1fr);

        gap:
            8px;

    }


    .detail-icon {

        width:
            26px;

        height:
            26px;

    }


    .branch-detail p {

        font-size:
            9px;

    }


    .branch-location {

        padding:
            0 8px;

    }


    .location-text {

        font-size:
            7px;

        letter-spacing:
            .8px;

    }

}


/* =========================================================
   LANDSCAPE PHONES
========================================================= */

@media (max-width: 850px) and (orientation: landscape) {

    .site-header {

        height:
            64px;

    }


    .site-header.scrolled {

        height:
            60px;

    }


    .main-nav {

        top:
            64px;

        height:
            calc(100dvh - 64px);

        padding:
            22px 30px;

        gap:
            12px;

    }


    .main-nav .nav-link {

        padding:
            6px 0;

    }


    .about-hero {

        height:
            100svh;

        min-height:
            440px;

    }


    .hero-content {

        padding-top:
            30px;

    }


    .hero-kicker {

        margin-bottom:
            10px;

    }


    .hero-content h1 {

        font-size:
            clamp(42px,10vw,68px);

    }


    .hero-description {

        margin-top:
            15px;

    }


    .hero-scroll {

        bottom:
            12px;

    }


    .branch-content {

        padding:
            70px 0;

    }


    .branch-slide {

        min-height:
            700px;

    }

}


/* =========================================================
   SHORT DESKTOP / LAPTOP SCREENS
========================================================= */

@media (min-width: 851px) and (max-height: 750px) {

    .about-hero {

        min-height:
            560px;

    }


    .hero-content {

        padding-top:
            35px;

    }


    .hero-kicker {

        margin-bottom:
            15px;

    }


    .hero-description {

        margin-top:
            20px;

    }


    .hero-scroll {

        bottom:
            20px;

    }


    .branch-slide {

        min-height:
            600px;

    }


    .branch-content {

        padding:
            25px 0;

    }


    .branch-details {

        padding:
            25px 28px;

    }


    .branch-detail {

        padding:
            12px 0;

    }

}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {

    .brand:hover .brand-logo {

        transform:
            none;

    }


    .contact-button:hover {

        transform:
            none;

    }


    .header-search button:hover svg {

        transform:
            none;

    }


    .branch-location:hover::before {

        transform:
            translateX(-101%);

    }


    .branch-location:hover {

        color:
            var(--white);

    }


    .neat-footer:hover .neat-footer-line {

        transform:
            scaleX(.4);

    }

}


/* =========================================================
   SAFE AREA — MODERN PHONES
========================================================= */

@supports (padding: max(0px)) {

    .header-container {

        padding-left:
            max(0px, env(safe-area-inset-left));

        padding-right:
            max(0px, env(safe-area-inset-right));

    }


    .main-nav {

        padding-bottom:
            max(42px, env(safe-area-inset-bottom));

    }


    .neat-footer {

        padding-bottom:
            max(14px, env(safe-area-inset-bottom));

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;

    }


    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;

    }

}
