/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
    --about-primary: #f58220;
    --about-primary-dark: #d9670b;
    --about-dark: #071b35;
    --about-text: #596779;
    --about-light: #f7f9fc;
    --about-border: #e7ebf0;

    position: relative;
    padding: 110px 0 120px;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.about-container {
    width: min(1240px, calc(100% - 60px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 85px;
    align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.about-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
   EYEBROW
========================================================= */

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 22px;

    color: var(--about-primary);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}


.about-eyebrow-line {
    width: 36px;
    height: 2px;

    background: var(--about-primary);

    border-radius: 10px;
}


/* =========================================================
   TITLE
========================================================= */

.about-title {
    max-width: 620px;

    margin: 0 0 30px;

    color: var(--about-dark);

    font-size: clamp(25px, 3.1vw, 20px);
    line-height: 1.12;

    font-weight: 700;
    letter-spacing: -1.7px;
}


.about-title span {
    display: block;

    color: var(--about-primary);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.about-description {
    max-width: 650px;
}


.about-description p {
    margin: 0 0 17px;

    color: var(--about-text);

    font-size: 15.5px;
    line-height: 1.8;

    font-weight: 400;
}


.about-description strong {
    color: #344458;
    font-weight: 650;
}


/* =========================================================
   STATS
========================================================= */

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    max-width: 650px;

    margin-top: 38px;
    padding-top: 28px;

    border-top: 1px solid var(--about-border);
}


.about-stat {
    position: relative;

    padding-right: 25px;
}


.about-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 5px;
    right: 25px;

    width: 1px;
    height: 45px;

    background: var(--about-border);
}


.about-stat strong {
    display: block;

    color: var(--about-dark);

    font-size: 26px;
    line-height: 1.1;

    font-weight: 750;
    letter-spacing: -0.5px;
}


.about-stat span {
    display: block;

    margin-top: 7px;

    color: #8490a0;

    font-size: 12px;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: .5px;
}


/* =========================================================
   FOOTER TEXT
========================================================= */

.about-footer-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    max-width: 650px;

    margin-top: 34px;
    padding: 20px 22px;

    background: #f8fafc;

    border-left: 3px solid var(--about-primary);

    border-radius: 0 10px 10px 0;
}


.about-footer-text p {
    margin: 0;

    color: #617083;

    font-size: 14px;
    line-height: 1.7;
}


.about-footer-text strong {
    color: var(--about-dark);
}


.about-footer-icon {
    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--about-primary);

    background: rgba(245, 130, 32, .10);

    border-radius: 50%;
}


.about-footer-icon svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.about-visual {
    position: relative;
}


/* =========================================================
   IMAGE WRAPPER
========================================================= */

.about-image-wrapper {
    position: relative;

    padding-left: 18px;
    padding-bottom: 18px;
}


.about-image-decoration {
    position: absolute;

    top: -18px;
    left: 0;

    width: 110px;
    height: 110px;

    border-top: 2px solid var(--about-primary);
    border-left: 2px solid var(--about-primary);

    opacity: .7;

    z-index: 0;
}


.about-image {
    position: relative;

    height: 510px;

    overflow: hidden;

    background: #e9edf2;

    border-radius: 2px;

    z-index: 1;

}


.about-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(7, 27, 53, 0) 45%,
            rgba(7, 27, 53, .16) 100%
        );

    pointer-events: none;
}


.about-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform .8s cubic-bezier(.2,.7,.2,1);
}


.about-image-wrapper:hover .about-image img {
    transform: scale(1.035);
}


/* =========================================================
   IMAGE BADGE
========================================================= */

.about-image-badge {
    position: absolute;

    right: -25px;
    bottom: -3px;

    width: 150px;
    min-height: 150px;

    padding: 23px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #ffffff;

    background: var(--about-primary);

    z-index: 3;
}


.badge-number {
    font-size: 39px;
    line-height: 1;

    font-weight: 750;

    letter-spacing: -1px;
}


.badge-text {
    margin-top: 10px;

    font-size: 12px;
    line-height: 1.45;

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;

    opacity: .92;
}


/* =========================================================
   QUOTE
========================================================= */

.about-quote {
    position: relative;

    display: flex;

    gap: 17px;

    margin-top: 31px;

    padding-left: 5px;
}


.quote-mark {
    flex: 0 0 auto;

    color: var(--about-primary);

    font-family: Georgia, serif;

    font-size: 55px;
    line-height: .65;
}


.about-quote p {
    max-width: 590px;

    margin: 0;

    color: #667486;

    font-size: 14.5px;
    line-height: 1.75;
}


.about-quote strong {
    color: var(--about-dark);
    font-weight: 650;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .about-section {
        padding: 80px 0;
    }


    .about-container {
        grid-template-columns: 1fr 1fr;

        gap: 50px;

        width: min(100% - 45px, 950px);
    }


    .about-title {
        font-size: 37px;
    }


    .about-image {
        height: 440px;
    }


    .about-image-badge {
        right: -10px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

    .about-section {
        padding: 70px 0 80px;
    }


    .about-container {
        width: min(100% - 36px, 600px);

        grid-template-columns: 1fr;

        gap: 55px;
    }


    .about-eyebrow {
        margin-bottom: 18px;

        font-size: 11px;
        letter-spacing: 1.6px;
    }


    .about-title {
        margin-bottom: 24px;

        font-size: 34px;
        line-height: 1.15;

        letter-spacing: -1px;
    }


    .about-description p {
        font-size: 14.5px;
        line-height: 1.75;
    }


    .about-stats {
        gap: 10px;

        margin-top: 30px;
        padding-top: 23px;
    }


    .about-stat {
        padding-right: 10px;
    }


    .about-stat:not(:last-child)::after {
        right: 5px;
    }


    .about-stat strong {
        font-size: 21px;
    }


    .about-stat span {
        font-size: 9px;
    }


    .about-footer-text {
        margin-top: 27px;

        padding: 17px;

        gap: 11px;
    }


    .about-footer-text p {
        font-size: 13px;
    }


    .about-image-wrapper {
        padding-left: 10px;
        padding-bottom: 12px;
    }


    .about-image {
        height: 380px;
    }


    .about-image-decoration {
        top: -10px;
        left: 0;

        width: 75px;
        height: 75px;
    }


    .about-image-badge {
        right: -4px;
        bottom: -2px;

        width: 125px;
        min-height: 125px;

        padding: 18px;
    }


    .badge-number {
        font-size: 32px;
    }


    .badge-text {
        font-size: 10px;
    }


    .about-quote {
        margin-top: 25px;

        gap: 12px;
    }


    .quote-mark {
        font-size: 45px;
    }


    .about-quote p {
        font-size: 13.5px;
        line-height: 1.7;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .about-section {
        padding: 55px 0 65px;
    }


    .about-container {
        width: calc(100% - 28px);

        gap: 45px;
    }


    .about-title {
        font-size: 30px;
    }


    .about-stats {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .about-stat {
        padding-bottom: 14px;

        border-bottom: 1px solid var(--about-border);
    }


    .about-stat:not(:last-child)::after {
        display: none;
    }


    .about-image {
        height: 310px;
    }


    .about-image-badge {
        width: 110px;
        min-height: 110px;

        padding: 15px;
    }


    .badge-number {
        font-size: 27px;
    }

}
