/* ============================================================
   CONTACT PAGE — Page-specific styles
   Requires shared.css to be loaded first.
   Mobile-first, fully responsive.
   ============================================================ */

.contact-main {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
  }
}

.contact-form-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a3d62;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1f1f1f;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

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

.submit-btn {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #0077cc;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.submit-btn:hover { background: #005ea3; }
.submit-btn:disabled { background: #7ab8e8; cursor: not-allowed; }

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #eee;
  line-height: 1.3;
}

.info-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
  overflow-wrap: break-word;
  word-break: break-word;
}

.info-row:last-child { margin-bottom: 0; }

.info-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a3d62;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-top: 0.1rem;
  min-width: 68px;
}

.info-value {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.info-value a { color: #0077cc; text-decoration: none; }
.info-value a:hover { text-decoration: underline; }

.quick-links { display: flex; flex-direction: column; gap: 0.6rem; }

.quick-link-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1.3;
}

.quick-link-btn.blue   { background: #0077cc; color: #fff; }
.quick-link-btn.green  { background: #138808; color: #fff; }
.quick-link-btn.grey   { background: #4a4a4a; color: #fff; }
.quick-link-btn.blue:hover  { background: #005ea3; }
.quick-link-btn.green:hover { background: #0f6606; }
.quick-link-btn.grey:hover  { background: #333; }

.map-section {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.map-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 1rem;
  text-align: center;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 31.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #f0f0f0;
  min-height: 220px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 600px) { .map-container { padding-bottom: 65%; } }
@media (min-width: 601px) and (max-width: 860px) { .map-container { padding-bottom: 45%; } }

@media (max-width: 480px) {
  .contact-form-card { padding: 1.25rem; }
  .contact-form-card h2 { font-size: 1.3rem; }
  .info-card { padding: 1.25rem; }
  .contact-main { padding: 1.5rem 0 2rem; }
  .map-section { margin-bottom: 2rem; }
}
