﻿/* ============================================
   CONTACT PAGE — redesigned
   ============================================ */

.contact-page {
  padding-top: 22px;
  padding-bottom: 80px;
}



/* ── Page heading ── */
.contact-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ebebeb;
}

.contact-page-head h1 {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin: 0;
  letter-spacing: -0.3px;
}

.contact-page-head p {
  font-size: 14px;
  color: #888888;
  margin: 0;
  max-width: 440px;
  text-align: right;
  line-height: 1.5;
}

/* ── Two-col layout ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin-bottom: 52px;
}

/* ── Form card ── */
.contact-form-card {
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  overflow: hidden;
}

.contact-form-head {
  padding: 26px 30px 22px;
  border-bottom: 1px solid #ebebeb;
  background: #fafafa;
}

.contact-form-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 5px;
}

.contact-form-head p {
  font-size: 13.5px;
  color: #888888;
  margin: 0;
}

.contact-form-body {
  padding: 26px 30px 30px;
}

.contact-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}

.contact-alert.success { background: #edfbf3; color: #186a36; border-color: #b7edcf; }
.contact-alert.error   { background: #fff0f0; color: #9b1c2b; border-color: #fcc; }

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  margin: 0;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  height: 52px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.contact-field textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #111111;
}

.contact-field-full {
  margin-top: 16px;
}

.contact-form-footer {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-form-note {
  font-size: 13px;
  color: #999999;
  margin: 0;
  line-height: 1.5;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: #e8a50f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}

.contact-submit-btn:hover {
  background: #cf9108;
  transform: translateY(-1px);
}

/* ── Sidebar ── */
.contact-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Quick contact card */
.contact-quick-card {
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  overflow: hidden;
}

.contact-quick-head {
  padding: 16px 18px 14px;
  border-bottom: 1px solid #ebebeb;
  background: #fafafa;
}

.contact-quick-head h3 {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 2px;
}

.contact-quick-head p {
  font-size: 12px;
  color: #999999;
  margin: 0;
}

.contact-quick-links {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #222222;
  transition: background 0.15s;
}

.contact-quick-link:hover { background: #f5f5f5; color: #111111; }

.contact-quick-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.contact-quick-link:hover .contact-quick-link-icon {
  background: #e8a50f;
  color: #ffffff;
}

.contact-quick-link-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
}

.contact-quick-link-text small {
  display: block;
  font-size: 12px;
  color: #888888;
  margin-top: 1px;
}

/* Trust card */
.contact-trust-card {
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  overflow: hidden;
}

.contact-trust-card span {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  border-bottom: 1px solid #ebebeb;
}

.contact-trust-card span:last-child { border-bottom: 0; }
.contact-trust-card i { color: #e8a50f; font-size: 16px; }

/* ── Branches ── */
.contact-branches {
  border-top: 1px solid #ebebeb;
  padding-top: 40px;
}

.contact-branches-head {
  margin-bottom: 24px;
}

.contact-branches-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.contact-branches-head p {
  font-size: 14px;
  color: #888888;
  margin: 0;
}

.contact-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact-branch-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 22px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-branch-card:hover {
  border-color: #cccccc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.contact-branch-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #e8a50f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-branch-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 4px 0 0;
  line-height: 1.2;
}

.contact-branch-card p {
  font-size: 13.5px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.contact-branch-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.contact-branch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  background: #f5f5f5;
  color: #333333;
  transition: background 0.15s, color 0.15s;
}

.contact-branch-btn:hover {
  background: #111111;
  color: #ffffff;
}

.contact-branch-btn i { font-size: 13px; }

.contact-branch-btn--map {
  background: #fff8e6;
  color: #c48c00;
}

.contact-branch-btn--map:hover {
  background: #e8a50f;
  color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 300px; gap: 24px; }
}

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .contact-branch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .contact-page { padding-top: 14px; padding-bottom: 52px; }
  .contact-page-head { flex-direction: column; gap: 6px; }
  .contact-page-head h1 { font-size: 22px; }
  .contact-page-head p { text-align: left; }
  .contact-form-head, .contact-form-body { padding: 20px; }
  .contact-field-grid { grid-template-columns: 1fr; }
  .contact-form-footer { flex-direction: column; align-items: stretch; }
  .contact-submit-btn { width: 100%; justify-content: center; }
  .contact-branch-grid { grid-template-columns: 1fr; }
}
