/* ──────────────────────────────────────────────────────────────
   CONTACT PAGE STYLES
   Inspired by preview (5).html but integrated with So-Rig UI
────────────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 60px 0 80px 0;
  align-items: start;
}

/* ── Header ── */
.contact-page-header {
  padding-top: 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-page-header h1 {
  white-space: nowrap;
}

.contact-page-header h1 span {
  color: var(--blue-600);
}

.contact-page-header .why-choose-lead {
  font-size: 1.15rem;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ── Left side: Info ── */
.contact-info-panel {
  max-width: 440px;
  position: relative;
  padding: 40px;
  border-radius: 0;
  overflow: hidden;
  background: var(--blue-700);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-overlay {
  display: none; /* Removed as requested for fully blue background */
}

.contact-info-content {
  position: relative;
  z-index: 2;
}

.contact-box {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.contact-box h3 {
  color: #fff;
  opacity: 0.8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.contact-box p, 
.contact-box a {
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-box a:hover {
  opacity: 0.8;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social-link:hover {
  background: #fff;
  color: var(--blue-700) !important;
  transform: translateY(-3px);
}

/* ── Right side: Form ── */
.contact-form-card {
  background: #fff;
  padding: 40px;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.contact-form-card h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.contact-form-card p {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* ── CF7 Styling ── */
.wpcf7-form p {
  margin-bottom: 20px;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-text,
.wpcf7-number,
.wpcf7-select,
.wpcf7-textarea,
.wpcf7-date {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--ink-900) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.wpcf7-text:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus,
.wpcf7-date:focus {
  background: #fff !important;
  border-color: var(--blue-600) !important;
  box-shadow: 0 0 0 4px rgba(11, 86, 199, 0.08) !important;
  outline: none !important;
}

.wpcf7-textarea {
  height: 140px !important;
  resize: none !important;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.wpcf7-submit {
  width: 100% !important;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600)) !important;
  color: #fff !important;
  padding: 16px !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 12px rgba(11, 86, 199, 0.15) !important;
}

.wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(11, 86, 199, 0.25) !important;
}

/* ── Map ── */
.contact-map-wrap {
  margin-top: 40px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  line-height: 0;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 480px;
  border: none;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  .contact-info-panel {
    max-width: 100%;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
