/* ============================================================
   CONTACT PAGE — contact-page.css
   Supplements style.css. Variables inherited from :root.
   ============================================================ */

/* Active state for Contact button in nav */
.nav-links a.active-contact {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
}

/* =====================
   PAGE HERO
===================== */
.contact-hero {
  min-height: 50vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 55%, #161410 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  border-bottom: 1px solid #2a2a2a;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      120deg,
      transparent,
      transparent 60px,
      rgba(197,160,89,0.015) 60px,
      rgba(197,160,89,0.015) 61px
    );
  pointer-events: none;
}

.contact-hero::after {
  content: '';
  position: absolute;
  right: 5%;
  bottom: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(197,160,89,0.08);
  pointer-events: none;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(197,160,89,0.055) 0%, transparent 60%);
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  padding: 70px 0 80px;
}

.page-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.contact-hero-title {
  font-size: 60px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-hero-title span {
  font-weight: 600;
  color: var(--gold);
  display: block;
}

.contact-hero-text {
  font-size: 16px;
  color: #bbb;
  line-height: 1.8;
  max-width: 500px;
}

/* =====================
   MAIN CONTACT BODY
===================== */
.contact-main {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

/* =====================
   FORM COLUMN
===================== */
.form-header {
  margin-bottom: 36px;
}

.form-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
}

/* Enquiry Type Pills */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.req {
  color: var(--gold);
}

.enquiry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.enquiry-pill {
  cursor: pointer;
}

.enquiry-pill input[type="radio"] {
  display: none;
}

.enquiry-pill span {
  display: block;
  border: 1px solid #333;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #888;
  text-transform: uppercase;
  transition: all 0.25s;
  user-select: none;
}

.enquiry-pill input[type="radio"]:checked + span {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,160,89,0.07);
}

.enquiry-pill:hover span {
  border-color: #555;
  color: #ccc;
}

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-row .form-group {
  margin-bottom: 24px;
}

/* Inputs */
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a2a;
  color: #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #444;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: rgba(197,160,89,0.04);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-group .checkbox-item {
  border: 1px solid #2a2a2a;
  padding: 8px 14px;
  transition: border-color 0.25s;
}

.checkbox-group .checkbox-item:hover {
  border-color: #555;
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid #444;
  background: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}

.checkbox-item input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 2px solid var(--charcoal);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-item span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  line-height: 1.4;
  transition: color 0.25s;
}

.checkbox-item input[type="checkbox"]:checked ~ span {
  color: var(--gold);
}

/* Architect's Box checkbox — full width */
.architects-box-check {
  border: 1px solid rgba(197,160,89,0.2) !important;
  background: rgba(197,160,89,0.03);
  padding: 14px 16px !important;
  width: 100%;
}

.architects-box-check span {
  font-size: 12px !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  color: #aaa !important;
  line-height: 1.6 !important;
}

/* Submit Button */
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, background 0.4s;
  margin-top: 8px;
}

.form-submit:hover {
  opacity: 0.88;
}

.form-submit:disabled {
  cursor: default;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #444;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.form-privacy i {
  color: #555;
  font-size: 10px;
}

/* =====================
   INFO COLUMN
===================== */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 100px;
}

.info-block {
  padding: 28px 0;
  border-bottom: 1px solid #2a2a2a;
}

.info-block:last-child {
  border-bottom: none;
}

.info-block-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}

/* Contact Channels */
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #2a2a2a;
  text-decoration: none;
  margin-bottom: 10px;
  transition: border-color 0.3s, background 0.3s;
  background: rgba(255,255,255,0.02);
}

.contact-channel:last-child {
  margin-bottom: 0;
}

.contact-channel:hover {
  border-color: var(--gold);
  background: rgba(197,160,89,0.04);
}

.wa-channel {
  border-color: rgba(37,211,102,0.25);
  background: rgba(37,211,102,0.04);
}

.wa-channel:hover {
  border-color: #25D366;
  background: rgba(37,211,102,0.08);
}

