/* ================================================
   CONTACT PAGE STYLES  —  extends styles.css
   ================================================ */

/* Keep footer at the bottom when the page is short */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- PAGE BANNER ----
   Same treatment as news.css's banner: margin-top clears the fixed nav
   exactly at its own height, so the dark background starts right at the
   nav's bottom edge instead of showing through its translucent blur. */
.page-banner {
  position: relative;
  background: var(--primary-dark);
  padding: 8rem 3rem 4rem;
  overflow: hidden;
  margin-top: 96px;
}
.page-banner-watermark {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  object-fit: contain;
  opacity: 0.06;
  pointer-events: none;
}
.page-banner .section-label { color: var(--primary-light); }
.page-banner .section-title {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 0;
}
.page-banner .section-title::after { background: var(--primary-light); }

/* ---- CONTACT CHANNELS ---- */
.contact-main {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 4.5rem 3rem 6rem;
}
.contact-intro {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
}
.contact-intro-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 2.8rem 2rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  /* .reveal (styles.css) owns the opacity/transform fade-up and its cubic-bezier —
     repeated here only so border-color and box-shadow also transition on hover
     without the shorthand below dropping reveal's easing on the properties it owns. */
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.3s, box-shadow 0.3s;
}
.contact-card:nth-child(2) { transition-delay: 0.1s; }
a.contact-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}
.contact-card--placeholder { cursor: default; }

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(24,122,125,0.08);
  color: var(--primary);
}
.contact-card-icon svg { width: 26px; height: 26px; }

.contact-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
}
.contact-card-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.contact-card-note {
  font-size: 0.82rem;
  color: var(--grey);
}

/* ---- NAV ACTIVE STATE ---- */
.nav-links a.nav-active {
  opacity: 1;
  color: var(--primary);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .page-banner { padding: 7rem 1.5rem 3rem; }
  .page-banner-watermark { width: 200px; height: 200px; right: 1.5rem; }
  .contact-main { padding: 3.5rem 1.5rem 5rem; }
}

@media (max-width: 768px) {
  .page-banner { padding: 6rem 1rem 2.5rem; margin-top: 76px; }
  .page-banner-watermark { display: none; }
  .contact-main { padding: 3rem 1rem 4rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-width: 480px) {
  .contact-card { padding: 2.2rem 1.5rem; }
}
