.s-main {
    padding: 0 0 60px;
}

.s-main .container {
    max-width: 1270px;
    display: flex;
    --hero-gap: 40px;
    gap: var(--hero-gap);
}

.main__featured--img {
    position: relative;
    padding-top: 87%;
    z-index: 1;
}

.main__featured--img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.main__featured--txt {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 18px;
}

.main--caption {
    letter-spacing: -0.8px;
    text-align: center;
    color: var(--color-white);
}

.main--caption span {
    color: rgba(255, 255, 255, 0.4);
}

.main--email {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 100px;
    padding: 16px 22px;
    color: #fff;
}

.main--email::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: inset 0.5px 1.5px 1px rgba(255, 255, 255, 0.6), inset -1px -1px 1px rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    -webkit-mask-image: linear-gradient(135deg, #000 0%, rgba(0, 0, 0, 0.3) 100%, #000 40%, rgba(0, 0, 0, 0.1) 20%, #000 32%, rgba(0, 0, 0, 0.4) 100%);
    mask-image: linear-gradient(135deg, #000 0%, rgba(0, 0, 0, 0.3) 100%, #000 40%, rgba(0, 0, 0, 0.1) 20%, #000 32%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    transition: opacity .2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.main--email__col:nth-child(2) {
    align-content: center;
}

.main--email a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: var(--color-white);
    transition: 0.3s all;
}

.main--email--btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.main--email--btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-purple-green);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: -1;
}

.main--email--btn:hover::after {
    opacity: 1;
    visibility: visible;
}

.main-form-container {
    position: relative;
}

.main-form-container .success-message-wrap {
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(114, 53, 232, 0.1) 0%, rgba(63, 241, 195, 0.1) 100%);
}

.custom-quote-form {
    margin-top: 23px;
}

.form-group.custom-checkbox-group {
    margin: 3px 0 -4px;
}

.custom-quote-form label {
    font-size: var(--fs-caption-3);
}

.custom-quote-form .form-col > label:not(.group-label) {
    display: block;
    margin-bottom: 7px;

}

.custom-quote-form .form-control::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.custom-quote-form .file-upload-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
    padding: 12px;
    border: 1px dashed #dedede;
    border-radius: 8px;
    text-align: center;
    background-color: #f7f7f7;
    cursor: pointer;
    transition: border-color 0.3s;
}

.custom-quote-form .file-upload-wrapper:hover {
    border-color: #A0A0A0;
}

.custom-quote-form .file-upload-text {
    font-size: var(--fs-caption-1);
    color: rgba(0, 0, 0, 0.5);
}

.custom-quote-form .file-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.s-map .container {
    max-width: 1270px;
}

.map-row {
    display: flex;
    gap: 24px;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-wrap {
    position: relative;
    padding-top: 120%;
    border-radius: 8px;
    overflow: hidden;
}

.map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-text-col {
    align-content: center;
    text-align: center;
}

.map-location {
    max-width: 402px;
    margin: 29px auto 0;
    padding: 16px 22px;
    text-align: left;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.main--email p,
.map-location p {
    margin-bottom: 7px;
    letter-spacing: -0.2px;
}

.map-location a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: var(--color-black);
    transition: 0.3s all;
}

.main--email a:hover,
.map-location a:hover {
    color: var(--color-gray);
}

.map-location a svg {
    flex: 1 0 20px;
    width: 20px;
}
@media (min-width: 768px) {
    .map-wrap {
        padding-top: 65%;
    }
}

@media (min-width: 992px) {
    .s-main {
        padding: 122px 0 50px;
    }

    .main__featured--img img {
        border-radius: 8px;
    }

    .s-main .container {
        --hero-gap: 16px;
    }

    .main__form {
        width: 46%;
        flex-shrink: 0;
        margin-top: auto;
        margin-right: 44px;
        padding: 130px 0 79px;
    }

    .main-form-container {
        max-width: 656px;
    }

    .main__featured {
        max-width: calc(50.5% - var(--hero-gap) - 5px);
        width: 692px;
        flex-shrink: 0;
    }

    .main__featured--img {
        height: 100%;
        padding: 0;
    }

    .main__featured--txt {
        padding: 32px;
    }

    .main--email {
        padding: 16px 22px;
    }

    .s-map {
        padding: 50px 0 0;
    }

    .map-row {
        justify-content: space-between;
        gap: 16px;
        padding: 32px;
        border-radius: 16px;
    }

    .map-col {
        width: 59%;
    }

    .map-text-col {
        flex: 1;
    }

    .site-footer {
        padding-top: 43px;
    }
}

@media (min-width: 1192px) {
    .main__featured {
        max-width: calc(578.6px - 20px + ((100vw - 1192px) / 2));
        /*max-width: calc(465.6px - var(--hero-gap) + ((100vw - 1192px) / 2));*/
    }
}

@media (max-width: 991px) {

    .header_site.dark .header_nav__btn .btn:not(:hover),
    .header_site.dark .custom-lang-dropdown:not(:hover),
    .header_site.dark .custom-lang-dropdown:not(:hover) .lang-item a {
        color: var(--color-white);
    }

    .header_site.dark #menu-toggle:not(:hover) span {
        background: var(--color-white);
    }

    .s-main .container {
        padding: 0;
        flex-direction: column-reverse;
    }

    .main__featured--img {
        min-height: 508px;
    }

    .main--email {
        max-width: 402px;
        margin-left: auto;
        margin-right: auto;
    }

    .main__form {
        padding: 0 15px;
    }

    .custom-quote-form,
    .custom-quote-form .form-row {
        gap: 18px
    }

    .map-row {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .main__featured--txt {
        padding: 15px;
    }

    .main--email {
        padding: 16px 10px;
    }
}