/* =========================================================
   HAES CONTACT PAGE — SECRETARIAT & RESPONSIVE MAP
   ========================================================= */
.haes-contact-page {
  width: 100%;
  overflow-x: clip;
}

/* ---------- Hero Banner ---------- */
.contact-hero {
  position: relative;
  min-height: clamp(220px, 28vw, 320px);
  display: flex;
  align-items: flex-end;
  background: #0f1c33;
  border-bottom: 3px solid #c9a227;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.02);
}

.contact-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 28, 51, 0.92) 0%,
      rgba(15, 28, 51, 0.72) 55%,
      rgba(15, 28, 51, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 28, 51, 0.2) 0%,
      rgba(15, 28, 51, 0.82) 100%
    );
  z-index: 1;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.25rem) 1.5rem;
}

.contact-hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f0cf65;
  margin-bottom: 0.4rem;
}

.contact-hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 0.85rem;
}

.contact-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: #14213d;
  color: #ffffff;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(201, 162, 39, 0.5);
}

.contact-breadcrumb a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-breadcrumb a:hover {
  color: #f0cf65;
}

.contact-sep {
  color: rgba(255, 255, 255, 0.5);
}

.contact-current {
  color: #f0cf65;
  font-weight: 700;
}

/* ---------- Main Section & Soft Airy Light Glows ---------- */
.contact-section {
  position: relative;
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
  background: linear-gradient(180deg, #faf9f6 0%, #f4f6fa 50%, #f9f7f2 100%);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
  opacity: 0.34;
  z-index: 0;
}

.contact-glow--gold {
  top: 6%;
  right: 8%;
  width: 380px;
  height: 380px;
  background: rgba(201, 162, 39, 0.22);
}

.contact-glow--terracotta {
  bottom: 14%;
  left: -4%;
  width: 400px;
  height: 400px;
  background: rgba(201, 100, 73, 0.18);
}

.contact-glow--navy {
  bottom: -6%;
  right: 24%;
  width: 340px;
  height: 340px;
  background: rgba(56, 189, 248, 0.16);
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

/* ---------- Secretariat Header ---------- */
.contact-header {
  max-width: 780px;
  margin-bottom: clamp(2rem, 3.8vw, 3rem);
}

.contact-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #9f7910;
  background: rgba(201, 162, 39, 0.14);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.contact-heading {
  font-size: clamp(1.75rem, 2vw, 2.45rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.18;
  margin: 0 0 0.55rem;
}

.contact-lead {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  color: #475569;
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
}

.contact-divider {
  width: 72px;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
  margin-top: 0.95rem;
}

/* ---------- 4 Contact Info Cards ---------- */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-top: 4px solid #c9a227;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card--terracotta {
  border-top-color: #c96449;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20, 33, 61, 0.09);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.14);
  color: #9f7910;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-card-icon--terracotta {
  background: rgba(201, 100, 73, 0.13);
  color: #c96449;
}

.contact-info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #14213d;
  margin: 0;
}

.contact-info-card p,
.contact-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.contact-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #14213d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card-link:hover {
  color: #c96449;
}

.contact-phone-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-sublabel {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
}

.contact-phone-primary {
  font-size: 1.02rem;
  font-weight: 800;
  color: #14213d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone-primary:hover {
  color: #c96449;
}

.contact-phone-secondary {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone-secondary:hover {
  color: #c96449;
}

.contact-email-link {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 700;
  color: #14213d;
  text-decoration: none;
  word-break: break-word;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.12);
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-email-link:hover {
  background: rgba(201, 162, 39, 0.24);
  color: #0f1c33;
}

.contact-hours-main {
  font-size: 0.92rem;
  color: #1e293b;
  line-height: 1.55;
}

.contact-closed-note {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c96449;
}

/* ---------- Map & Inquiry Form Workspace ---------- */
.contact-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  scroll-margin-top: 110px;
}

.contact-map-panel,
.contact-form-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.05);
}

.panel-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.panel-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9f7910;
  margin-bottom: 0.25rem;
}

.contact-map-panel h3,
.contact-form-panel h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #14213d;
  margin: 0;
}

.panel-subtext {
  font-size: 0.9rem;
  color: #526071;
  line-height: 1.65;
  margin: 0.55rem 0 1.35rem;
}

.map-external-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #14213d;
  background: rgba(201, 162, 39, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.45);
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.map-external-btn:hover {
  background: #14213d;
  color: #ffffff;
}

.map-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 61, 0.12);
  background: #eef2f6;
}

.map-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-address-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(20, 33, 61, 0.08);
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.55;
}

.map-address-footer i {
  color: #c96449;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ---------- Inquiry Form ---------- */
.contact-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact-alert--success {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #14532d;
}

.contact-alert--success a {
  color: #14213d;
  font-weight: 700;
}

.contact-alert--error {
  background: rgba(201, 100, 73, 0.12);
  border: 1px solid rgba(201, 100, 73, 0.4);
  color: #7c2d12;
}

.haes-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #14213d;
}

.form-group label span {
  color: #c96449;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  color: #14213d;
  background: #fbfaf7;
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: 10px;
  padding: 0.68rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-submit-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #14213d;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.78rem 1.5rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.14);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.contact-submit-btn:hover {
  background: #c9a227;
  color: #0f1c33;
  transform: translateY(-2px);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1100px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-cards-grid,
  .form-row-two {
    grid-template-columns: 1fr;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }
}