/* Contact Us page styles - scoped and minimal to avoid overriding base.css */
:root {
  --am-ivory: #f7f5ef;
  --am-gold: #c9a75b;
  --am-midnight: #0f1b2d;
  --am-graphite: #1f2937;
  --am-amber: #f1c27d;
  --am-text: #141414;
  --am-muted: #6b7280;
  --am-border: #e5e7eb;
}

.contact-page {
  background: var(--am-ivory);
  color: var(--am-text);
}

.am-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.am-section {
  padding: 3.5rem 0;
}

.am-section--intro {
  background: linear-gradient(180deg, rgba(15,27,45,0.9), rgba(15,27,45,0.6)), var(--am-ivory);
  color: #fff;
}
.am-section--intro .am-heading-xl { color: #fff; }
.am-section--intro .am-lead { color: #e8edf6; max-width: 60ch; }

.am-heading-xl { font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem); line-height: 1.15; letter-spacing: 0.2px; }
.am-heading-lg { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); margin-bottom: 1rem; }
.am-heading-md { font-size: 1.125rem; margin-bottom: 0.5rem; }
.am-lead { font-size: 1.125rem; margin-top: 0.75rem; }

.am-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

/* three cards on desktop */
.am-section--cards .am-card { grid-column: span 4; }
.am-section--partners .am-card { grid-column: span 6; }

@media (max-width: 960px) {
  .am-section--cards .am-card { grid-column: span 6; }
  .am-section--partners .am-card { grid-column: span 12; }
}
@media (max-width: 640px) {
  .am-section--cards .am-card { grid-column: span 12; }
}

.am-card {
  background: #fff;
  border: 1px solid var(--am-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.am-address p { margin: 0.25rem 0; }
.am-note { color: var(--am-muted); font-size: 0.95rem; }

.am-hours { list-style: none; padding: 0; margin: 0 0 0.5rem 0; }
.am-hours li { padding: 0.25rem 0; border-bottom: 1px dashed var(--am-border); }
.am-hours li:last-child { border-bottom: 0; }

/* FAQ */
.am-faq details {
  border: 1px solid var(--am-border);
  border-radius: 12px;
  background: #fff;
  padding: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}
.am-faq summary {
  cursor: pointer;
  padding: 0.75rem 0.25rem;
  font-weight: 600;
  outline: none;
}
.am-faq summary::-webkit-details-marker { display: none; }
.am-faq details[open] summary { color: var(--am-midnight); }
.am-faq__content { color: var(--am-text); padding: 0.5rem 0 0.75rem; }

/* Forms */
.am-form__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.am-form__field { grid-column: span 6; display: flex; flex-direction: column; }
.am-form__field--full { grid-column: span 12; }
.am-form__field--hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.am-form label { font-weight: 600; margin-bottom: 0.35rem; }
.am-form input[type="text"],
.am-form input[type="email"],
.am-form input[type="tel"],
.am-form textarea {
  border: 1px solid var(--am-border);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  color: var(--am-text);
}
.am-form textarea { resize: vertical; }
.am-form input:focus, .am-form textarea:focus { outline: 2px solid var(--am-gold); outline-offset: 2px; }

.am-form__actions { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }
.am-status { min-height: 1.25rem; color: var(--am-midnight); }

.am-checkbox { display: flex; align-items: flex-start; gap: 0.5rem; }
.am-checkbox input { margin-top: 0.25rem; }

/* Inline newsletter */
.am-form--inline .am-form__inline { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.am-form--inline input[type="email"] { min-width: 260px; }

/* Buttons */
.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease;
}
.am-btn:active { transform: translateY(1px); }
.am-btn--primary { background: var(--am-gold); color: #0b1020; box-shadow: 0 6px 14px rgba(201,167,91,.3); }
.am-btn--primary:hover { box-shadow: 0 10px 20px rgba(201,167,91,.35); }
.am-btn--secondary { background: var(--am-midnight); color: #fff; }
.am-btn--secondary:hover { background: #132641; }

/* Social links */
.am-social {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  padding: 0; margin: 0;
}
.am-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--am-border);
  color: var(--am-graphite);
  transition: background .2s ease, color .2s ease, transform .06s ease;
}
.am-social a:hover { background: var(--am-gold); color: #0b1020; transform: translateY(-1px); }

/* Utility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Spacing tweaks */
.am-section--newsletter { background: #fff; border-top: 1px solid var(--am-border); border-bottom: 1px solid var(--am-border); }
