/* Phase 1 — shared page shell helpers */

.page-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #102016;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 29, 20, 0.92), rgba(12, 29, 20, 0.54) 54%, rgba(12, 29, 20, 0.32)),
    var(--page-banner-image, none) center / cover no-repeat;
  z-index: -2;
}

.page-banner__inner {
  width: 100%;
  padding: 120px 0 56px;
}

.page-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9a441;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-banner__eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: currentColor;
}

.page-banner h1 {
  max-width: 860px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 14px;
}

.page-banner p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}

.page-section {
  padding: 72px 0 96px;
  background: #fbfcf8;
  color: #526257;
}

.page-section__lead {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.page-placeholder {
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e9e3;
  box-shadow: 0 16px 42px rgba(20, 41, 30, 0.06);
}

.page-placeholder p {
  margin-bottom: 0;
  line-height: 1.7;
}

.dept-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.dept-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e2e9e3;
  border-radius: 8px;
  color: #16271d;
  font-weight: 700;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.dept-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 92, 75, 0.35);
  box-shadow: 0 16px 36px rgba(20, 41, 30, 0.1);
  color: var(--govity-base, #0b5c4b);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e9e3;
  border-radius: 8px;
}

.contact-card h3 {
  color: #16271d;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
  color: #5f6e65;
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-card a:hover {
  color: var(--govity-base, #0b5c4b);
}

.contact-form-wrap {
  margin-top: 1.5rem;
}

.contact-form-panel {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e2e9e3;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 41, 30, 0.06);
}

.contact-form-panel h2 {
  color: #16271d;
  font-size: 1.55rem;
  font-weight: 900;
  margin: 0 0 0.4rem;
}

.contact-form-lead {
  color: #5f6e65;
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #16271d;
  margin: 0.85rem 0 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cfdcd5;
  border-radius: 6px;
  font: inherit;
  color: #16271d;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

