/* =====================================================
   DRP Property Investments – contacts.css (redesigned)
   ===================================================== */

/* ---- CONTACT HERO ---- */
.contact-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  overflow: hidden;
  padding-top: 90px;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/hero-bg.png') center/cover no-repeat;
  opacity: .12;
}
.contact-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem 3.5rem;
  text-align: center;
}
.contact-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.contact-hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.87;
}

/* Blue strip */
.contact-hero-accent {
  position: relative; z-index: 2;
  height: 6px;
  background: var(--blue);
}

/* ---- CONTACT MAIN ---- */
.contact-main {
  padding: 7rem 0 8rem;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}
.info-card {
  background: var(--white);
  padding: 2rem 1.8rem;
  transition: var(--transition);
  border-left: 4px solid var(--blue);
}
.info-card:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.info-icon {
  width: 46px; height: 46px;
  background: rgba(0,105,192,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.info-icon i { font-size: 1.2rem; color: var(--blue); }
.info-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.info-card p, .info-card a {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.info-card a:hover { color: var(--blue); }

/* ---- CONTACT FORM ---- */
.form-container {
  background: var(--white);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.05);
}
.form-container h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .8rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.form-container p { color: var(--text-mid); margin-bottom: 2.5rem; font-size: .92rem; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.form-group { display: flex; flex-direction: column; gap: .55rem; }
.form-group.full { grid-column: span 2; }

label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  padding: .95rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--light);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  transition: var(--transition);
  border-radius: 0;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,105,192,.1);
}
textarea { resize: vertical; min-height: 150px; }

.form-btn {
  background: var(--blue);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
}
.form-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,105,192,.3); }

/* ---- MAP SECTION ---- */
.map-section {
  padding: 0 0 7rem;
}
.map-wrap {
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 460px;
  border-top: 4px solid var(--blue);
}
.map-wrap iframe { width: 100%; height: 100%; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-info-cards { flex-direction: row; flex-wrap: wrap; }
  .info-card { flex: 1; min-width: 200px; }
}
@media (max-width: 768px) {
  .form-container { padding: 2rem 1.5rem; }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .contact-info-cards { flex-direction: column; }
}
