/* =========================================
   ESAR DIGITAL
   HOMEPAGE STYLES
   ========================================= */


/* =========================================
   INTRODUCTION
   ========================================= */

   .home-introduction__grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


.home-introduction__content {
    max-width: 600px;
}


.home-introduction__content p {
    margin: 0 0 20px;

    color: var(--dark-text-secondary);

    font-size: 16px;

    line-height: 1.8;
}


.text-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

    color: var(--esar-gold);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: gap var(--transition);
}


.text-link:hover {
    gap: 13px;
}


/* =========================================
   SERVICES
   ========================================= */

.home-services__grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    margin-top: 55px;
}


.home-services__action {
    display: flex;

    justify-content: center;

    margin-top: 45px;
}


/* =========================================
   PROCESS
   ========================================= */

.home-process__grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 30px;

    margin-top: 55px;
}


.home-process__grid .process-step {
    position: relative;
}


.home-process__grid .process-step:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 26px;
    left: calc(100% + 10px);

    width: 20px;
    height: 1px;

    background: rgba(255, 255, 255, 0.18);
}


/* =========================================
   INDUSTRIES
   ========================================= */

.home-industries__grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    margin-top: 55px;
}


.home-industries__action {
    display: flex;

    justify-content: center;

    margin-top: 45px;
}


/* =========================================
   WHY ESAR DIGITAL
   ========================================= */

.home-why {
    position: relative;

    background: #F4F7FA;

    color: var(--light-text);

    overflow: hidden;
}


/* =========================================
   BACKGROUND DETAILS
   ========================================= */

.home-why::before {
    content: "";

    position: absolute;

    width: 560px;
    height: 560px;

    right: -300px;
    top: -300px;

    border: 1px solid rgba(7, 26, 51, 0.045);

    border-radius: 50%;

    pointer-events: none;
}


.home-why::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -220px;
    bottom: -220px;

    border-radius: 50%;

    background: rgba(255, 204, 0, 0.045);

    pointer-events: none;
}


/* =========================================
   MAIN GRID
   ========================================= */

.home-why__grid {
    position: relative;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: center;

    z-index: 2;
}


/* =========================================
   LEFT CONTENT
   ========================================= */

.home-why__heading {
    position: relative;
}


.home-why .section-heading {
    margin: 0;
}


.home-why .section-heading__eyebrow {
    color: #B08A00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.2px;
}


.home-why .section-heading__title {
    max-width: 560px;

    margin-top: 12px;

    color: #071A33;

    font-size: clamp(38px, 4vw, 54px);

    font-weight: 800;

    line-height: 1.06;

    letter-spacing: -1.8px;
}


.home-why .section-heading__description {
    max-width: 520px;

    margin-top: 20px;

    color: #68778A;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================
   WHY ESAR CTA
   ========================================= */

.home-why__action {
    margin-top: 32px;
}


.home-why__cta {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 19px;

    background: #071A33;

    border: 1px solid #071A33;

    border-radius: 4px;

    color: #FFFFFF;

    font-size: 11px;

    font-weight: 800;

    line-height: 1;

    text-decoration: none;

    transition:
        background 200ms ease,
        border-color 200ms ease,
        color 200ms ease,
        gap 200ms ease,
        transform 200ms ease;
}


.home-why__cta:hover {
    gap: 15px;

    background: #FFCC00;

    border-color: #FFCC00;

    color: #071A33;

    transform: translateY(-2px);
}


/* =========================================
   FEATURES CONTAINER
   ========================================= */

.home-why__features {
    display: flex;

    flex-direction: column;

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(7, 26, 51, 0.055);

    overflow: hidden;
}


/* =========================================
   FEATURE ROW
   ========================================= */

.home-why__feature {
    position: relative;

    display: grid;

    grid-template-columns: 42px 1fr;

    gap: 20px;

    align-items: start;

    padding: 25px 30px;

    border-bottom: 1px solid #E8EDF2;

    transition:
        background 220ms ease,
        padding-left 220ms ease;
}


.home-why__feature:last-child {
    border-bottom: 0;
}


.home-why__feature:hover {
    background: #FAFBFC;

    padding-left: 34px;
}


/* =========================================
   FEATURE NUMBER
   ========================================= */

.home-why__feature-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 24px;

    margin-top: 1px;

    background: #071A33;

    border-radius: 3px;

    color: #FFCC00;

    font-size: 9px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 1.2px;

    transition:
        background 200ms ease,
        color 200ms ease;
}


