.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 14, 17, 0.6);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.contact-overlay.open {
    display: flex;
}

.contact-modal {
    background: #fff;
    border-radius: 18px;
    padding: 40px 36px 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: contactFadeIn 0.25s ease-out;
}

@keyframes contactFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    color: #7A828A;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    font-family: inherit;
}

.contact-close:hover {
    color: #0B0E11;
}

.contact-modal h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #0B0E11;
    margin: 0 0 6px;
}

.contact-modal p {
    font-size: 14.5px;
    color: #566069;
    margin: 0 0 24px;
}

.contact-field {
    margin-bottom: 18px;
}

.contact-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #0B0E11;
    margin-bottom: 5px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #DDE3E6;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    color: #0B0E11;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #0B0E11;
    box-shadow: 0 0 0 3px rgba(11, 14, 17, 0.06);
}

.contact-field textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-submit {
    width: 100%;
    background: #0B0E11;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s;
}

.contact-submit:hover {
    transform: translateY(-1px);
}

.contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.contact-status {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.contact-status.success {
    display: block;
    color: #0B7C84;
}

.contact-status.error {
    display: block;
    color: #F2675A;
}

.confirm-icon {
    margin-bottom: 16px;
}

.confirm-btn {
    background: #0B0E11;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 40px;
    font-size: 15.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s;
}

.confirm-btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 550px) {
    .contact-overlay {
        padding: 16px;
        align-items: flex-end;
    }

    .contact-modal {
        padding: 32px 24px 28px;
        border-radius: 18px 18px 0 0;
    }
}
