/* =========================
   MODAL
========================= */

.brand-modal {

    position: fixed;

    inset: 0;

    z-index: 999999;

    pointer-events: none;

    opacity: 0;

    visibility: hidden;

    transition:
            opacity 0.3s ease,
            visibility 0.3s ease;

}

/* =========================
   ACTIVE
========================= */

.brand-modal.active {

    pointer-events: auto;

    opacity: 1;

    visibility: visible;

}

/* =========================
   OVERLAY
========================= */

.brand-modal-overlay {

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.72);

    backdrop-filter: blur(10px);

    opacity: 0;

    transition: opacity 0.45s ease;

}

.brand-modal.active .brand-modal-overlay {

    opacity: 1;

}

/* =========================
   PANEL
========================= */

.brand-modal-panel {

    position: absolute;

    right: 0;
    top: 0;

    width: min(720px, 100%);
    height: 100%;

    background: #0e0e0e;

    overflow-y: auto;

    transform: translateX(100%);

    transition: transform 0.55s cubic-bezier(.77,0,.18,1);

    box-shadow:
            -40px 0 80px rgba(0,0,0,0.45);

}

/* ACTIVE */

.brand-modal.active .brand-modal-panel {

    transform: translateX(0);

}

/* =========================
   CLOSE
========================= */

.brand-modal-close {

    position: absolute;

    right: 25px;
    top: 25px;

    width: 52px;
    height: 52px;

    border: none;

    border-radius: 16px;

    background: rgba(255,255,255,0.06);

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    z-index: 10;

    transition: 0.3s ease;

}

.brand-modal-close:hover {

    background: rgba(255,255,255,0.12);

    transform: rotate(90deg);

}

/* =========================
   IMAGE
========================= */

.brand-modal-image {

    height: 340px;

    background-size: cover;
    background-position: center;

    position: relative;

}

.brand-modal-image::after {

    content: "";

    position: absolute;
    inset: 0;

    background:
            linear-gradient(
                    to bottom,
                    rgba(0,0,0,0.05),
                    rgba(14,14,14,1)
            );

}

/* =========================
   CONTENT
========================= */

.brand-modal-inner {

    padding: 50px;

}

.brand-modal-logo {

    max-width: 220px;

    margin-bottom: 35px;

    display: block;

}

/* =========================
   TYPO
========================= */

.brand-modal-subtitle {

    display: inline-block;

    color: #00b060;

    text-transform: uppercase;

    letter-spacing: 0.18em;

    font-size: 13px;

    margin-bottom: 18px;

}

.brand-modal-title {

    color: #ffffff;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 0.95;

    margin-bottom: 30px;

}

.brand-modal-text {

    color: rgba(255,255,255,0.72);

    line-height: 1.9;

    font-size: 17px;

    margin-bottom: 45px;

}

/* =========================
   BUTTON
========================= */

.brand-modal-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 58px;

    padding: 0 34px;

    border-radius: 18px;

    background: #ffffff;

    color: #000000;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;

}

.brand-modal-button:hover {

    transform: translateY(-2px);

    background: #f2f2f2;

}

/* =========================
   SOCIALS
========================= */

.brand-modal-socials {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 40px;

}

.brand-modal-social {

    width: 110px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    text-decoration: none;

    color: rgba(255,255,255,0.82);

}

.brand-modal-social-icon {

    width: 50px;
    height: 50px;

    border-radius: 24px;

    background:
            rgba(255,255,255,0.66);

    border:
            1px solid rgba(255,255,255,0.08);

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
            transform 0.35s ease,
            background 0.35s ease,
            border-color 0.35s ease;

}

.brand-modal-social:hover .brand-modal-social-icon {

    transform:
            translateY(-6px);

    background:
            rgba(255,255,255,0.86);

    border-color:
            rgba(255,255,255,0.16);

}

.brand-modal-social-icon img {

    width: 26px;
    height: 26px;

    object-fit: contain;

    display: block;

}

.brand-modal-social span {

    font-size: 13px;

    letter-spacing: 0.04em;

}

.brand-modal-social:hover {



}



/* =========================
   MOBILE
========================= */

@media(max-width: 768px) {

    .brand-modal-panel {

        width: 100%;

    }

    .brand-modal-image {

        height: 240px;

    }

    .brand-modal-inner {

        padding: 35px 25px;

    }

}

