/* =========================================================
   HOME — ABOUT INSGEO
   ========================================================= */

.home-about {
    padding: 108px 0 118px;

    background: #ffffff;
    color: #173428;
}

.home-about__container {
    width: min(1400px, calc(100% - 120px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
    gap: 90px;
    align-items: center;
}


/* =========================
   CONTENT
========================= */

.home-about__content {
    max-width: 650px;
}

.home-about__eyebrow {
    margin: 0 0 18px;

    color: #60786c;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.home-about__title {
    margin: 0 0 26px;

    color: #173f30;

    font-size: clamp(42px, 4vw, 62px);
    font-weight: 700;
    line-height: 1.03;

    letter-spacing: -1.8px;
}

.home-about__text {
    max-width: 620px;
    margin: 0 0 30px;

    color: #56685f;

    font-size: 18px;
    line-height: 1.65;
}


/* =========================
   POINTS
========================= */

.home-about__points {
    display: grid;
    gap: 13px;

    margin: 0 0 34px;
    padding: 0;

    list-style: none;
}

.home-about__points li {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #2f493d;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.home-about__points li span {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: #173f30;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   LINK
========================= */

.home-about__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 0 8px;

    color: #173f30;

    border-bottom: 1px solid rgba(23, 63, 48, 0.38);

    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.home-about__link span {
    transition: transform 0.2s ease;
}

.home-about__link:hover {
    color: #2a674f;
    border-color: #2a674f;
}

.home-about__link:hover span {
    transform: translateX(5px);
}


/* =========================
   IMAGE
========================= */

.home-about__media {
    position: relative;

    min-height: 560px;

    overflow: hidden;
    background: #dfe4df;
}

.home-about__media::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(7, 29, 20, 0.00) 0%,
            rgba(7, 29, 20, 0.05) 65%,
            rgba(7, 29, 20, 0.16) 100%
        );

    pointer-events: none;
}

.home-about__media img {
    width: 100%;
    height: 100%;
    min-height: 560px;

    display: block;
    object-fit: cover;
    object-position: 58% 48%;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

    .home-about {
        padding: 86px 0 94px;
    }

    .home-about__container {
        width: calc(100% - 70px);

        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }

    .home-about__title {
        font-size: 48px;
    }

    .home-about__media,
    .home-about__media img {
        min-height: 500px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .home-about {
        padding: 68px 0 72px;
    }

    .home-about__container {
        width: calc(100% - 32px);

        display: flex;
        flex-direction: column;
        gap: 38px;
    }

    .home-about__content {
        max-width: 100%;
    }

    .home-about__title {
        margin-bottom: 22px;

        font-size: 39px;
        letter-spacing: -1.1px;
    }

    .home-about__text {
        margin-bottom: 26px;

        font-size: 16px;
        line-height: 1.58;
    }

    .home-about__points {
        margin-bottom: 28px;
    }

    .home-about__media {
        width: 100%;
        min-height: 420px;
    }

    .home-about__media img {
        min-height: 420px;
        object-position: 56% 50%;
    }
}
