/* ─── Contact Page Styles ─────────────────────────────────────────────────────
   Styles specific to contact.php.
   Shared design-system components live in general.css.
   Layout utilities (ws-section, ws-section-alt) are in general.css.
─────────────────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════
   CONTACT GRID LAYOUT
══════════════════════════════════════════════════════════════════════ */

.ws-contact-section {
  padding: 80px 0 100px;
}

/* Info sidebar */
.ws-contact-info {
  padding-right: 24px;
}

.ws-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
}

.ws-contact-info-icon {
  width: 48px;
  height: 48px;
  background: #0047BB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.ws-contact-info-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 100%;
  height: 100%;
  border: 2px solid #CB6015;
  z-index: -1;
}

.ws-contact-info-icon i {
  font-size: 1.3rem;
  color: #fff;
}

.ws-contact-info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CB6015;
  display: block;
  margin-bottom: 4px;
}

.ws-contact-info-value {
  font-size: 0.98rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.6;
}

.ws-contact-info-value a {
  color: #1a1a1a;
  transition: color 0.2s;
}

.ws-contact-info-value a:hover {
  color: #0047BB;
}

/* Divider after info items */
.ws-contact-info-divider {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  margin: 8px 0 32px;
}

/* ══════════════════════════════════════════════════════════════════════
   FULL-WIDTH MAP SECTION
══════════════════════════════════════════════════════════════════════ */

.ws-map-fullwidth {
  display: block;
  width: 100%;
  overflow: hidden;
}

/* Label bar above the map */
.ws-map-bar {
  background: #0a0a0a;
  padding: 14px 0;
  border-top: 3px solid #CB6015;
  width: 100%;
}

.ws-map-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ws-map-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-map-label i {
  color: #CB6015;
  font-size: 1rem;
}

.ws-map-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0047BB;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.ws-map-link:hover {
  color: #CB6015;
}

/* The iframe wrapper — full viewport width */
.ws-map-frame {
  display: block;
  width: 100%;
  line-height: 0;
  font-size: 0;
}

.ws-map-frame iframe {
  display: block;
  width: 100% !important;
  min-width: 100%;
  height: 480px;
  border: none;
  filter: grayscale(15%) contrast(1.05) saturate(0.9);
}

@media (max-width: 767px) {
  .ws-map-frame iframe {
    height: 300px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   CONTACT FORM CARD
══════════════════════════════════════════════════════════════════════ */

.ws-contact-form-card {
  background: #fff;
  border-top: 4px solid #CB6015;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.09);
  padding: 44px 44px 48px;
  position: relative;
}

/* Corner accent */
.ws-contact-form-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: #0047BB;
  opacity: 0.05;
  pointer-events: none;
}

/* Form header */
.ws-form-header {
  margin-bottom: 32px;
}

.ws-form-header .ws-eyebrow {
  margin-bottom: 12px;
}

.ws-form-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: #0a0a0a;
  margin: 0;
}

.ws-form-title .accent {
  color: #0047BB;
}

/* ── Form Fields ───────────────────────────────────────────────────── */

.ws-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ws-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.ws-form-group:last-of-type {
  margin-bottom: 0;
}

.ws-form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #3a3a3a;
}

.ws-form-label .optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #75787B;
  margin-left: 4px;
}

.ws-form-control {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: #fafafa;
  border: 1.5px solid #d8d8d8;
  border-radius: 0;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.ws-form-control:focus {
  border-color: #0047BB;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 71, 187, 0.08);
}

.ws-form-control.is-invalid {
  border-color: #dc2626;
}

.ws-form-control::placeholder {
  color: #aaa;
  font-weight: 300;
}

/* Select arrow override */
.ws-form-select-wrap {
  position: relative;
}

.ws-form-select-wrap::after {
  content: '\f282'; /* bi-chevron-down */
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #0047BB;
  font-size: 0.9rem;
  pointer-events: none;
}

textarea.ws-form-control {
  resize: vertical;
  min-height: 130px;
}

/* ── Submit Button ──────────────────────────────────────────────────── */

.ws-form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ws-btn-submit {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #CB6015;
  border: 2px solid #CB6015;
  border-radius: 0;
  padding: 14px 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.ws-btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.ws-btn-submit:hover::before {
  transform: translateX(0);
}

.ws-btn-submit:hover {
  background: #a84e10;
  border-color: #a84e10;
  transform: translateY(-1px);
}

.ws-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ws-btn-submit .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ws-spin 0.7s linear infinite;
}

.ws-btn-submit.loading .btn-text { display: none; }
.ws-btn-submit.loading .btn-spinner { display: block; }

@keyframes ws-spin {
  to { transform: rotate(360deg); }
}

/* ── Feedback Messages ──────────────────────────────────────────────── */

.ws-form-feedback {
  display: none;
  padding: 14px 20px;
  margin-top: 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  border-left: 4px solid transparent;
}

.ws-form-feedback.success {
  background: #f0faf4;
  border-left-color: #059652;
  color: #1a5c38;
}

.ws-form-feedback.error {
  background: #fef2f2;
  border-left-color: #dc2626;
  color: #991b1b;
}

/* ── Honeypot (visually hidden) ─────────────────────────────────────── */
.ws-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}

/* ══════════════════════════════════════════════════════════════════════
   PRIVACY NOTE
══════════════════════════════════════════════════════════════════════ */

.ws-form-privacy {
  font-size: 0.8rem;
  color: #75787B;
  line-height: 1.6;
  margin-top: 16px;
}

.ws-form-privacy a {
  color: #0047BB;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .ws-contact-info {
    padding-right: 0;
    margin-bottom: 48px;
  }
}

@media (max-width: 767px) {
  .ws-contact-form-card {
    padding: 28px 22px 32px;
  }

  .ws-form-row {
    grid-template-columns: 1fr;
  }

  .ws-contact-map iframe {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .ws-contact-section {
    padding: 56px 0 72px;
  }
}
