
.stm-contact-wrap {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
    gap: 34px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.stm-contact-form {
    --stm-red: #d71920;
    --stm-red-dark: #b51218;
    --stm-text: #20242a;
    --stm-muted: #667085;
    --stm-border: #e5e7eb;
}

.stm-cf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.stm-cf-full { grid-column: 1 / -1; }

.stm-cf-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--stm-text);
}

.stm-cf-field input[type="text"],
.stm-cf-field input[type="email"],
.stm-cf-field input[type="number"],
.stm-cf-field input[type="file"],
.stm-cf-field textarea {
    width: 100%;
    border: 1px solid var(--stm-border);
    border-radius: 6px;
    background: #fff;
    padding: 12px 14px;
    color: var(--stm-text);
    box-sizing: border-box;
}

.stm-cf-field textarea {
    resize: vertical;
    min-height: 160px;
}

.stm-cf-field input:focus,
.stm-cf-field textarea:focus {
    border-color: var(--stm-red);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(215,25,32,.10);
}

.stm-cf-field small {
    display: block;
    margin-top: 7px;
    color: var(--stm-muted);
}

.stm-cf-gdpr label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.stm-cf-submit {
    background: var(--stm-red);
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
}

.stm-cf-submit:hover { background: var(--stm-red-dark); }

.stm-company-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #d71920;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.stm-company-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #d71920;
    font-weight: 700;
    margin-bottom: 8px;
}

.stm-company-name {
    font-size: 24px;
    line-height: 1.2;
    color: #20242a;
    font-weight: 700;
    margin-bottom: 22px;
}

.stm-company-row {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f1f2;
    color: #667085;
}

.stm-company-row:last-child { border-bottom: 0; }

.stm-company-row strong {
    color: #20242a;
    font-weight: 600;
}

.stm-company-row a {
    color: #d71920;
    text-decoration: none;
}

.stm-company-row a:hover { text-decoration: underline; }

.stm-cf-alert {
    max-width: 1180px;
    margin: 0 auto 20px;
    padding: 12px 15px;
    border-radius: 6px;
}

.stm-cf-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.stm-cf-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.stm-cf-hp {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .stm-contact-wrap {
        grid-template-columns: 1fr;
    }

    .stm-company-card {
        order: 2;
    }
}

@media (max-width: 700px) {
    .stm-cf-grid {
        grid-template-columns: 1fr;
    }

    .stm-cf-full {
        grid-column: auto;
    }

    .stm-company-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}
