.section-contacts {
    margin-top: 12rem;
}


.contacts-grid {
    display: grid;
    justify-content: center;
    grid-template-columns: 1.2fr auto 1fr;
    gap: 5rem;

}

.content p {
    font-size: 2.8rem;

}

.contacts-divider {
    background: var(--blue);
    width: 2px;
    height: 300px;
    justify-self: center;
    transform-origin: center;
    transform: scaleY(0);
}


.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-item {
    display: flex;
    flex-direction: column;

}

.button {
    margin-top: 20px;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

.button:hover {
    background: rgba(59, 130, 246, 0.15);
}

.button:active {
    transform: scale(0.97);
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.form-item input,
textarea {
    background: #252525;
    border: none;
    padding: 1rem 0.5rem;
    border-radius: 5px;
    outline: none;
    width: 100%;
    resize: vertical;
    color: #fff;
}

input:focus {
    background: #252525;
    color: #fff;
}

textarea {
    height: 8rem;
}

textarea:focus {
    color: #fff;
}


/* ── Contacts responsive ────────────────────────── */

@media (max-width: 950px) {
    .section-contacts {
        margin-top: 8rem;
    }

    .contacts-grid {
        gap: 3rem;
    }

    .content p {
        font-size: 2.2rem;
    }
}

@media (max-width: 750px) {
    .section-contacts {
        margin-top: 6rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacts-divider {
        width: 80%;
        height: 2px;
        transform: scaleX(0);
        transform-origin: center;
    }

    .content p {
        font-size: 1.6rem;
    }
}

@media (max-width: 500px) {
    .section-contacts {
        margin-top: 4rem;
    }

    .contacts-grid {
        gap: 1.5rem;
    }

    .content p {
        font-size: 1.7rem;
    }

    .form-item input,
    textarea {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }

    textarea {
        height: 6rem;
    }
}