:root {
    --home-navy: #00102a;
    --home-blue: #0b2a50;
    --home-blue-light: #123f6d;
    --home-ice: #eef4f9;
    --home-slate: #5f6d7a;
    --home-border: #dce5ed;
    --home-white: #ffffff;
}

/* =========================================================
   HERO
   ========================================================= */

.home-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--home-navy);
}

.home-hero__background {
    position: absolute;
    inset: 0;
    background-image: url("../images/img_bg_1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 16, 42, 0.96) 0%,
            rgba(0, 16, 42, 0.86) 42%,
            rgba(0, 16, 42, 0.32) 74%,
            rgba(0, 16, 42, 0.18) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 16, 42, 0.12) 0%,
            rgba(0, 16, 42, 0.7) 100%
        );
}

.home-hero__container {
    position: relative;
    z-index: 2;
    padding-top: 95px;
    padding-bottom: 170px;
}

.home-hero__content {
    max-width: 760px;
}

.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.1px;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-hero__eyebrow::before {
    width: 42px;
    height: 2px;
    margin-right: 14px;
    content: "";
    background: rgba(255, 255, 255, 0.68);
}

.home-hero h1 {
    max-width: 780px;
    margin: 0 0 26px;
    color: var(--home-white);
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 900;
    letter-spacing: -2.6px;
    line-height: 1.03;
}

.home-hero h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

.home-hero__content > p {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 19px;
    line-height: 1.75;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.home-button {
    min-height: 54px;
    padding: 14px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-button svg {
    width: 19px;
    height: 19px;
}

.home-button:hover,
.home-button:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.home-button--primary {
    background: var(--home-white);
    color: var(--home-navy);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.home-button--primary:hover,
.home-button--primary:focus {
    background: #f3f7fb;
    color: var(--home-navy);
}

.home-button--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--home-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.home-button--secondary:hover,
.home-button--secondary:focus {
    background: rgba(255, 255, 255, 0.16);
    color: var(--home-white);
    border-color: rgba(255, 255, 255, 0.72);
}

.home-hero__bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    background: rgba(0, 16, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(13px);
}

.home-hero__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.home-hero__highlight {
    min-height: 108px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__highlight:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__highlight strong {
    margin-bottom: 4px;
    color: var(--home-white);
    font-size: 19px;
    font-weight: 700;
}

.home-hero__highlight span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================================
   ABOUT
   ========================================================= */

.home-about {
    padding: 108px 0 112px;
    background: var(--home-white);
}

.home-about__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.home-about__media {
    position: relative;
    padding-right: 28px;
}

.home-about__image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 28px 65px rgba(0, 16, 42, 0.16);
}

.home-about__image-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            180deg,
            transparent 58%,
            rgba(0, 16, 42, 0.32) 100%
        );
}

.home-about__image-frame img {
    width: 100%;
    min-height: 540px;
    display: block;
    object-fit: cover;
}

.home-about__badge {
    position: absolute;
    right: -2px;
    bottom: 42px;
    width: 190px;
    min-height: 148px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            var(--home-blue-light),
            var(--home-navy)
        );
    color: var(--home-white);
    border: 8px solid var(--home-white);
    border-radius: 18px;
    box-shadow: 0 20px 42px rgba(0, 16, 42, 0.22);
}

