:root {
    --bg: #f2f1ef;
    --text: #231f20;
    --muted: #6b6b6b;
    --border: #bfb7b0;
    --accent: #231f20;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== Header / Nav ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    border-top: 5px solid #0079c1;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    width: 170px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav ul li a {
    font-size: 14px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

nav ul li a:hover,
nav ul li a[aria-current="page"] {
    color: #0079c1;
    border-bottom-color: #0079c1;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    width: 44px;
    height: 44px;
    color: var(--text);
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 640px;
    background: #ccc6bf url("../images/USA-Pro-x-LJ-IBML-Web-Assets-Homepage-Desktop.jpg") center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 40px 60px;
}

.hero .layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/USA-Pro-x-LJ-IBML-Web-Assets-Homepage-Desktop.jpg") center/cover no-repeat;
    z-index: 1;
}

.hero .layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .layer-2 img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: translateY(8%);
}

.hero h1 {
    color: #fff;
    font-size: 32px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 3;
    width: 100px;
    margin-left: -50px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* ===== Who We Are / Leaders split ===== */
.split-section {
    /* keep the "scroll down" target clear of the sticky header */
    scroll-margin-top: 86px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 800px;
    background-image: url("../images/main-image-home-banner2.jpg");
    background-color: #1d1b1a;
    background-size: cover;
    background-position: center top;
}

.split-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 121, 193, 0.75) 0%,
            rgba(0, 121, 193, 0.45) 60%,
            rgba(0, 121, 193, 0.2) 100%);
}

.split-col {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 70px;
    color: #fff;
}

.split-col h2 {
    font-size: 1.3em;
    line-height: 1.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.split-col p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 600px;
}

.leader-list {
    list-style: none;
}

.leader-list li {
    background: url("../images/main-image-home-whoweare-sprite.png") no-repeat;
    display: block;
    padding: 45px 40px 25px 75px;
}

.leader-list li.leader-one {
    background-position: -16px 16px;
    font-size: 17px;
}

.leader-list li.leader-two {
    background-position: -16px -101px;
    font-size: 17px;
}

.leader-list li.leader-three {
    background-position: -16px -207px;
    font-size: 17px;
}

.leader-list li.leader-four {
    background-position: -16px -320px;
    font-size: 17px;
}

.btn {
    display: inline-block;
    align-self: flex-start;
    padding: 12px 30px;
    border: 1px solid #fff;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}

.btn:hover {
    background: #fff;
    color: var(--accent);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(180deg, #0079c1 0%, #0a5c99 100%);
    color: #fff;
    margin-top: 35px;
    padding: 20px 60px 30px;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.office h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.office p {
    font-size: 12px;
    line-height: 1.4;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 200px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: #e6f1f8;
    transition: background .2s;
}

.linkedin-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.linkedin-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.footer-logo img {
    width: 190px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    list-style: none;
    font-size: 11px;
    font-weight: 700;
}

.footer-links li + li {
    border-left: 1px solid #fff;
    margin-left: 10px;
    padding-left: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    max-width: 1160px;
    margin: 20px auto 0;
    text-align: right;
    font-size: 12px;
}

/* ===== Inner page banner ===== */
.page-banner {
    position: relative;
    aspect-ratio: 2000 / 390;
    background: #ccc6bf url("../images/main-banner-top.jpg") center/cover no-repeat;
}

.page-banner--brands {
    background-image: url("../images/main-banner-top-brands-final.jpg");
}

.page-banner--contact {
    background-image: url("../images/contact-us-updated-header-top-2.jpg");
}

.page-banner--terms {
    background-image: url("../images/terms-header.jpg");
}

.page-banner--privacy {
    background-image: url("../images/privacy-header.jpg");
}

.page-banner h1 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 280px;
    padding: 2px 0;
    background: #0079c1;
    transform: translateY(-50%);
    text-align: right;
}

.page-banner h1 span {
    display: block;
    padding: 8px 18px 8px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
}

/* ===== About: mission / philosophy / model ===== */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 50px 30px 40px;
    text-align: center;
}

.pillar-icon {
    position: relative;
    display: block;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: no-repeat center/cover;
    box-shadow: inset 0 0 0 0 rgba(0, 121, 193, 0.4), inset 0 0 0 16px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: box-shadow .8s ease-in-out;
}

.pillar-icon:hover {
    box-shadow: inset 0 0 0 110px rgba(0, 121, 193, 0.81), inset 0 0 0 16px rgba(0, 121, 193, 0.81), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pillar-icon span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0;
    transform: scale(0);
    transition: opacity .4s ease-in-out, transform .4s ease-in-out;
}

.pillar-icon:hover span {
    opacity: 1;
    transform: scale(1);
}

.pillar-icon--mission {
    background-image: url("../images/our-mission.png");
}

.pillar-icon--philosophy {
    background-image: url("../images/our-philosophy.png");
}

.pillar-icon--model {
    background-image: url("../images/our-business-model.png");
}

.pillar h2 {
    font-size: 15px;
    margin-bottom: 10px;
}

.pillar p,
.portfolio p {
    color: #797979;
    font-size: 13px;
    line-height: 1.6;
}

/* ===== About: brand portfolio ===== */
.portfolio {
    background: #ececec;
}

.portfolio .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 45px 30px;
}

.portfolio h2,
.section-heading h2 {
    color: #0079c1;
    font-size: 20px;
    margin-bottom: 12px;
}

