:root {
    --title-gradient: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 85%) 100%);
}
header .bottom::before {
    border-bottom: none;
}
.promo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 640px;
    background: #000;
    .bg {
        background: var(--bg) top center / cover;
    }
    h1 {
        position: relative;
        font-size: 80px;
        font-weight: 700;
        line-height: 90%;
        letter-spacing: 0.2px;
        text-align: center;
        text-transform: uppercase;
        background: var(--title-gradient);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    }
}
.contacts {
    padding-block: 100px 72px;
    background: var(--2);
    .wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr) auto;
        gap: 10px;
        * {
            color: var(--white);
        }
        > div {
            display: flex;
            flex-direction: column;
            max-width: 300px;
            &::before {
                margin-bottom: 20px;
                font: 100 40px/1 icon;
            }
            &.tel::before {
                content: '\e90b';
            }
            &.mail::before {
                content: '\e90a';
            }
            &.address::before {
                content: '\e915';
            }
        }
    }
    .title {
        margin-bottom: 10px;
        font-size: 30px;
        font-weight: 600;
        line-height: 90%;
        letter-spacing: 0.2px;
    }
    a {
        width: fit-content;
        overflow: hidden;
        margin-bottom: 20px;
        &:has(+ a:not(.last)) {
            margin-bottom: 4px;
        }
        span {
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 500;
            letter-spacing: 1px;
            transform: translateX(-18px);
            transition: transform .2s;
            &::before {
                content: '\e90c';
                margin-top: 2px;
                font: 100 16px / 1 icon;
            }
        }
    }
    .last {
        display: flex;
        align-items: center;
        gap: 4px;
        width: fit-content;
        margin-block: auto 0;
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        font-size: 14px;
        font-weight: 300;
        transition: color .3s linear;
        &::after {
            content: '\e90c';
            margin-top: 2px;
            font: 100 12px / 1 icon;
        }
    }
}
.contact-us {
    width: 100%;
    background: none;
    form[name="contact-us"] {
        position: relative;
        z-index: 1;
        background: url(../images/index/bg-text.webp) top -190px right -225px/ auto auto no-repeat, #d5d5d5;
        h2 {
            color: var(--text);
            &::after {
                background: var(--text);
            }
            + p {
                color: var(--text);
            }
        }
        .agree p a,
        > label {
            color: var(--text);
        }
        .agree {
            p {
                color: var(--2);
            }
            label {
                border-color: var(--text);
                &:has(input:checked)::before {
                    color: var(--text);
                }
            }
        }
    }
}
.bg-box:has(.contact-us) .bg {
    background: url(../images/projects/form.webp) bottom -315px center / cover;
}
.map {
    border-top: 4px solid hsl(347, 100%, 28%);
    height: 500px;
    .ymaps3x0--map-copyrights__logo,
    .ymaps3x0--map-copyrights__container {
        display: none;
    }
    canvas {
        filter: grayscale(1);
    }
    .marker {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 162px;
        left: -80px;
        top: -78px;
        filter: drop-shadow(10px, 10px, 10px rgba(0, 0, 0, .6))
    }
}
.map-modal form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    input {
        padding: 16px;
        border: none;
    }
}
@media (max-width: 1280px) {
    .promo {
        .bg {
            background: var(--bg) top center / 200% auto;
        }
        h1 {
            font-size: 60px;
        }
    }
}
@media (max-width: 1080px) {
    .promo {
        min-height: 535px;
        .bg {
            background: var(--bg) top center /auto 180% no-repeat;
        }
        h1 {
            font-size: 40px;
            text-wrap: balance;
        }
    }
    .contacts {
        padding-block: 60px;
        .wrapper {
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            > div {
                display: grid;
                grid-template-columns: 40px 1fr;
                gap: 10px 20px;
                max-width: initial;
                &::before {
                    grid-area: 1/1/5/2;
                    margin-bottom: 0;
                }
                &.address {
                    grid-column: 1/-1;
                }
            }
        }
        .last {
            margin-top: 10px;
        }
        a {
            margin-bottom: 0;
        }
    }
}
@media (max-width: 768px) {
    .promo .bg {
        background: var(--bg) top 100px center /auto 180% no-repeat;
    }
    .contacts .wrapper {
        grid-template-columns: 1fr;
    }
}
@media (hover:hover) {
    .contacts {
        a:hover span {
            transform: translateX(0);
        }
        .last:hover {
            color: var(--white);
        }
    }
}