/* ================= TEM Footer ================= */

.tem-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(68, 0, 103, 0.16), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(0, 48, 110, 0.14), transparent 34%),
        linear-gradient(180deg, #061c38 0%, #07111f 100%);
    color: #ffffff;
}

.tem-footer::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -140px;
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.tem-footer::after {
    content: "";
    position: absolute;
    left: -180px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    background: rgba(68, 0, 103, 0.18);
    border-radius: 50%;
}

.tem-footer__inner {
    position: relative;
    z-index: 2;
    padding: 90px 0 0;
}

.tem-footer__top {
    display: grid;
    grid-template-columns: 0.95fr 1.55fr;
    gap: 70px;
    padding-bottom: 58px;
}

.tem-footer__brand {
    max-width: 390px;
}

.tem-footer__logo {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.tem-footer__logo img {
    width: 230px;
    max-width: 100%;
    height: auto;
    display: block;
}

.tem-footer__brand > p {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15.5px;
    line-height: 1.75;
}

.tem-footer__contact-list {
    display: grid;
    gap: 13px;
    margin-top: 26px;
}

.tem-footer__contact-list a,
.tem-footer__address {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.5;
}

.tem-footer__contact-list a:hover {
    color: #ffffff;
}

.tem-footer__contact-list span,
.tem-footer__address span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.tem-footer__address p {
    margin: 0;
}

.tem-footer__membership {
    margin-top: 28px;
}

.tem-footer__membership p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 800;
}

.tem-footer__membership a {
    width: 200px;
    height: 92px;
    display: block;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.tem-footer__membership img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    border-radius: 0;
}

.tem-footer__links {
    display: grid;
    grid-template-columns: 0.85fr 0.95fr 1.35fr;
    gap: 40px;
}

.tem-footer__column h3,
.tem-footer__newsletter h3 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.2;
}

.tem-footer__column ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tem-footer__column a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    font-weight: 750;
    line-height: 1.35;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tem-footer__column a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.tem-footer__csr-link {
    width: fit-content;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.tem-footer__csr-link span {
    padding: 4px 8px;
    color: #ffffff;
    background: #440067;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.tem-footer__newsletter p {
    max-width: 330px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.7;
}

.tem-footer__form {
    position: relative;
    display: flex;
    max-width: 360px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.tem-footer__form input[type="email"] {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    color: #ffffff;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 14px;
}

.tem-footer__form input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.tem-footer__form button {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #440067, #7516a8);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tem-footer__form button:hover {
    transform: translateX(2px);
    box-shadow: 0 14px 30px rgba(68, 0, 103, 0.32);
}

.tem-footer__csr-card {
    position: relative;
    display: block;
    max-width: 360px;
    margin-top: 20px;
    padding: 20px 22px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, #440067 0%, #7516a8 100%);
    border-radius: 22px;
    box-shadow: 0 22px 52px rgba(68, 0, 103, 0.25);
}

.tem-footer__csr-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 115px;
    height: 115px;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 50%;
}

.tem-footer__csr-card span {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tem-footer__csr-card strong {
    position: relative;
    z-index: 2;
    display: block;
    color: #ffffff;
    font-size: 26px;
    font-weight: 950;
    line-height: 1.1;
}

.tem-footer__csr-card small {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13.5px;
    font-weight: 800;
}

.tem-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tem-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13.5px;
    font-weight: 700;
}

.tem-footer__bottom p a {
    color: #ffffff;
    font-weight: 950;
}

.tem-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tem-footer__socials span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 900;
}

.tem-footer__socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: transform 0.22s ease, background 0.22s ease;
}

.tem-footer__socials a:hover {
    transform: translateY(-2px);
    background: #440067;
}

@media (max-width: 1199px) {
    .tem-footer__top {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .tem-footer__brand {
        max-width: 680px;
    }
}

@media (max-width: 991px) {
    .tem-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tem-footer__newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .tem-footer__inner {
        padding-top: 70px;
    }

    .tem-footer__top {
        gap: 38px;
        padding-bottom: 42px;
    }

    .tem-footer__logo img {
        width: 190px;
    }

    .tem-footer__links {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .tem-footer__column h3,
    .tem-footer__newsletter h3 {
        margin-bottom: 16px;
    }

    .tem-footer__form,
    .tem-footer__csr-card {
        max-width: none;
    }

    .tem-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .tem-footer__socials {
        flex-wrap: wrap;
    }
}