/* ============ CONTACT PAGE ============ */

:root {
    --color-primary: #2E6F54;
    --color-primary-light: #B7E4C7;
    --color-bg: #FAFAF7;
    --color-surface: #F4EDE4;
    --color-muted: #CBD5C0;
    --color-text: #1E1E1E;
    --color-text-muted: #4A4A4A;
}

/* ============ HERO ============ */

.contact-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1f4d38 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ BODY ============ */

.contact-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

/* ============ LEFT – INFO CARDS ============ */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 6px 18px rgba(46, 111, 84, 0.1);
}

.info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--color-primary-light);
    border-radius: 10px;
    color: var(--color-primary);
}

.info-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 4px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Crisis banner */
.crisis-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff8f0;
    border: 1px solid #f5c77e;
    border-radius: 12px;
    padding: 18px;
    margin-top: 4px;
    color: #7a5a1f;
}

.crisis-banner svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.crisis-banner strong {
    display: block;
    margin-bottom: 4px;
    color: #6b4c14;
}

.crisis-banner p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #7a5a1f;
}

/* ============ RIGHT – FORM ============ */

.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 6px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--color-muted);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: inherit;
    resize: vertical;
    resize: vertical;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 111, 84, 0.12);
}

.form-input::placeholder {
    color: #aaa;
}

.field-error {
    display: block;
    color: #c0392b;
    font-size: 0.82rem;
    margin-top: 4px;
}

/* Send button */
.btn-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 13px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    margin-top: 4px;
}

.btn-send:hover {
    background: #1f4d38;
    box-shadow: 0 6px 16px rgba(46, 111, 84, 0.2);
}

/* Success message */
.success-message {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f5e9;
    color: var(--color-primary);
    border: 1px solid var(--color-primary-light);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============ RESPONSIVE ============ */

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

    .contact-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 60px 16px 40px;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-form-wrapper {
        padding: 24px 18px;
    }

    .btn-send {
        width: 100%;
        justify-content: center;
    }
}
