/* ── Hero ── */
.contact-hero {
    background: linear-gradient(135deg, var(--kgm-green-900) 0%, var(--kgm-green-700) 60%, #2d6a4f 100%);
    padding: 72px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--kgm-gold-300);
    margin-bottom: 16px;
}
.contact-hero h1 { font-size: 42px; font-weight: 900; color: white; margin: 0 0 12px; }
.contact-hero p { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* ── Quick-info strip ── */
.quick-strip { background: white; box-shadow: 0 4px 24px rgba(0,0,0,0.08); position: relative; z-index: 10; margin-top: -1px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.quick-item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-right: 1px solid #f0f0f0; transition: background 0.2s; }
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: var(--kgm-green-50, #f0faf5); }
.quick-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--kgm-green-100); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--kgm-green-600); flex-shrink: 0; }
.quick-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #999; margin-bottom: 3px; }
.quick-value { font-size: 14px; font-weight: 700; color: var(--kgm-green-900); line-height: 1.4; }

/* ── Main layout ── */
.contact-body { padding: 56px 0 72px; background: #f8faf9; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }

/* ── Info card ── */
.info-card { background: white; border-radius: 24px; padding: 32px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.info-card-title { font-size: 18px; font-weight: 800; color: var(--kgm-green-800); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.info-card-title::after { content: ''; flex: 1; height: 2px; background: var(--kgm-green-100); border-radius: 999px; }

.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f5f5f5; align-items: flex-start; }
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--kgm-green-100); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--kgm-green-600); flex-shrink: 0; margin-top: 2px; }
.contact-row-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #aaa; margin-bottom: 4px; }
.contact-row-value { font-size: 14px; color: #333; line-height: 1.6; font-weight: 500; }
.contact-row-value a { color: var(--kgm-green-600); text-decoration: none; font-weight: 600; }
.contact-row-value a:hover { text-decoration: underline; }

/* ── Dept grid ── */
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.dept-item { background: #f8faf9; border-radius: 14px; padding: 12px 14px; border: 1px solid #eef0ee; }
.dept-name { font-size: 11px; font-weight: 700; color: #888; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.dept-phone { font-size: 13px; font-weight: 700; color: var(--kgm-green-700); }

/* ── Social ── */
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; transition: all 0.2s; border: 2px solid #eee; color: #555; }
.social-btn:hover { border-color: var(--kgm-green-500); color: var(--kgm-green-600); background: var(--kgm-green-50, #f0faf5); transform: translateY(-2px); }

/* ── Form card ── */
.form-card { background: white; border-radius: 24px; padding: 36px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.form-card-title { font-size: 18px; font-weight: 800; color: var(--kgm-green-800); margin-bottom: 6px; }
.form-card-sub { font-size: 14px; color: #888; margin-bottom: 28px; }

.field-group { margin-bottom: 18px; }
.field-label { display: block; font-size: 13px; font-weight: 700; color: #444; margin-bottom: 7px; }
.field-label span { color: #e74c3c; margin-left: 2px; }
.field-input {
    width: 100%; padding: 12px 16px; border: 2px solid #e8ecef; border-radius: 12px;
    font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafbfc; box-sizing: border-box;
}
.field-input:focus { border-color: var(--kgm-green-500); box-shadow: 0 0 0 3px rgba(52,168,83,0.12); background: white; }
.field-input::placeholder { color: #bbb; }
textarea.field-input { resize: vertical; min-height: 130px; }
select.field-input { cursor: pointer; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.submit-btn {
    width: 100%; padding: 15px; border: none; border-radius: 14px;
    background: linear-gradient(135deg, var(--kgm-green-700), var(--kgm-green-500));
    color: white; font-size: 16px; font-weight: 800; cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.2s; box-shadow: 0 4px 16px rgba(52,168,83,0.3); margin-top: 8px;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(52,168,83,0.4); }
.submit-btn:active { transform: none; }

/* ── Alert ── */
.alert-success-custom { background: #d4edda; border: 1px solid #b8dfc5; border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: #1a5c35; font-weight: 600; font-size: 14px; }

/* ── Map ── */
.map-section { background: #f8faf9;s }
.map-section-title { font-size: 22px; font-weight: 800; color: var(--kgm-green-800); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.map-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: stretch; }
.route-card { background: white; border-radius: 20px; box-shadow: 0 2px 16px rgba(0,0,0,0.07); overflow: hidden; display: flex; flex-direction: column; }
.route-card-header { background: var(--kgm-green-700); color: white; padding: 14px 18px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.route-img-scroll { overflow-y: auto; flex: 1; max-height: 440px; background: #fff; scroll-behavior: smooth; }
.route-img-scroll::-webkit-scrollbar { width: 4px; }
.route-img-scroll::-webkit-scrollbar-track { background: #f5f5f5; }
.route-img-scroll::-webkit-scrollbar-thumb { background: var(--kgm-green-400); border-radius: 4px; }
.route-img-scroll img { width: 100%; height: auto; display: block; }
.gmap-card { background: white; border-radius: 20px; box-shadow: 0 2px 16px rgba(0,0,0,0.07); overflow: hidden; min-height: 480px; position: relative; }
.gmap-card iframe { width: 100%; height: 100%; border: none; display: block; position: absolute; inset: 0; }
.map-overlay-badge {
    position: absolute; top: 16px; left: 16px; z-index: 10;
    background: white; border-radius: 14px; padding: 10px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--kgm-green-800);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
    .map-grid { grid-template-columns: 1fr; }
    .route-img-scroll { max-height: 320px; }
    .gmap-card { min-height: 320px; }
}
@media (max-width: 640px) {
    .contact-hero h1 { font-size: 28px; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .dept-grid { grid-template-columns: 1fr; }
    .form-card, .info-card { padding: 24px 18px; }
}
@media (max-width: 480px) {
    .quick-grid { grid-template-columns: 1fr; }
    .quick-item { border-right: none; border-bottom: 1px solid #f0f0f0; }
    .quick-item:last-child { border-bottom: none; }
}