.portfolio p + p {
    margin-top: 10px;
}

.btn-solid {
    display: inline-block;
    margin-top: 20px;
    padding: 11px 40px;
    background: #0079c1;
    color: #fff;
    font-size: 13px;
    transition: background .4s;
}

.btn-solid:hover {
    background: #1b91da;
}

/* ===== About: brand logo wall ===== */
.section-heading {
    display: flex;
    align-items: baseline;
    gap: 30px;
    padding: 45px 30px 25px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading a {
    font-size: 13px;
    text-decoration: underline;
}

.section-heading a:hover {
    color: #0079c1;
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    list-style: none;
    background: #878787 url("../images/about-brands-background.jpg") center/cover no-repeat;
}

.logo-wall li {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    transition: background .5s ease-in-out;
}

.logo-wall li:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ===== Brands grid ===== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    list-style: none;
    margin-top: 30px;
}

.brand-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid #fff;
    background: #878787;
}

.brand-tile .brand-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .5s ease-out;
}

.brand-tile .brand-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity .5s ease-out;
}

.brand-tile .brand-logo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.brand-tile:hover .brand-image {
    transform: scale(1.5);
}

.brand-tile:hover .brand-overlay {
    opacity: 1;
}

/* ===== Contact ===== */
.offices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 30px;
}

.office-card img {
    width: 100%;
    max-width: 250px;
    margin-bottom: 15px;
}

.office-card h2 {
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.office-card address {
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

.office-card a,
.text-page a {
    color: #0079c1;
}

.office-card a:hover,
.text-page a:hover {
    text-decoration: underline;
}

/* ===== Text pages (terms / privacy) ===== */
.text-page {
    padding: 40px 30px 20px;
    font-size: 13px;
    line-height: 1.7;
}

.text-page h2 {
    font-size: 15px;
    margin: 25px 0 8px;
}

.text-page p,
.text-page ul {
    margin-bottom: 15px;
}

.text-page ul {
    padding-left: 20px;
}

.text-page address {
    font-style: normal;
}

/* ===== Responsive ===== */
@media (max-width: 1021px) {
    .logo-wall {
        grid-template-columns: repeat(5, 1fr);
        background-image: none;
    }

    .brand-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    /* No hover on touch-sized screens: keep the overlay on so logos stay legible */
    .brand-tile .brand-overlay {
        opacity: 1;
    }

    .brand-tile:hover .brand-image {
        transform: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 30px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 10px 20px;
    }

    header.nav-open nav ul {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 14px 0;
        border-bottom: none;
    }

    nav ul li + li {
        border-top: 1px solid var(--border);
    }

    .hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 1351 / 541;
    }

    .split-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-col {
        padding: 70px 50px;
    }

    .split-col + .split-col {
        padding-top: 0;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-banner {
        aspect-ratio: 2000 / 800;
        background-image: url("../images/main-banner-top-mobile.jpg");
    }

    .page-banner--brands {
        background-image: url("../images/main-banner-top-brands-final-mobile.jpg");
    }

    .page-banner--contact {
        background-image: url("../images/contact-us-updated-header-top-mobile-2.jpg");
    }

    .page-banner--terms {
        background-image: url("../images/terms-header-mobile.jpg");
    }

    .page-banner--privacy {
        background-image: url("../images/privacy-header-mobile.jpg");
    }

    .page-banner h1 {
        width: 160px;
    }

    .page-banner h1 span {
        padding: 4px 14px 4px 0;
        font-size: 12px;
    }

    .pillars,
    .offices {
        grid-template-columns: 1fr;
    }

    .portfolio .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .portfolio img {
        margin: 0 auto;
    }

    .section-heading {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo-wall,
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .offices,
    .text-page {
        text-align: center;
    }

    .office-card img {
        margin: 0 auto 15px;
    }

    .text-page ul {
        list-style-position: inside;
        padding-left: 0;
    }
}

@media (max-width: 425px) {
    header {
        padding: 12px 20px;
    }

    .logo {
        width: 130px;
    }

    .hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        padding: 24px;
    }

    .hero,
    .hero .layer-1 {
        background-image: url("../images/USA-Pro-x-LJ-IBML-Web-Assets-Homepage-Mobile.jpg");
        background-position: center top;
    }

    .hero .layer-2 {
        display: none;
    }

    .scroll-down {
        display: none;
    }

    .split-col {
        padding: 50px 24px;
    }

    .split-col h2 {
        text-align: center;
        letter-spacing: 3px;
    }

    .split-col p {
        text-align: center;
    }
    
    .split-col .btn {
        display: block;
        margin: 0 auto;
    }

    .split-col p,
    .leader-list li {
        font-size: 16px;
    }

    .leader-list li {
        padding-right: 0;
    }

    footer {
        margin-top: 24px;
        padding: 30px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .office h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .office p {
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-links {
        font-size: 13px;
    }

    .footer-links a {
        display: inline-block;
        padding: 8px 0;
    }

    .copyright {
        text-align: left;
    }

    .pillars,
    .portfolio .container,
    .offices,
    .text-page {
        padding-left: 24px;
        padding-right: 24px;
    }

    .logo-wall,
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-solid {
        display: block;
        padding: 15px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-down {
        animation: none;
    }

    .pillar-icon,
    .pillar-icon span,
    .brand-tile *,
    .logo-wall li {
        transition: none;
    }
}
