/* Стили формы обратной связи */

.header .container .block-text .block-text-content {
    align-items: start;
}

.contact-form-section {
    background-color: #f4f4f4;
    padding: 80px 0;
    position: relative;
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.contact-form-content {
    flex: 1;
}

.contact-form-title {
    font-family: "ParaboleTrial-Regular", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #151625;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-form-description {
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    color: #818e94;
    margin-bottom: 40px;
    line-height: 1.5;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 112, 173, 0.1);
    flex: 1;
    max-width: 1000px;
    width: 500px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-family: "Ubuntu-Medium", sans-serif;
    font-size: 1rem;
    color: #151625;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 1rem;
    color: #151625;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #0070ad;
    box-shadow: 0 0 0 3px rgba(0, 112, 173, 0.1);
}

.form-input::placeholder {
    color: #818e94;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23818e94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.form-button {
    width: 100%;
    padding: 18px 30px;
    background-color: #0070ad;
    color: #fff;
    border: 2px solid #0070ad;
    border-radius: 10px;
    font-family: "Ubuntu-Medium", sans-serif;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-button:hover {
    background-color: #005a8a;
    border-color: #005a8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 112, 173, 0.3);
}

.form-button:active {
    transform: translateY(0);
}

.form-button:disabled {
    background-color: #818e94;
    border-color: #818e94;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-button-loading {
    opacity: 0.7;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 1rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Респонсивность */
@media only screen and (max-width: 1024px) {
    .contact-form-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .contact-form {
        max-width: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 0 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .form-input,
    .form-select {
        padding: 12px 15px;
    }
    
    .form-button {
        padding: 15px 25px;
    }
}

@media only screen and (max-width: 480px) {
    .contact-form-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
} 