.home-about__badge strong {
    margin-bottom: 4px;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.home-about__badge span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.home-about__content {
    padding-left: 50px;
}

.home-section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--home-blue-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-about h2,
.home-capabilities h2 {
    margin: 0 0 22px;
    color: var(--home-navy);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.15;
}

.home-about h2 span {
    display: block;
    color: var(--home-blue-light);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

.home-about__lead {
    color: #273b50;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
}

.home-about__content > p:not(.home-about__lead) {
    color: var(--home-slate);
    font-size: 16px;
    line-height: 1.85;
}

.home-industries {
    margin: 26px 0 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.home-industries span {
    padding: 8px 12px;
    background: var(--home-ice);
    color: var(--home-blue);
    border: 1px solid var(--home-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--home-blue);
    font-size: 14px;
    font-weight: 700;
}

.home-text-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.home-text-link:hover,
.home-text-link:focus {
    color: var(--home-blue-light);
    text-decoration: none;
}

.home-text-link:hover svg,
.home-text-link:focus svg {
    transform: translateX(4px);
}

/* =========================================================
   CAPABILITIES
   ========================================================= */

.home-capabilities {
    padding: 105px 0 95px;
    background:
        linear-gradient(
            180deg,
            #f7fafc 0%,
            #eef4f8 100%
        );
}

.home-capabilities__intro {
    max-width: 760px;
    margin-bottom: 15px;
    color: var(--home-slate);
    font-size: 17px;
    line-height: 1.8;
}

.home-capabilities__grid {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
}

.home-capabilities__grid > [class*="col-"] {
    display: flex;
}

.home-capability-card {
    position: relative;
    width: 100%;
    min-height: 285px;
    margin-bottom: 30px;
    padding: 34px 30px;
    overflow: hidden;
    background: var(--home-white);
    border: 1px solid var(--home-border);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 16, 42, 0.07);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.home-capability-card::after {
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 130px;
    height: 130px;
    content: "";
    background: rgba(18, 63, 109, 0.045);
    border-radius: 50%;
}

.home-capability-card:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 42, 80, 0.22);
    box-shadow: 0 20px 44px rgba(0, 16, 42, 0.12);
}

.home-capability-card__number {
    margin-bottom: 38px;
    display: block;
    color: var(--home-blue-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.home-capability-card h3 {
    margin-bottom: 13px;
    color: var(--home-navy);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.home-capability-card p {
    margin: 0;
    color: var(--home-slate);
    font-size: 14px;
    line-height: 1.75;
}

.home-capability-card--cta {
    background:
        linear-gradient(
            145deg,
            var(--home-blue),
            var(--home-navy)
        );
    border-color: transparent;
}

.home-capability-card--cta .home-capability-card__number,
.home-capability-card--cta h3 {
    color: var(--home-white);
}

.home-capability-card--cta p {
    margin-bottom: 23px;
    color: rgba(255, 255, 255, 0.68);
}

.home-capability-card--cta a {
    position: relative;
    z-index: 2;
    color: var(--home-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =========================================================
   CTA
   ========================================================= */

.home-cta {
    padding: 0 0 105px;
    background: #eef4f8;
}

.home-cta__panel {
    position: relative;
    padding: 48px 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(255, 255, 255, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--home-blue-light),
            var(--home-navy)
        );
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(0, 16, 42, 0.2);
}

.home-cta__panel::after {
    position: absolute;
    right: -70px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.home-cta__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.home-cta__content span {
    margin-bottom: 9px;
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.home-cta h2 {
    margin: 0;
    color: var(--home-white);
    font-size: 31px;
    font-weight: 700;
    line-height: 1.35;
}

.home-button--light {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    background: var(--home-white);
    color: var(--home-navy);
}

.home-button--light:hover,
.home-button--light:focus {
    background: #f0f5f9;
    color: var(--home-navy);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 991px) {

    .home-hero {
        min-height: 680px;
    }

    .home-hero__container {
        padding-top: 80px;
        padding-bottom: 165px;
    }

    .home-about__row {
        display: block;
    }

    .home-about__media {
        max-width: 720px;
        margin: 0 auto 70px;
        padding-right: 0;
    }

    .home-about__content {
        padding-left: 0;
    }

    .home-cta__panel {
        padding: 42px;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media screen and (max-width: 767px) {

    .home-hero {
        min-height: 700px;
    }

    .home-hero__container {
        padding-top: 70px;
        padding-bottom: 220px;
    }

    .home-hero h1 {
        font-size: 47px;
        letter-spacing: -1.7px;
    }

    .home-hero__content > p {
        font-size: 17px;
        line-height: 1.65;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-button {
        width: 100%;
    }

    .home-hero__highlights {
        grid-template-columns: 1fr;
    }

    .home-hero__highlight {
        min-height: auto;
        padding: 12px 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .home-hero__highlight:first-child {
        border-left: 0;
    }

    .home-hero__highlight:last-child {
        border-bottom: 0;
    }

    .home-hero__highlight strong {
        font-size: 15px;
    }

    .home-hero__highlight span {
        font-size: 11px;
    }

    .home-about,
    .home-capabilities {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .home-about__image-frame img {
        min-height: 410px;
    }

    .home-about__badge {
        right: 12px;
        bottom: -35px;
        width: 165px;
        min-height: 130px;
        padding: 21px;
    }

    .home-about__media {
        margin-bottom: 90px;
    }

    .home-about h2,
    .home-capabilities h2 {
        font-size: 34px;
    }

    .home-capabilities__grid > [class*="col-"] {
        display: block;
    }

    .home-capability-card {
        min-height: auto;
    }

    .home-cta {
        padding-bottom: 75px;
    }

    .home-cta__panel {
        padding: 34px 26px;
    }

    .home-cta h2 {
        font-size: 26px;
    }
}

@media screen and (max-width: 480px) {

    .home-hero h1 {
        font-size: 39px;
    }

    .home-hero__eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .home-about__image-frame img {
        min-height: 330px;
    }

    .home-about__badge {
        width: 150px;
        min-height: 120px;
    }

    .home-about__badge strong {
        font-size: 32px;
    }

    .home-about h2,
    .home-capabilities h2 {
        font-size: 30px;
    }

    .home-cta h2 {
        font-size: 23px;
    }
}
