/* =========================================================
   CONTACT PAGE — Specific Styles (Gold Theme)
   ========================================================= */

/* ---------- Nav gold tones ---------- */
.gold-nav {
  box-shadow: 0 0 30px rgba(232, 150, 60, 0.1);
}
.gold-nav .nav-links a:hover {
  color: var(--green-primary);
}
.gold-cta {
  background: var(--green-primary);
  color: var(--green-on-primary);
  box-shadow: 0 0 15px var(--green-glow);
}
.gold-cta:hover {
  box-shadow: 0 0 25px var(--green-glow-hover);
}

.gold-icon {
  color: var(--green-primary);
}

/* ---------- Page layout (no top padding — map is full bleed) ---------- */
.contact-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

/* ---------- MAP SECTION ---------- */
.map-section {
  position: relative;
  height: 530px;
  min-height: 500px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-top: 96px;
}

.map-bg {
  position: absolute;
  inset: 0;
}

.map-bg-img {
  position: absolute;
  inset: 0;
}

.map-overlay-multiply {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 21, 0.3);
  mix-blend-mode: multiply;
}

.map-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--surface) 0%,
    transparent 70%,
    rgba(18, 20, 21, 0.15) 100%
  );
}

/* Floating Location Card */
.location-card {
  position: absolute;
  bottom: 40px;
  left: 96px;
  width: 480px;
  z-index: 10;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.grid-texture-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  border-radius: inherit;
}

.location-content {
  position: relative;
  z-index: 1;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.location-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(232, 150, 60, 0.2);
  border: 1px solid rgba(232, 150, 60, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.location-icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--green-primary);
  filter: blur(8px);
  opacity: 0.3;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.location-address {
  color: var(--on-surface-variant);
  margin-bottom: 24px;
  line-height: 1.8;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  color: inherit;
}

.detail-icon {
  opacity: 0.7;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.detail-row:hover .detail-icon {
  opacity: 1;
}

.detail-text {
  color: var(--on-surface);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.detail-row:hover .detail-text {
  color: var(--green-primary);
}

/* ---------- FORM SECTION ---------- */
.form-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 40px 80px;
  position: relative;
  z-index: 1;
  background: var(--surface);
}

.form-container {
  width: 100%;
  max-width: 672px;
}

.form-heading {
  margin-bottom: 48px;
}

.form-eyebrow {
  display: block;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.form-title {
  margin-bottom: 24px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.form-desc {
  max-width: 100%;
}

/* ---------- Form Fields ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-field {
  position: relative;
  background: var(--surface-low);
  border: 1px solid rgba(77, 70, 53, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.5);
}

.form-field:focus-within {
  border-color: rgba(232, 150, 60, 0.8);
  box-shadow:
    inset 0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(232, 150, 60, 0.15);
}

.field-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(232, 150, 60, 0.8),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.form-field:focus-within .field-accent-bar {
  opacity: 1;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--on-surface-variant);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  cursor: pointer;
}

.field-label-icon {
  font-size: 16px;
}

.field-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--on-surface);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  padding: 8px 0 0;
  resize: none;
  box-shadow: none;
}

.field-input::placeholder {
  color: rgba(208, 197, 175, 0.3);
}

.field-input:focus {
  outline: none;
  box-shadow: none;
}

/* ---------- Submit Button ---------- */
.submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--green-primary-container);
  color: var(--green-on-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  box-shadow: 0 10px 30px rgba(232, 150, 60, 0.2);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(232, 150, 60, 0.4);
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-label {
  position: relative;
  z-index: 1;
}

.btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}
.submit-btn:hover .btn-arrow {
  transform: translateX(8px);
}

.btn-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: none;
}
.submit-btn:hover .btn-shimmer {
  animation: shimmer 1.5s infinite;
}

/* ---------- Toast ---------- */
.form-toast {
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s,
    transform 0.4s;
  text-align: center;
}
.form-toast.success {
  background: rgba(232, 150, 60, 0.15);
  color: #e8963c;
  border: 1px solid rgba(232, 150, 60, 0.3);
}
.form-toast.error {
  background: rgba(255, 100, 100, 0.15);
  color: #ff7070;
  border: 1px solid rgba(255, 100, 100, 0.3);
}

/* ---------- Encrypted label ---------- */
.encrypted-label {
  text-align: center;
  color: rgba(208, 197, 175, 0.5);
  letter-spacing: 0.1em;
}

/* ---------- Footer green overrides ---------- */
footer .footer-nav-col a:hover {
  color: var(--green-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .location-card {
    left: 24px;
    right: 24px;
    width: auto;
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .map-section {
    height: auto;
    min-height: 420px;
    margin-top: 80px;
  }
  .location-card {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    border-radius: 0;
    margin: 0;
  }
  .map-section {
    height: 280px;
  }
  .form-section {
    padding: 40px 20px;
  }
}
