:root {
    --navy: #071b2d;
    --navy-light: #102f49;
    --red: #e7b83f;
    --red-dark: #e7b83f;
    --white: #ffffff;
    --gray-50: #f7f8fa;
    --gray-100: #eef1f4;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --container: 1180px;
}

/* RESET */ * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    transition: 0.25s ease;
}

/* CONTAINER */ .container {
    width: min( var(--container), calc(100% - 48px) );
    margin: 0 auto;
}

/* HEADER */ .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.navbar {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* BRAND */ .brand {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 6px;
}

.brand-sub {
    margin-top: 6px;
    font-size: 8px;
    letter-spacing: 7px;
    opacity: 0.85;
}

/* NAV */ .main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.main-nav a:hover {
    color: #e7e7e7;
}

/* MOBILE BUTTON */ .menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 25px;
    cursor: pointer;
}

/* HERO */ .hero {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: center;
    background-image: url("../images/hero-clean.jpg");
    background-size: cover;
    background-position: 58% center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(3, 18, 30, 0.88) 0%, rgba(3, 18, 30, 0.72) 35%, rgba(3, 18, 30, 0.35) 65%, rgba(3, 18, 30, 0.08) 100% );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 130px;
}

.hero-eyebrow {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    content: "";
    display: block;
    width: 75px;
    height: 3px;
    margin-bottom: 18px;
    background: #e7b83f;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: clamp( 46px, 5.7vw, 72px );
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -1.5px;
}

.hero h1 span {
    display: block;
    color: #e7b83f;
}

.hero-description {
    max-width: 560px;
    margin-top: 26px;
    color: #f0f3f5;
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
}

.hero-stats {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 3;
    background: linear-gradient( 90deg, rgba(3, 18, 30, 0.90), rgba(3, 18, 30, 0.62) );
}

.hero-stats-inner {
    min-height: 105px;
    display: flex;
    align-items: center;
}

.hero-stat {
    min-width: 230px;
    padding: 0 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.20);
}

.hero-stat:first-child {
    padding-left: 0;
}

.hero-stat strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-stat span {
    display: block;
    color: #c8d1d8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* BUTTON */ .btn {
    display: inline-flex;
    min-height: 54px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    border: 1px solid transparent;
    text-transform: uppercase;
}

.btn-primary {
    background: #e7b83f;
    color: #ffffff;
}

.btn-primary:hover {
    background: #e7b83f;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    background: #ffffff;
    color: #071b2d;
}

/* SECTIONS */ .section {
    padding: 110px 0;
}

.section-label {
    margin: 0 0 15px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-label-light {
    color: #d7e0e7;
}

.section h2 {
    margin: 0;
    font-size: clamp( 34px, 4vw, 52px );
    line-height: 1.15;
    letter-spacing: -1px;
}

/* ABOUT */ .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: start;
}

.about-text {
    color: var(--gray-700);
    font-size: 17px;
}

.about-text p:first-child {
    margin-top: 5px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--red);
    text-decoration: none;
    font-weight: 700;
}

/* SERVICES */ .services-section {
    background: var(--gray-50);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    background: #dce1e6;
}

.service-card {
    min-height: 330px;
    padding: 45px;
    background: var(--white);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.service-number {
    margin-bottom: 55px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.service-card p {
    color: var(--gray-500);
}

/* HISTORY */ .history-section {
    background: var(--navy);
    color: var(--white);
}

.history-section h2 {
    color: var(--white);
}

.timeline {
    margin-top: 70px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 50px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.timeline-year {
    color: var(--red);
    font-size: 40px;
    font-weight: 700;
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 23px;
}

.timeline-content p {
    max-width: 650px;
    color: #bdc9d3;
}

/* RELATIONSHIP */ .relationship-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.relationship-grid p {
    color: var(--gray-700);
    font-size: 17px;
}

/* CTA */ .cta-section {
    padding: 90px 0;
    background: var(--red);
    color: var(--white);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-content h2 {
    max-width: 730px;
    margin: 0;
    font-size: clamp( 32px, 4vw, 48px );
    line-height: 1.15;
}

/* FOOTER */ .site-footer {
    padding: 80px 0 30px;
    background: #051421;
    color: #aebbc6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer-location {
    display: block;
    margin-top: 10px;
    color: #aebbc6;
}

.footer-brand {
    color: var(--white);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 5px;
}

.footer-description {
    max-width: 350px;
}

.site-footer h4 {
    margin-top: 0;
    color: var(--white);
    font-size: 14px;
}

.site-footer a {
    display: block;
    margin: 10px 0;
    color: #aebbc6;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 70px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

/* MOBILE */ @media ( max-width: 900px ) {
    .container {
        width: min( 100% - 32px, var(--container) );
    }
    .navbar {
        min-height: 80px;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        background: var(--navy);
    }
    .main-nav.active {
        display: flex;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-grid, .relationship-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 760px;
        background-position: 62% center;
    }
    .hero h1 {
        font-size: 46px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-content {
        padding-top: 150px;
        padding-bottom: 60px;
    }
    .hero-stats {
        position: relative;
        margin-top: auto;
    }
    .hero-stats-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 0;
    }
    .hero-stat, .hero-stat:first-child {
        width: 100%;
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

.cta-section .btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 54px;
    padding: 0 28px;
    background: #ffffff;
    color: #071b2d;
    border: 1px solid #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.cta-section .btn-light:hover {
    background: transparent;
    color: #ffffff;
}

/* Keyboard navigation and narrow-screen safeguards */ .skip-link {
    position: absolute;
    top: 12px;
    left: 16px;
    z-index: 1100;
    padding: 12px 18px;
    background: var(--white);
    color: var(--navy);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible, button:focus-visible {
    outline: 3px solid #e7b83f;
    outline-offset: 5px;
}

.main-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
}

h1, h2, h3, p, a {
    overflow-wrap: break-word;
}

.hero-stat:last-child {
    border-right: 0;
}

@media (max-width: 900px) {
    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
    }
    .hero-stat:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 600px) {
    .service-card {
        padding: 32px 24px;
        min-height: auto;
    }
    .service-number {
        margin-bottom: 32px;
    }
    .hero h1 {
        font-size: clamp(36px, 10vw, 46px);
    }
    .section {
        padding: 70px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
    }
}

/* Service photographs and links */
.service-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}
.service-card-image {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-card-copy {
    padding: 36px 40px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}
.service-card-copy .service-number {
    margin-bottom: 24px;
}
.service-card-copy h3 {
    margin-top: 0;
}
.service-card-copy .text-link {
    margin-top: auto;
    padding-top: 16px;
}
@media (max-width: 600px) {
    .service-card-copy {
        padding: 28px 24px;
    }
    .service-card-image {
        height: 210px;
    }
}

/* Keep the fifth service balanced across the final desktop row. */
@media (min-width: 901px) {
    .service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-card:last-child:nth-child(odd) .service-card-image {
        height: 360px;
        min-height: 0;
    }
}

.service-card-image-procurement {
    object-fit: contain;
    background: var(--gray-50);
}

/* Gold accents: readable links on white and ink text on gold buttons. */
:root { --red: #8a6500; --red-dark: #715200; }
.btn-primary { color: #071b2d; }
.btn-primary:hover { background: #d5a52c; color: #071b2d; }
.hero h1 span, .timeline-year { color: #e7b83f; }
.cta-section { color: #071b2d; }
.cta-section .section-label-light { color: #374151; }
.cta-section .btn-light:hover { color: #071b2d; }