.home-why__feature:hover .home-why__feature-number {
    background: #FFCC00;

    color: #071A33;
}


/* =========================================
   FEATURE CONTENT
   ========================================= */

.home-why__feature-content {
    min-width: 0;
}


.home-why__feature h3 {
    margin: 0 0 7px;

    color: #071A33;

    font-size: 17px;

    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -0.2px;
}


.home-why__feature p {
    max-width: 500px;

    margin: 0;

    color: #68778A;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================
   FEATURE ACCENT
   ========================================= */

.home-why__feature::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: #FFCC00;

    transform: scaleY(0);

    transform-origin: center;

    transition: transform 220ms ease;
}


.home-why__feature:hover::before {
    transform: scaleY(1);
}


/* =========================================================
   FINAL CTA
   Premium Homepage Closing Section
   ========================================================= */

   .home-final-cta {
    position: relative;

    padding: 105px 0 38px;

    background: #071A33;

    color: var(--white);

    overflow: hidden;
}


/* =========================================================
   BACKGROUND DETAILS
   ========================================================= */

.home-final-cta::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    top: -420px;
    right: -180px;

    border: 1px solid rgba(255, 255, 255, 0.055);

    border-radius: 50%;

    pointer-events: none;
}


.home-final-cta::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: -280px;
    bottom: -310px;

    border-radius: 50%;

    background: rgba(255, 204, 0, 0.045);

    pointer-events: none;
}


/* =========================================================
   SUBTLE GOLD GLOW
   ========================================================= */

.home-final-cta__glow {
    position: absolute;

    width: 420px;
    height: 420px;

    top: 50%;
    right: 8%;

    transform: translateY(-50%);

    background: radial-gradient(
        circle,
        rgba(255, 204, 0, 0.075) 0%,
        rgba(255, 204, 0, 0.025) 38%,
        transparent 72%
    );

    pointer-events: none;
}


/* =========================================================
   MAIN CTA INNER
   ========================================================= */

.home-final-cta__inner {
    position: relative;

    display: grid;

    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);

    align-items: center;

    gap: 80px;

    padding: 20px 0 70px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

    z-index: 2;
}


/* =========================================================
   CONTENT
   ========================================================= */

.home-final-cta__content {
    position: relative;

    max-width: 760px;
}


.home-final-cta__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 20px;

    color: var(--esar-gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;
}


.home-final-cta__eyebrow::before {
    content: "";

    width: 27px;
    height: 1px;

    background: var(--esar-gold);
}


.home-final-cta__title {
    margin: 0;

    color: var(--white);

    font-size: clamp(40px, 5vw, 68px);

    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -2.4px;
}


.home-final-cta__title span {
    display: block;

    color: var(--esar-gold);
}


.home-final-cta__description {
    max-width: 610px;

    margin: 25px 0 0;

    color: rgba(255, 255, 255, 0.60);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   ACTION
   ========================================================= */

.home-final-cta__action {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    z-index: 3;
}


.home-final-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 32px;

    min-width: 245px;

    padding: 7px 7px 7px 23px;

    background: var(--esar-gold);

    border: 1px solid var(--esar-gold);

    border-radius: 6px;

    color: var(--esar-navy);

    font-size: 13px;

    font-weight: 800;

    line-height: 1;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 220ms ease,
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}


.home-final-cta__button-arrow {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--esar-navy);

    border-radius: 4px;

    color: var(--esar-gold);

    font-size: 18px;

    transition:
        transform 220ms ease,
        background 220ms ease,
        color 220ms ease;
}


