/* Page Contact — Safecheck RDC */

.contact-page-hero {
  position: relative;
  background: #1a2b4b;
  overflow: hidden;
  padding: 2.75rem 0;
  min-height: 120px;
  display: flex;
  align-items: center;
}

.contact-hero-shape {
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: var(--green-primary);
  border-radius: 50%;
  pointer-events: none;
}

.contact-page-title {
  position: relative;
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: rgb(255, 255, 255);
  margin: 0;
  line-height: 1.2;
}

.contact-page-content {
  padding: 3.5rem 0 5rem;
  background: var(--white);
}

.contact-intro {
  max-width: 640px;
  margin-bottom: 2.5rem;
  text-align: left;
}

.contact-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.75rem 1.5rem;
  box-shadow: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(153, 194, 33, 0.12);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-info-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.contact-info-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-link:hover {
  color: var(--green-primary);
}

.contact-form-wrap {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: #f8faf3;
  border: 1px solid rgba(153, 194, 33, 0.35);
  border-radius: 12px;
  padding: 2rem 1.75rem;
}

.contact-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 8px;
  border-color: var(--border-light);
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 0.2rem rgba(153, 194, 33, 0.2);
}

.contact-form-feedback {
  font-size: 0.9rem;
  margin-top: 1rem;
  min-height: 1.25rem;
}

.contact-form-feedback.is-success {
  color: var(--green-dark);
  font-weight: 600;
}

.contact-form-feedback.is-error {
  color: #b42318;
  font-weight: 600;
}

.contact-address {
  font-weight: 600;
  color: var(--navy);
}

.contact-map-address {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.contact-map-wrap {
  margin-top: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  background: #eef1e8;
}

.contact-map {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.contact-map-link {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  transition: color 0.2s ease, background 0.2s ease;
}

.contact-map-link:hover {
  color: var(--green-dark);
  background: rgba(153, 194, 33, 0.1);
}

.contact-social-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.contact-social-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.contact-social-btn:hover {
  border-color: var(--green-primary);
  color: var(--green-dark);
  background: rgba(153, 194, 33, 0.1);
  transform: translateY(-2px);
}

.contact-form-title,
.contact-form-subtitle {
  text-align: center;
}

.contact-form .btn-cta {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767.98px) {
  .contact-page-hero {
    padding: 2rem 0;
    min-height: 100px;
  }

  .contact-hero-shape {
    width: 160px;
    height: 160px;
    right: -40px;
    top: -50px;
  }

  .contact-page-content {
    padding: 2.5rem 0 3.5rem;
  }

  .contact-intro {
    margin-bottom: 1.75rem;
    text-align: left;
  }

  .contact-form-wrap {
    padding: 1.5rem 1.15rem;
    border-radius: 10px;
  }

  .contact-form .form-control,
  .contact-form .form-select {
    font-size: 16px;
    min-height: 48px;
  }

  .contact-form textarea.form-control {
    min-height: 140px;
  }

  .contact-form .btn-cta {
    width: 100%;
    min-height: 48px;
  }

  .contact-map {
    height: 220px;
  }

  .contact-map-address {
    font-size: 0.875rem;
    padding: 0 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .contact-form-title {
    font-size: 1.15rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .contact-page-hero {
    padding: 2.35rem 0;
  }

  .contact-page-content {
    padding: 3rem 0 4rem;
  }

  .contact-form-wrap {
    padding: 1.85rem 1.5rem;
  }

  .contact-form .btn-cta {
    width: auto;
    min-height: 46px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .contact-map {
    height: 280px;
  }
}
