/* =========================================================
   DOTS MEDIA
   WHY CHOOSE US
   ========================================================= */

.why-choose-section {
    position: relative;
    width: 100%;
    min-height: 720px;
    padding: 105px 42px 70px;
    background: #050505;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

/* TITLE TOP DIVIDER */
.why-card-content::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: 14px;
}

.why-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .6;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 76px 76px;
}

.why-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 44% 12%,
            rgba(255,122,0,.28) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 72% 8%,
            rgba(255,122,0,.18) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 18% 40%,
            rgba(255,122,0,.15) 0 1px,
            transparent 3px
        );
}

.why-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* HEADER */

.why-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 48px;
}

.why-heading-area {
    flex: 1;
}

.why-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;

    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #858585;
}

.why-eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff7800;

    box-shadow:
        0 0 10px rgba(255,120,0,.65);
}

.why-heading {
    margin: 0;

    font-size: clamp(46px, 5vw, 72px);
    line-height: .94;
    font-weight: 600;
    letter-spacing: -3px;
}

.why-heading span {
    display: block;
    color: #f5f5f5;
}

.why-heading strong {
    display: block;
    color: #ff7800;
    font-weight: 600;
}

.why-intro {
    width: 310px;
    flex-shrink: 0;

    padding-bottom: 5px;

    font-size: 16px;
    line-height: 1.6;
    color: #707070;
}


/* COLUMNS */

.why-columns {
    display: flex;

    width: 100%;
    height: 365px;

    overflow: hidden;

    border-top: 1px solid rgba(255,120,0,.55);
    border-bottom: 1px solid rgba(255,120,0,.55);
}

.why-card {
    position: relative;

    height: 100%;
    min-width: 0;

    flex: .54;

    overflow: hidden;

    cursor: pointer;

    border-left:
        1px solid rgba(255,255,255,.17);

    transition:
        flex 800ms cubic-bezier(.22,.61,.36,1),
        border-color 500ms ease;
}

.why-card:last-child {
    border-right:
        1px solid rgba(255,255,255,.17);
}

.why-card.is-active {
    flex: 2.8;
    z-index: 5;

    border-left-color:
        rgba(255,120,0,.9);

    border-right-color:
        rgba(255,120,0,.9);
}


/* IMAGE */

.why-card-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.why-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.01);

    filter:
        saturate(.7)
        contrast(1.06)
        brightness(.55);

    transition:
        transform 1100ms cubic-bezier(.22,.61,.36,1),
        filter 700ms ease;
}

.why-card:hover .why-card-image img,
.why-card.is-active .why-card-image img {
    transform: scale(1.07);

    filter:
        saturate(.9)
        contrast(1.07)
        brightness(.82);
}


/* DARK OVERLAY */

.why-dark-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.10) 0%,
            rgba(0,0,0,.28) 35%,
            rgba(0,0,0,.95) 100%
        );

    opacity: .97;

    transition: opacity 700ms ease;
}

.why-card.is-active .why-dark-overlay {
    opacity: .65;
}


/* NUMBER */

.why-card-number {
    position: absolute;

    top: 16px;
    left: 14px;

    z-index: 5;

    font-family: Arial, sans-serif;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;

    color: rgba(255,255,255,.52);

    transition:
        color 400ms ease,
        transform 400ms ease;
}

.why-card.is-active .why-card-number {
    color: #ff7800;
    transform: translateX(2px);
}


/* CONTENT */

.why-card-content {
    position: absolute;

    left: 14px;
    right: 16px;
    bottom: 16px;

    z-index: 10;
}

.why-card-title {
    font-family: Arial, sans-serif;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1px;

    white-space: nowrap;

    color: rgba(255,255,255,.52);

    transition:
        color 400ms ease,
        transform 500ms ease;
}

.why-card.is-active .why-card-title {
    color: #ffffff;
    transform: translateY(-2px);
}

.why-card-description {
    max-width: 320px;

    margin: 9px 0 0;

    font-size: 14px;
    line-height: 1.5;

    color: rgba(255,255,255,.76);

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity 500ms ease 120ms,
        transform 600ms ease 120ms;
}

.why-card.is-active .why-card-description {
    opacity: 1;
    transform: translateY(0);
}


/* ORANGE LINE */

.why-active-line {
    position: absolute;

    top: 0;
    left: 0;

    width: 2px;
    height: 100%;

    background: #ff7800;

    transform: scaleY(0);
    transform-origin: top;

    opacity: .9;

    transition:
        transform 700ms cubic-bezier(.22,.61,.36,1),
        opacity 400ms ease;

    box-shadow:
        0 0 12px rgba(255,120,0,.35);
}

.why-card.is-active .why-active-line {
    transform: scaleY(1);
}


/* ARCHITECTURAL MOTION */

.why-card:nth-child(2),
.why-card:nth-child(5) {
    transform: translateY(2px);
}