.home-final-cta__button:hover {
    transform: translateY(-4px);

    background: var(--white);

    border-color: var(--white);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.25);
}


.home-final-cta__button:hover
.home-final-cta__button-arrow {
    transform: translateX(4px);

    background: var(--esar-gold);

    color: var(--esar-navy);
}


.home-final-cta__note {
    margin: 15px 0 0;

    color: rgba(255, 255, 255, 0.36);

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   BOTTOM STATEMENT
   ========================================================= */

.home-final-cta__bottom {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    padding-top: 27px;

    color: rgba(255, 255, 255, 0.35);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    z-index: 2;
}


.home-final-cta__divider {
    width: 25px;
    height: 1px;

    background: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .home-final-cta {
        padding: 85px 0 35px;
    }


    .home-final-cta__inner {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-bottom: 60px;
    }


    .home-final-cta__action {
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .home-final-cta {
        padding: 72px 0 30px;
    }


    .home-final-cta__inner {
        gap: 38px;

        padding-bottom: 48px;
    }


    .home-final-cta__title {
        font-size: clamp(37px, 10vw, 50px);

        letter-spacing: -1.5px;
    }


    .home-final-cta__description {
        margin-top: 20px;

        font-size: 14px;
    }


    .home-final-cta__button {
        width: 100%;

        min-width: 0;
    }


    .home-final-cta__bottom {
        flex-wrap: wrap;

        gap: 10px 12px;

        padding-top: 22px;

        font-size: 8px;
    }


    .home-final-cta__divider {
        width: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .home-final-cta {
        padding: 62px 0 27px;
    }


    .home-final-cta__title {
        font-size: 35px;

        letter-spacing: -1.2px;
    }


    .home-final-cta__eyebrow {
        font-size: 9px;

        letter-spacing: 2px;
    }


    .home-final-cta__inner {
        padding-bottom: 42px;
    }


    .home-final-cta__bottom {
        font-size: 7px;

        letter-spacing: 1.4px;
    }

}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {

    .home-hero__content {
        padding: 70px 0;
    }


    .home-trust__grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 35px;
    }


    .home-introduction__grid,
    .home-why__grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .home-why .section-heading__title {
        max-width: 700px;
    }


    .home-services__grid,
    .home-industries__grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .home-process__grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 40px 30px;
    }


    .home-process__grid .process-step::after {
        display: none;
    }

}


@media (max-width: 767px) {

    .home-hero {
        min-height: auto;
    }


    .home-hero__content {
        padding: 65px 0;
    }


    .home-hero__title {
        font-size: clamp(40px, 11vw, 54px);

        letter-spacing: -1px;
    }


    .home-hero__description {
        font-size: 15px;
    }


    .home-hero__actions {
        flex-direction: column;

        align-items: stretch;
    }


    .home-hero__actions .btn {
        width: 100%;
    }


    .home-trust__grid {
        grid-template-columns: 1fr 1fr;

        gap: 30px 20px;
    }


    .home-services__grid,
    .home-industries__grid,
    .home-process__grid {
        grid-template-columns: 1fr;
    }


    .home-introduction__grid,
    .home-why__grid {
        gap: 40px;
    }


    .home-why .section-heading__title {
        font-size: 38px;

        letter-spacing: -1.2px;
    }


    .home-why .section-heading__description {
        font-size: 14px;
    }


    .home-why__feature {
        grid-template-columns: 36px 1fr;

        gap: 16px;

        padding: 22px 24px;
    }


    .home-why__feature:hover {
        padding-left: 28px;
    }


    .home-why__feature-number {
        width: 32px;

        height: 23px;
    }


    .home-why__feature h3 {
        font-size: 16px;
    }


    .home-why__feature p {
        font-size: 13px;
    }


    .home-why__action {
        margin-top: 27px;
    }


    .home-why__cta {
        width: 100%;

        justify-content: center;
    }

}