﻿.ag-newsletter {
    background: #151a1e;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.ag-newsletter__inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding-block: 18px;
}

.ag-newsletter__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ag-newsletter__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: .9;
}

    .ag-newsletter__icon svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.ag-newsletter__text {
    min-width: 0;
}

.ag-newsletter h3 {
    margin: 0 0 5px;
    font-family: Montserrat, Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
}

.ag-newsletter p {
    margin: 0;
    color: #aeb6bd;
    font-size: 12px;
    line-height: 1.45;
}

.ag-newsletter__form {
    min-width: 0;
}

.ag-newsletter__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    height: 42px;
}

    .ag-newsletter__row input {
        min-width: 0;
        border: 0;
        outline: 0;
        background: #fff;
        color: #111827;
        padding: 0 14px;
        border-radius: 4px 0 0 4px;
        font-size: 13px;
    }

    .ag-newsletter__row button {
        border: 0;
        background: var(--ag-red);
        color: #fff;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }

        .ag-newsletter__row button:hover {
            background: var(--ag-red-dark);
        }

        .ag-newsletter__row button:disabled {
            opacity: .7;
            cursor: wait;
        }

.ag-newsletter__kvkk {
    margin-top: 9px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #9fa8b0;
    font-size: 11px;
    line-height: 1.35;
}

    .ag-newsletter__kvkk input {
        width: 13px;
        height: 13px;
        margin-top: 1px;
        flex: 0 0 auto;
    }

.ag-newsletter__result {
    margin-top: 9px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.4;
}

    .ag-newsletter__result.is-ok {
        background: rgba(34,197,94,.12);
        color: #bbf7d0;
        border: 1px solid rgba(34,197,94,.24);
    }

    .ag-newsletter__result.is-error {
        background: rgba(239,68,68,.12);
        color: #fecaca;
        border: 1px solid rgba(239,68,68,.24);
    }

.ag-footer {
    background: #111518;
    color: #d8dde2;
}

.ag-footer__main {
    background: radial-gradient(circle at top left, rgba(228,38,38,.10), transparent 28%), #111518;
}

.ag-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr .9fr .95fr .85fr 1.15fr;
    gap: 30px;
    padding: 40px 0 28px;
}

.ag-footer__brand {
    min-width: 0;
}

.ag-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 13px;
}

    .ag-footer__logo img {
        max-width: 150px;
        max-height: 44px;
        object-fit: contain;
    }

    .ag-footer__logo span {
        color: #fff;
        font-size: 26px;
        line-height: 1;
        font-weight: 900;
        font-family: Montserrat, Roboto, Arial, sans-serif;
    }

    .ag-footer__logo strong {
        color: var(--ag-red);
    }

.ag-footer__brand p {
    max-width: 245px;
    margin: 0 0 16px;
    color: #9fa8b0;
    line-height: 1.6;
    font-size: 12.5px;
}

.ag-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .ag-footer__socials a {
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #20262b;
        color: #fff;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .2px;
        transition: .16s ease;
    }

        .ag-footer__socials a:hover {
            background: var(--ag-red);
        }

.ag-footer__col {
    min-width: 0;
}

    .ag-footer__col h4 {
        margin: 0 0 13px;
        color: #fff;
        font-family: Montserrat, Roboto, Arial, sans-serif;
        font-size: 12.5px;
        line-height: 1.2;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .3px;
    }

    .ag-footer__col ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 7px;
    }

    .ag-footer__col li {
        min-width: 0;
    }

        .ag-footer__col li a {
            color: #a8b0b7;
            font-size: 12.5px;
            line-height: 1.35;
            transition: .16s ease;
        }

            .ag-footer__col li a:hover {
                color: #fff;
            }

.ag-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .ag-footer__contact a,
    .ag-footer__contact div {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        color: #a8b0b7;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .ag-footer__contact span {
        width: 17px;
        flex: 0 0 17px;
        color: #fff;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        opacity: .9;
    }

    .ag-footer__contact em {
        font-style: normal;
        min-width: 0;
        word-break: break-word;
    }

    .ag-footer__contact a:hover {
        color: #fff;
    }

.ag-footer__partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 22px;
}

    .ag-footer__partners h5 {
        margin: 0 0 11px;
        color: #fff;
        font-size: 11px;
        line-height: 1.2;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .3px;
    }

.ag-footer__paylogos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

    .ag-footer__paylogos a,
    .ag-footer__paylogos span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
    }

    .ag-footer__paylogos img {
        max-height: 24px;
        max-width: 82px;
        object-fit: contain;
        filter: grayscale(1) brightness(1.6);
        opacity: .9;
    }

.ag-footer__cargo div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ag-footer__cargo span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.065);
    color: #cfd5da;
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}

.ag-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.075);
    padding: 15px 0 18px;
}

    .ag-footer__bottom p {
        margin: 0;
        color: #89939b;
        font-size: 11.5px;
        line-height: 1.4;
    }

@media (max-width: 1100px) {
    .ag-footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 28px;
    }

    .ag-newsletter__inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 760px) {
    .ag-footer__grid {
        grid-template-columns: 1fr 1fr;
        padding: 34px 0 24px;
    }

    .ag-footer__partners {
        grid-template-columns: 1fr;
    }

    .ag-newsletter__inner {
        padding-block: 20px;
    }

    .ag-newsletter__row {
        grid-template-columns: 1fr;
        height: auto;
        gap: 9px;
    }

        .ag-newsletter__row input,
        .ag-newsletter__row button {
            height: 42px;
            border-radius: 4px;
        }
}

@media (max-width: 540px) {
    .ag-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ag-footer__brand p {
        max-width: none;
    }

    .ag-newsletter__left {
        align-items: flex-start;
    }

    .ag-newsletter__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

        .ag-newsletter__icon svg {
            width: 24px;
            height: 24px;
        }
}
