@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

.fm-contact-container {
    font-family: 'Montserrat', sans-serif;
    max-width: 1080px;
    margin: 0 auto;
    padding: 60px 20px 100px;
    color: #ccc;
    width: 100%;
}

.fm-contact-container * {
    box-sizing: border-box;
}

.fm-contact-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
}

.fm-contact-subtitle {
    text-align: center;
    font-size: 16px;
    margin-bottom: 50px;
    color: #a9b4bd;
    line-height: 1.6;
}

.fm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.fm-contact-form-wrapper {
    background: #1e2328;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #2a2a2a;
}

.fm-form-group {
    margin-bottom: 22px;
}

.fm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.fm-form-group input,
.fm-form-group textarea {
    width: 100%;
    background: #161b1f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.fm-form-group input:focus,
.fm-form-group textarea:focus {
    outline: none;
    border-color: #ffdd44;
    box-shadow: 0 0 0 2px rgba(255, 221, 68, 0.15);
}

.fm-btn-submit {
    background: #ffdd44;
    color: #161b1f;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s, transform 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.fm-btn-submit:hover {
    background: #e6c73d;
    transform: translateY(-2px);
}

.fm-contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fm-info-card {
    background: #1e2328;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.3s;
}

.fm-info-card:hover {
    border-color: rgba(255, 221, 68, 0.4);
}

.fm-info-icon {
    width: 52px;
    height: 52px;
    background: #161b1f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #2a2a2a;
}

.fm-info-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.fm-info-content p {
    margin: 0 0 14px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #a9b4bd;
}

.fm-info-content a {
    color: #ffdd44;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: color 0.2s;
}

.fm-info-content a:hover {
    color: #fff;
}

.fm-alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.fm-alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.fm-alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

@media (max-width: 850px) {
    .fm-contact-container {
        padding: 40px 10px 60px;
    }

    .fm-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fm-contact-form-wrapper {
        padding: 20px 16px;
    }

    .fm-info-card {
        padding: 20px 16px;
        gap: 14px;
    }

    .fm-contact-title {
        font-size: 28px;
    }

    .fm-contact-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
}