* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background: linear-gradient(135deg, #2980b9, #3498db 40%, #2980b9 100%);
    padding: 1.5rem 1rem;
    text-align: center;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

header h2 {
    font-size: 1.4rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    overflow: hidden;
    box-sizing: border-box;
}

.benefits {
    float: left;
    width: 62%;
    padding-right: 2rem;
    box-sizing: border-box;
}

.contact {
    float: right;
    width: 35%;
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.contact p, .contact form, .contact h2, .form-group, .verification, .form-message {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

.contact h2 {
    margin-bottom: 1rem;
}

.benefits h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.benefits h2 strong {
    color: #3498db;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.feature {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.icon {
    flex: 0 0 30px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.benefits-list {
    background-color: #e1f0fb;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
    border-left: 4px solid #3498db;
}

.benefits-list h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.benefits-list ul {
    list-style-position: outside;
    padding-left: 1.2rem;
}

.benefits-list li {
    margin-bottom: 0.7rem;
    padding-left: 0.3rem;
}

.contact p {
    margin-bottom: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

input, textarea, button {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    width: 100%;
}

::placeholder {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    opacity: 0.7;
    color: #777;
}
:-ms-input-placeholder { 
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    color: #777;
}
::-ms-input-placeholder { 
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    color: #777;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    text-align: center;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #a5a5a5;
    cursor: not-allowed;
    opacity: 0.7;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.2rem;
    min-height: 0;
    height: auto;
    visibility: hidden;
}

.error-message:not(:empty) {
    visibility: visible;
    margin-bottom: 0.3rem;
}

.form-message {
    padding: 0.8rem;
    margin: 1rem 0;
    border-radius: 4px;
    display: none;
    text-align: center;
    font-size: 0.95rem;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.sending {
    display: block;
    background-color: #e2f3fd;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.verification {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.verification label {
    display: flex;
    align-items: center;
    margin-right: 0.8rem;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

input.error, textarea.error {
    border-color: #e74c3c;
    margin-bottom: 0;
}

.visually-hidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

button[type="submit"] {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    textarea {
        min-height: 120px;
    }
    
    @media (min-height: 800px) {
        textarea {
            min-height: 150px;
        }
    }
}

@media (max-width: 768px) {
    main {
        padding: 1.5rem;
    }
    
    .benefits, .contact {
        float: none;
        width: 100%;
        padding-right: 0;
        margin: 0 0 1.5rem 0;
    }
    
    .contact {
        padding: 1.2rem;
    }
    
    header {
        min-height: 100px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header h2 {
        font-size: 1.1rem;
    }
    
    .benefits h2 {
        font-size: 1.5rem;
    }
    
    .benefits h2 strong {
        font-size: 1.6rem;
    }
    
    .benefits-list ul {
        padding-left: 1.5rem;
    }
    
    .benefits-list li {
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .verification label {
        width: 100%;
        margin-bottom: 0.3rem;
    }
    
    .error-message:not(:empty) {
        margin-bottom: 0.5rem;
    }
}
