/* ====== Contact Top Section ====== */
.contact-top {
    display: flex;
    padding-top: 146px;
    gap:20px;
}
.contact-top h2{
    text-transform:uppercase ;
}
.contact-img{
    max-width: 203px;
    height: 222px;
    border-radius: 16px;
    object-fit: cover;
    margin-top: 5px;
    object-position: 75% 100%;
}
.contact-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.contact-titles{
    flex:0 0 49%;
}
.contact-title-right, .contact-title-left{
    font-size: 42px;
    line-height: 52px;
    text-align: right;
}
.contact-image{
    flex: 0 0 15%;
}
.contact-text{
    flex:0 0 25%;
    display: flex;
    flex-direction: column;
    padding-top: 93px;
}
.contact-bottom{
    display: flex;
    padding-top: 42px;
    gap: 29px;
}
.contact-form{
    flex:0 0 50%;
}
.contact-google{
    flex: 0 0 49%;
}
.contact-google iframe{
    border-radius: 16px;
    height: 333px;
}
/* Form */
.wpcf7-form{
    max-width: 455px;
}
.form-columns p{
    gap: 25px;
    padding-top: 3px;
    display: flex;
    padding-bottom: 3px;
}
.wpcf7-form label{
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: var(--color-2);
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"]{
    width: 100%;
    background: var(--color-1);
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 8px;
    height: 8px;
    padding: 10px;

}
.wpcf7-form input[type="checkbox"] {
    appearance: none;         /* сброс стиля браузера */
    -webkit-appearance: none; /* для Safari */
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    cursor: pointer;
    position: relative;
    background: #fff;
    border-radius: 4px;
}

/* Состояние при checked */
.wpcf7-form input[type="checkbox"]:checked {
    background-color: #0073e6;
    border-color: #0073e6;
}

/* Галочка */
.wpcf7-form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 3px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.wpcf7-form input[type="submit"] {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 486px;
    background: var(--color-2);
    border-radius: 100px;
    color: var(--color-1);
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease; /* плавная анимация */
}

/* Hover */
.wpcf7-form input[type="submit"]:hover {
    filter: brightness(0.9); /* универсально для CSS */
    transform: translateY(-2px); /* лёгкий "подъём" */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Active (при клике) */
.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.checkbox-form{
    padding: 3px 0 10px;
}
.wpcf7-list-item{
    margin:0;
}
.wpcf7-not-valid-tip{
    font-size: 12px;
}
.wpcf7-list-item label{
    font-size: 16px;
    line-height: 150%;
    text-transform: none;
    display: flex
;
    align-items: center;
    gap: 5px;
}
.wpcf7 form .wpcf7-response-output{
    margin:1px !important;
}
.wpcf7-form textarea{
    height: 50px;
    width: 457px;
    border-radius: 8px;
    padding: 10px;
    border:1px solid rgba(128, 128, 128, 0.5);
}
@media  (max-width: 1200px) {
    .contact-titles{
        flex:0 0 40%;
    }
    .contact-bottom{
    justify-content: space-between;
    }
    .contact-google{
        flex: 0 0 40%;
    }
}
@media (max-width: 1024px){
    .wpcf7-form label{
        font-size:16px;
    }
    .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"]{
        height: 15px;
        padding: 10px;

    }
}
@media  (max-width: 900px) {
    .wpcf7-form{
        max-width: 350px;
    }
    .wpcf7-form textarea{
        width: 350px;
    }
    .wpcf7-form input[type="submit"]{
        width: 350px;
    }
}
@media  (max-width: 767px) {
    .contact-top{
        padding-top: 57px;
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
    }
    .contact-title-right { text-align: left; font-size: 32px; line-height: 120%; }
    .contact-title-left {
        padding-top: 7px;
        text-align: right;
        font-size: 32px;
        line-height: 120%;
        max-width: 262px;
        margin-left: auto;
    }
    .contact-image{
        flex: 1 1 100%;
        text-align: center;
    }
    .contact-img {
        height: 196px;
        margin-top: 0;
    }
    .contact-text{
        flex: 1 1 100%;
        max-width: 269px;
        margin-left: auto;
        padding-top: 0;
    }
    .contact-text p{
        font-size: 14px;
        line-height: 22px;
    }
    .contact-top{
        gap:25px;
    }
    .contact-bottom{
        flex-direction: column;
        padding-bottom: 60px;
    }
    .form-columns p{
        flex-direction: column;
        gap:7px;
    }
    .wpcf7-form textarea{
        width: 97%;
    }
    .contact-form{
        flex: 1 1 100%;
    }
    .wpcf7-form{
        max-width: 90%;
        padding-top: 33px;
        padding-left: 8px;
    }
    .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"]{
        height: 26px;
    }
    .form-columns br{
        display: none;
    }
    .checkbox-form{
        padding:10px 0 18px;
    }
    .wpcf7-form label {
        font-size: 15px;
    }
    .wpcf7-not-valid-tip{
        font-size: 12px;
        line-height: 14px;
        padding: 6px;
    }
    .contact-google{
        flex:1 1 100%;
        width: 100%;
    }
    .contact-google iframe{
        height: 239px;
        width: 100%;
    }
}
@media  (max-width: 450px) {
    .contact-img{
        max-width: 100%;
    }
}
@media  (max-width: 412px) {
    .wpcf7-form input[type="submit"]{
        width: 100%;
    }
}