.why-card:nth-child(3),
.why-card:nth-child(6) {
    transform: translateY(-2px);
}


/* ACTIVE SCAN */

.why-card.is-active::after {
    content: "";

    position: absolute;

    left: 0;
    top: -35%;

    width: 100%;
    height: 35%;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(255,120,0,.05),
            transparent
        );

    animation:
        whyLightScan
        3s
        ease-in-out
        infinite;
}

@keyframes whyLightScan {

    0% {
        top: -35%;
        opacity: 0;
    }

    25% {
        opacity: .7;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}


/* BOTTOM */

.why-bottom-text {
    display: none;
}


/* TABLET */

@media (max-width: 900px) {

    .why-choose-section {
        padding: 85px 25px 55px;
    }

    .why-top {
        gap: 35px;
    }

    .why-heading {
        font-size: 48px;
    }

    .why-intro {
        width: 260px;
    }

    .why-columns {
        height: 340px;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    .why-choose-section {
        min-height: auto;
        padding: 95px 18px 55px;
    }

    .why-top {
        display: block;
        margin-bottom: 35px;
    }

    .why-eyebrow {
        margin-bottom: 15px;
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .why-heading {
        font-size: 39px;
        line-height: .96;
        letter-spacing: -2px;
    }

    .why-intro {
        width: 100%;
        margin-top: 23px;
        padding: 0;
        font-size: 11px;
        line-height: 1.6;
    }

    .why-columns {
        display: flex;
        flex-direction: column;

        height: auto;

        overflow: visible;

        border-top:
            1px solid rgba(255,120,0,.5);

        border-bottom: none;
    }

    .why-card {
        width: 100%;

        height: 49px;
        min-height: 49px;

        flex: none !important;

        transform: none !important;

        border-left:
            1px solid rgba(255,255,255,.16);

        border-right:
            1px solid rgba(255,255,255,.16);

        border-bottom:
            1px solid rgba(255,255,255,.16);

        transition:
            height 600ms cubic-bezier(.22,.61,.36,1),
            border-color 400ms ease;
    }

    .why-card.is-active {
        height: 220px;

        border-color:
            rgba(255,120,0,.75);
    }

    .why-card-image {
        height: 0;
        bottom: auto;

        transition:
            height 600ms cubic-bezier(.22,.61,.36,1);
    }

    .why-card.is-active .why-card-image {
        height: 160px;
    }

    .why-card-image img {
        transform: scale(1.02);

        filter:
            saturate(.7)
            contrast(1.05)
            brightness(.55);
    }

    .why-card.is-active .why-card-image img {
        transform: scale(1.05);

        filter:
            saturate(.9)
            brightness(.78);
    }

    .why-dark-overlay {
        height: 0;
        bottom: auto;

        opacity: 0;

        transition:
            height 600ms ease,
            opacity 500ms ease;
    }

    .why-card.is-active .why-dark-overlay {
        height: 160px;
        opacity: .7;
    }

    .why-card-number {
        top: 17px;
        left: 13px;
        font-size: 9px;
    }

    .why-card-content {
        top: 0;
        bottom: auto;

        left: 42px;
        right: 38px;

        height: 49px;

        display: flex;
        align-items: center;

        transition:
            top 600ms cubic-bezier(.22,.61,.36,1),
            height 600ms cubic-bezier(.22,.61,.36,1);
    }

    .why-card.is-active .why-card-content {
        top: 160px;

        left: 14px;
        right: 14px;

        height: 60px;

        display: block;

        padding-top: 11px;
    }

    .why-card-title {
        font-size: 9px;
        color: #777;
    }

    .why-card.is-active .why-card-title {
        color: #fff;
    }

    .why-card-description {
        margin-top: 6px;

        max-width: 100%;

        font-size: 10px;
        line-height: 1.45;

        opacity: 0;

        transform: translateY(6px);
    }

    .why-card.is-active .why-card-description {
        opacity: 1;
        transform: translateY(0);
    }

    .why-card::before {
        content: "+";

        position: absolute;

        right: 15px;
        top: 14px;

        z-index: 20;

        font-size: 16px;
        font-weight: 300;

        color: #777;

        transition:
            color 300ms ease,
            transform 400ms ease;
    }

    .why-card.is-active::before {
        content: "−";
        color: #ff7800;
    }

    .why-active-line {
        width: 2px;
        height: 49px;
        transform: scaleY(0);
    }

    .why-card.is-active .why-active-line {
        height: 100%;
        transform: scaleY(1);
    }

    .why-card.is-active::after {
        display: none;
    }

    .why-bottom-text {
        display: block;

        margin-top: 14px;
        padding-top: 13px;

        border-top:
            1px solid rgba(255,120,0,.45);

        font-family: Arial, sans-serif;

        font-size: 8px;
        font-weight: 700;
        letter-spacing: 1.5px;

        color: #555;
    }
}