.motor-contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    box-sizing: border-box;
}

.motor-contact-page *,
.motor-contact-page *::before,
.motor-contact-page *::after {
    box-sizing: border-box;
}

.motor-contact-page__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.motor-contact-page__title {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 500;
    color: #111827;
    text-transform: uppercase;
}

.motor-contact-page__intro {
    margin: 0;
    max-width: 56rem;
    font-size: 16px;
    line-height: 1.6;
    color: #111827;
}

.motor-contact-page__layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

@media (min-width: 1200px) {
    .motor-contact-page__layout {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
        gap: 28px;
        align-items: start;
    }
}

.motor-contact-page__form-wrap {
    border-radius: 16px;
    outline: 1px solid #e5e7eb;
    outline-offset: -1px;
    background: #fff;
    padding: 20px 16px;
}

@media (min-width: 768px) {
    .motor-contact-page__form-wrap {
        padding: 24px;
    }
}

.motor-contact-page__notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.motor-contact-page__notice--success {
    background: #ecfdf5;
    color: #065f46;
    outline: 1px solid #6ee7b7;
}

.motor-contact-page__notice--error {
    background: #fef2f2;
    color: #991b1b;
    outline: 1px solid #fca5a5;
}

.motor-contact-page__form {
    display: grid;
    gap: 14px;
}

.motor-contact-page__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.motor-contact-page__field label {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
}

.motor-contact-page__field input,
.motor-contact-page__field select,
.motor-contact-page__field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 15px;
    line-height: 1.5;
    padding: 10px 12px;
}

.motor-contact-page__field textarea {
    resize: vertical;
    min-height: 120px;
}

.motor-contact-page__field--group {
    display: grid;
    gap: 10px;
}

@media (min-width: 640px) {
    .motor-contact-page__field--group {
        grid-template-columns: 2fr 1fr;
    }
}

.motor-contact-page__submit {
    border: 0;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 22px;
    cursor: pointer;
}

.motor-contact-page__submit:hover {
    background: #dc2626;
}

.motor-contact-page__aside {
    display: grid;
    gap: 12px;
}

.motor-contact-page__card {
    border-radius: 16px;
    outline: 1px solid #e5e7eb;
    outline-offset: -1px;
    background: #fff;
    padding: 16px;
}

.motor-contact-page__card h2 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
}

.motor-contact-page__card p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    word-break: break-word;
}

.motor-contact-page__card a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.motor-contact-page__hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 640px) {
    .motor-contact-page {
        padding: 20px 16px 48px;
    }
}
