/* =============================================
   CONTACT PAGE — page-specific styles
   ============================================= */

/* ===== HERO ===== */
.contact-hero {
  background: var(--gradient);
  padding: 80px 28px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.contact-hero-heading {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 18px 0 18px;
}

.contact-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.68;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 28px 96px;
  background: var(--bg-alt);
}

.contact-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: flex-start;
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form-group {
  margin-bottom: 22px;
}

.contact-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 90, 43, 0.1);
}

/* THE TOPIC SELECT.
   The site already has a .select-wrap in styles.css, but it is built for the
   dark CTA band on the home page - white text on translucent white. Dropped
   onto this light form it reads as a mistake. Same chevron, same geometry,
   this page's colours. */
.contact-select-wrap {
  position: relative;
}

.contact-form-group select {
  /* Room on the right for the chevron, so a long option never runs under it. */
  padding-right: 44px;
  cursor: pointer;
  -webkit-appearance: none;
}

.contact-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.contact-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.contact-form-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ===== SIDEBAR INFO ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.contact-info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(224, 90, 43, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
  text-decoration: none;
  display: block;
}

a.contact-info-value {
  color: var(--primary);
  font-weight: 600;
}

a.contact-info-value:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-info-block {
    flex: 1 1 240px;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    padding: 64px 20px 56px;
  }

  .contact-section {
    padding: 56px 20px 72px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .contact-info {
    flex-direction: column;
  }
}