.channel-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-channel .channel-icon {
  border-color: rgba(37,211,102,0.3);
}

.channel-icon i {
  color: var(--gold);
  font-size: 15px;
}

.wa-channel .channel-icon i {
  color: #25D366;
  font-size: 18px;
}

.channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
}

.channel-value {
  font-size: 14px;
  color: #ddd;
  font-weight: 500;
}

.channel-note {
  font-size: 11px;
  color: #555;
}

.channel-arrow {
  color: #333;
  font-size: 12px;
  flex-shrink: 0;
  transition: color 0.3s;
}

.contact-channel:hover .channel-arrow {
  color: var(--gold);
}

/* Office Details */
.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.office-detail:last-of-type {
  margin-bottom: 20px;
}

.office-detail > i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.office-name {
  font-size: 13px;
  color: #ddd;
  font-weight: 500;
  margin-bottom: 3px;
}

.office-address {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 180px;
  background: #141414;
  border: 1px dashed #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #333;
}

.map-placeholder i {
  font-size: 28px;
  color: var(--gold);
  opacity: 0.35;
}

.map-placeholder span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a3a3a;
}

.map-note {
  font-size: 10px;
  color: #333;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 0 20px;
}

/* Hours */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #2a2a2a;
  margin-bottom: 14px;
}

.hours-day,
.hours-time {
  padding: 10px 14px;
  font-size: 12px;
  border-bottom: 1px solid #1e1e1e;
}

.hours-day:nth-last-child(2),
.hours-time:last-child {
  border-bottom: none;
}

.hours-day {
  color: #888;
  border-right: 1px solid #2a2a2a;
}

.hours-time {
  color: #ddd;
  font-weight: 500;
}

.hours-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #555;
  line-height: 1.6;
}

.hours-note i {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 2px;
}

/* Architect's Box Promo */
.architects-box-promo {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(197,160,89,0.2);
  background: rgba(197,160,89,0.04);
  padding: 20px;
  margin-top: 20px;
}

.box-promo-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197,160,89,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.box-promo-icon i {
  color: var(--gold);
  font-size: 16px;
}

.box-promo-title {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 600;
}

.box-promo-text {
  font-size: 12px;
  color: #888;
  line-height: 1.65;
}

/* =====================
   TABLET — 768px to 1024px
===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  .contact-hero-title {
    font-size: 44px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info-col {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================
   MOBILE — up to 767px
===================== */
@media (max-width: 767px) {

  /* Hero */
  .contact-hero {
    min-height: auto;
    padding-top: 90px;
  }

  .contact-hero-content {
    padding: 50px 0 60px;
  }

  .contact-hero-title {
    font-size: 36px;
  }

  .contact-hero-text {
    font-size: 14px;
  }

  /* Main */
  .contact-main {
    padding: 50px 0 70px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-col {
    position: static;
  }

  /* Form */
  .form-title {
    font-size: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .enquiry-pills {
    gap: 6px;
  }

  .enquiry-pill span {
    font-size: 11px;
    padding: 7px 12px;
  }

  .checkbox-group {
    gap: 6px;
  }

  .checkbox-group .checkbox-item {
    padding: 7px 10px;
  }

  .form-submit {
    padding: 14px 20px;
    font-size: 12px;
  }

  /* Info */
  .contact-channel {
    padding: 12px 14px;
  }

  .channel-value {
    font-size: 13px;
  }

  .map-placeholder {
    height: 150px;
  }

  .hours-day,
  .hours-time {
    font-size: 11px;
    padding: 9px 10px;
  }

  .architects-box-promo {
    flex-direction: column;
    gap: 12px;
  }
}

/* =====================
   GOOGLE MAP EMBED
===================== */
.map-embed-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  margin-top: 4px;
}

.map-embed-wrap iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
  filter: grayscale(30%) brightness(0.85);
  transition: filter 0.3s;
}

.map-embed-wrap:hover iframe {
  filter: grayscale(0%) brightness(1);
}
