.sw-about-us__contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sw-about-us__contact-title {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #F9F9F9;
    margin: 0;
}

.sw-about-us__contact-title-accent {
    color: #FFD700;
}

.sw-about-us__contact-blocks {
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: stretch;
}

/* Form Block */
.sw-about-us__contact-form-block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sw-about-us__contact-form-card {
    background: #171717;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Специальные стили для формы в about-us */
.sw-about-us__contact-form-lead {
    width: 100%;
}

.sw-about-us__contact-form {
    width: 100%;
}

.sw-about-us__contact-fields {
    width: 100%;
}

.sw-about-us__contact-form-group {
    width: 100%;
}

.sw-about-us__contact-input {
    width: 100%;
    box-sizing: border-box;
}

.sw-about-us__contact-submit {
    width: 100%;
}

/* Social Block */
.sw-about-us__contact-social-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sw-about-us__contact-social-row {
    display: flex;
    gap: 16px;
}

.sw-about-us__contact-social-card {
    background: #171717;
    border-radius: 16px;
    padding: 10px;
    height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sw-about-us__contact-social-card:hover {
    background: #FCD704;
}

.sw-about-us__contact-social-card:hover .sw-about-us__contact-social-title,
.sw-about-us__contact-social-card:hover .sw-about-us__contact-social-action {
    color: #3A3A3C;
}

.sw-about-us__contact-social-card:hover .sw-about-us__contact-social-content {
    transform: translateY(-16px);
    gap: 16px;
}

.sw-about-us__contact-social-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.3s ease;
    opacity: 1;
}

.sw-about-us__contact-social-card:hover .sw-about-us__contact-social-icon {
    opacity: 0;
}

.sw-about-us__contact-social-icon--hover {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.sw-about-us__contact-social-card:hover .sw-about-us__contact-social-icon--hover {
    opacity: 1;
}

.sw-about-us__contact-social-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sw-about-us__contact-social-title {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #F9F9F9;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.sw-about-us__contact-social-action {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #F9F9F9;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    height: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.sw-about-us__contact-social-card:hover .sw-about-us__contact-social-action {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

/* Map Card */
.sw-about-us__contact-map-card {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                url('../assets/images/background-map.png') no-repeat center center,
                #171717;
    background-size: 100% 100%;
    border-radius: 16px;
    padding: 10px;
    height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.sw-about-us__contact-map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.sw-about-us__contact-map-card:hover {
    background-size: 120% 120%;
}

.sw-about-us__contact-map-card:hover::before {
    opacity: 1;
}

.sw-about-us__contact-map-card:hover .sw-about-us__contact-social-title,
.sw-about-us__contact-map-card:hover .sw-about-us__contact-social-action {
    color: #FCD704;
}

.sw-about-us__contact-map-card:hover .sw-about-us__contact-social-content {
    transform: translateY(-16px);
    gap: 16px;
}

.sw-about-us__contact-map-card .sw-about-us__contact-social-action {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    height: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.sw-about-us__contact-map-card:hover .sw-about-us__contact-social-action {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

.sw-about-us__contact-map-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 1;
}

.sw-about-us__contact-map-card:hover .sw-about-us__contact-map-icon {
    opacity: 0;
}

.sw-about-us__contact-map-icon--hover {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.sw-about-us__contact-map-card:hover .sw-about-us__contact-map-icon--hover {
    opacity: 1;
}

/* Bottom Row */
.sw-about-us__contact-bottom-row {
    width: 100%;
    display: flex;
    gap: 16px;
}

/* About Us Page Form Styles */
.about-us-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    max-width: none;
    align-items: stretch;
}
.about-us-form__fields-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: none;
}
.about-us-form__form-group {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}
.about-us-form__input {
    width: 100%;
    padding: 28px 18px 12px 18px;
    font-size: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    border: none;
    border-radius: 14px;
    background: #232323;
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 #00000022;
    box-sizing: border-box;
}
.about-us-form__input.about-us-form__input--error {
    border: 2px solid #FF3B3B;
}
.about-us-form__label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4;
    color: #B0B0B0;
    pointer-events: none;
    background: transparent;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    z-index: 2;
    width: calc(100% - 36px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.about-us-form__input:focus + .about-us-form__label,
.about-us-form__input.about-us-form__input--filled + .about-us-form__label {
    top: 8px;
    left: 16px;
    transform: none;
    font-size: 12px;
    color: #B0B0B0;
    background: transparent;
}
.about-us-form__input--error + .about-us-form__label,
.about-us-form__input--error:focus + .about-us-form__label,
.about-us-form__input--error.about-us-form__input--filled + .about-us-form__label {
    color: #FF3B3B !important;
}
.about-us-form__error {
    color: #ff4d4f;
    font-size: 13px;
    position: absolute;
    left: 24px;
    bottom: -18px;
    min-height: 16px;
}
.about-us-form__btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    border-radius: 32px;
    padding: 14px 36px;
    border: none;
    background: #FCD704;
    color: #232323;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    min-width: 140px;
    width: 100%;
    box-shadow: 0 2px 8px 0 #00000022;
}
.about-us-form__btn:hover,
.about-us-form__btn:focus {
    background: #bfae0a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sw-about-us__contact {
        padding: 0 16px;
        gap: 16px;
    }
    
    .sw-about-us__contact-title {
        display: none;
    }
    
    .sw-about-us__contact-blocks {
        flex-direction: column;
        gap: 16px;
    }
    
    .sw-about-us__contact-form-block {
        order: 1;
    }

    .sw-about-us__contact-form-card .sw-footer__title {
        font-size: 28px;
    }

    .sw-about-us__contact-form-card .sw-footer__desc {
        font-size: 16px;
    }

    .sw-about-us__contact-form-card .sw-footer__lead {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    .sw-about-us__contact-social-block {
        order: 2;
    }
    
    .sw-about-us__contact-social-row {
        flex-direction: row;
        gap: 16px;
    }
    
    .sw-about-us__contact-social-card {
        height: 163px;
        min-height: 163px;
    }
    
    .sw-about-us__contact-social-title {
        font-size: 20px;
    }
    
    .sw-about-us__contact-map-card {
        height: 300px;
        min-height: 300px;
    }
    
    .sw-about-us__contact-bottom-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .sw-about-us__contact-social-card {
        height: 150px;
        min-height: 150px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sw-about-us__contact-social-row {
        flex-direction: row;
        gap: 16px;
    }
    
    .sw-about-us__contact-social-card {
        height: 163px;
        min-height: 163px;
    }
    
    .sw-about-us__contact-bottom-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .sw-about-us__contact-social-card {
        height: 150px;
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .sw-about-us__contact-form-card {
        padding: 16px;
    }
    
    .sw-about-us__contact-social-card {
        height: 150px;
        min-height: 150px;
    }
    
    .sw-about-us__contact-social-title {
        font-size: 20px;
    }
    
    .sw-about-us__contact-map-card {
        height: 250px;
        min-height: 250px;
    }
}