/* ============================================
   Next Steps (contact form)
   Ported from engagednation.com "contact-modern"
   ============================================ */

.contact-modern {
    padding: 90px 0;
    background: #ffffff;
}

.contact-modern__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-modern__visual {
    position: relative;
}

.contact-modern__visual img {
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(5, 20, 65, 0.1);
    width: 100%;
    object-fit: cover;
    max-height: 560px;
}

.contact-modern__form-wrap {
    background: #f5f8ff;
    border-radius: 24px;
    padding: clamp(32px, 4vw, 48px);
    border: 1px solid #e2e8f0;
}

.contact-modern__form-header {
    margin-bottom: 32px;
}

.contact-modern__form-header .section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4D59DA;
    margin-bottom: 12px;
}

.contact-modern__form-header h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #07122D;
    margin: 0 0 12px;
}

.contact-modern__form-header p {
    font-size: 16px;
    color: #6a7c92;
    margin: 0;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.modern-form .form-row--full {
    grid-template-columns: 1fr;
}

.modern-form .form-field {
    position: relative;
}

.modern-form .form-field input,
.modern-form .form-field textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    color: #313639;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
}

.modern-form .form-field input::placeholder,
.modern-form .form-field textarea::placeholder {
    color: #6a7c92;
    opacity: 0.7;
}

.modern-form .form-field input:focus,
.modern-form .form-field textarea:focus {
    border-color: #4D59DA;
    box-shadow: 0 0 0 4px rgba(77, 89, 218, 0.1);
}

.modern-form .form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.modern-form .form-submit {
    margin-top: 8px;
}

.modern-form .form-submit button {
    width: 100%;
    padding: 18px 36px;
    background: linear-gradient(135deg, #4D59DA 0%, #38C9F7 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(77, 89, 218, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modern-form .form-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(77, 89, 218, 0.45);
}

@media (max-width: 900px) {
    .contact-modern__grid {
        grid-template-columns: 1fr;
    }
    .contact-modern__visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .modern-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-modern__form-wrap {
        padding: 24px;
    }
}
