/* ============================================
   CONTACT PAGE — PDDRCS Design
   ============================================ */

.contact-hero-bg {
    background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&q=80');
}

.contact-channel {
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(229, 234, 242, 1);
    box-shadow: 0 4px 24px rgba(0, 35, 102, 0.07);
    border-top: 3px solid #1A5BC4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-channel:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 35, 102, 0.12);
}
.contact-channel[data-accent="red"]  { border-top-color: #CE1126; }
.contact-channel[data-accent="gold"] { border-top-color: #F7D417; }
.contact-channel[data-accent="blue"] { border-top-color: #003DA5; }

.contact-channel .ch-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(26, 91, 196, 0.12), rgba(0, 61, 165, 0.04));
    color: #003DA5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.contact-channel[data-accent="red"]  .ch-icon { background: linear-gradient(135deg, rgba(206, 17, 38, 0.12), rgba(206, 17, 38, 0.02)); color: #CE1126; }
.contact-channel[data-accent="gold"] .ch-icon { background: linear-gradient(135deg, rgba(247, 212, 23, 0.14), rgba(247, 212, 23, 0.02)); color: #B08E00; }
.contact-channel[data-accent="blue"] .ch-icon { background: linear-gradient(135deg, rgba(0, 61, 165, 0.12), rgba(0, 35, 102, 0.04)); color: #003DA5; }

/* Form */
.form-container {
    background: #ffffff;
    border: 1px solid rgba(229, 234, 242, 1);
    border-top: 3px solid rgba(247, 212, 23, 0.6);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 35, 102, 0.08);
}
@media (min-width: 768px) {
    .form-container { padding: 3rem; }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-error {
    display: none;
    color: #E74C3C;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-input { border-color: #E74C3C; }

.form-success {
    display: none;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.02));
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 1rem;
    color: #1E8449;
    text-align: center;
}
.form-success.visible { display: block; }

.file-upload {
    border: 2px dashed rgba(26, 91, 196, 0.35);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    background: rgba(26, 91, 196, 0.02);
    transition: all 0.3s;
    cursor: pointer;
}
.file-upload:hover {
    background: rgba(26, 91, 196, 0.06);
    border-color: #1A5BC4;
}

/* Map placeholder — PDDRCS blue palette */
.map-placeholder {
    background: linear-gradient(135deg, #E8F0FE, #FAFBFC);
    border-radius: 1.5rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 91, 196, 0.18);
}
.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 91, 196, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 91, 196, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
}
