.contact-section {
    background: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.contact-info,
.contact-form-card {
    background: var(--white);
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-info h2,
.form-head h2,
.contact-success-box h2 {
    margin: 10px 0 12px;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid rgba(17, 24, 39, .07);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    background: #fff7ed;
    box-shadow: 0 16px 40px rgba(17, 24, 39, .08);
}

.contact-card span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--orange);
    color: #fff;
    flex-shrink: 0;
}

.contact-card small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.contact-card strong {
    display: block;
    color: var(--ink);
}

.contact-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
    color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(17, 24, 39, .14);
    border-radius: 16px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}
.hero-auto{
    min-height: 68vh;
}
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-submit {
    justify-content: center;
    width: fit-content;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.form-alert {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    font-size: 15px;
}

.form-alert ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.form-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-success-box {
    text-align: center;
    padding: 24px 10px;
}

.success-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 42px;
    box-shadow: 0 18px 40px rgba(22, 163, 74, .25);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-info,
    .contact-form-card {
        padding: 22px;
        border-radius: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit {
        width: 100%;
    }
}