/* ═══════════════════════════════════════════════════════════
   contact.css — Page-specific styles for contact.html
   Global styles live in css/style.css
═══════════════════════════════════════════════════════════ */

/* ─── CONTACT LAYOUT ─── */
.contact-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-bottom: 0.5px solid var(--separator);
}

.form-section h2 { margin-bottom: 8px; }
.form-section .body-text-sm { margin-bottom: 40px; }

/* ─── FORM FIELDS ─── */
.field-group { margin-bottom: 18px; }

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--label-secondary);
  margin-bottom: 7px;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: var(--fill-secondary);
  border: 0.5px solid var(--separator-opaque);
  border-radius: var(--r-md);
  padding: 12px 15px;
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--label-primary);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color 0.15s,
    box-shadow 0.2s,
    background 0.15s,
    transform 0.2s var(--spring);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--label-tertiary);
  background: var(--fill-primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.field-textarea {
  resize: vertical;
  min-height: 120px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ─── SUBMIT BUTTON ─── */
.submit-btn {
  width: 100%;
  background: var(--label-primary);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity 0.15s, transform 0.2s var(--spring);
}
.submit-btn:hover  { opacity: 0.82; transform: scale(1.01); }
.submit-btn:active { transform: scale(0.98); }

/* Success message */
.form-success {
  display: none;
  background: var(--accent);
  border-radius: var(--r-md);
  border: 0.5px solid var(--accent-mid);
  padding: 14px 18px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent-text);
  font-weight: 500;
  text-align: center;
}

/* ─── CONTACT INFO COLUMN ─── */
.contact-info-section h3 { margin-bottom: 32px; }

.info-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--separator);
  align-items: flex-start;
  transition: background 0.15s;
}
.info-row:last-of-type { border-bottom: none; }

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--fill-secondary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s var(--spring);
}
.info-row:hover .info-icon {
  background: var(--accent);
  transform: scale(1.08);
}

.info-icon svg {
  width: 18px;
  height: 18px;
  color: var(--label-secondary);
}

.info-key {
  font-size: 12px;
  font-weight: 500;
  color: var(--label-tertiary);
  margin-bottom: 3px;
}

.info-val {
  font-size: 15px;
  color: var(--label-primary);
  line-height: 1.5;
  word-break: break-word; /* Prevent email from overflowing on narrow mobile screens */
}

/* ─── MAP SECTION ─── */
.map-section {
  background: var(--accent);
  padding: 100px 0;
}

.map-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.map-header {
  text-align: center;
  margin-bottom: 60px;
}

.map-header h2  { margin-top: 10px; }
.map-header p   { max-width: 440px; margin: 14px auto 0; }

.map-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.map-wrap svg {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

/* Export pills */
.export-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}

.export-pill {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--r-pill);
  border: 0.5px solid rgba(255, 255, 255, 0.9);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--label-primary);
  backdrop-filter: blur(4px);
  cursor: default;
  transition: background 0.18s, transform 0.2s var(--spring);
}
.export-pill:hover {
  background: var(--fill-primary);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 48px;
  }

  .map-inner  { padding: 0 20px; }
  .map-section { padding: 80px 0; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}
