/* ============================================================
   CONTACT PAGE — Fidelis Logistics Solutions
   ============================================================ */

/* ===== Hero ===== */
.contact-hero {
  background: linear-gradient(#f7f7f8, #ffffff);
  text-align: center;
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--fls-red, #c61a1a);
}

.contact-title {
  font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--fls-gray-900, #1d1f23);
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #374151;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.45;
}

/* ===== Section Layout ===== */
.contact-section {
  background: #f3f4f6;
  padding: 3rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact Form ===== */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: #1f2937;
}

label input,
textarea {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

label input:focus,
textarea:focus {
  border-color: var(--fls-red, #c61a1a);
  box-shadow: 0 0 0 3px rgba(198, 26, 26, 0.15);
  outline: none;
}

textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-actions .btn {
  min-width: 140px;
}

/* ===== Interest Fieldset ===== */
.form-fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1rem 0.75rem;
  background: #fff;
  margin-bottom: 1rem;
}

.form-legend {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.6rem 1rem;
}

@media (max-width: 720px) {
  .checks-grid {
    grid-template-columns: 1fr;
  }
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0.6rem;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  background: #fafbfc;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check:hover {
  border-color: var(--fls-red, #c61a1a);
  background: #fff;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--fls-red, #c61a1a);
}

.check span {
  color: #1f2937;
}

.check-group {
  grid-column: 1 / -1;
  font-weight: 700;
  color: #374151;
  border-top: 1px dashed #e5e7eb;
  padding-top: 0.6rem;
  margin-top: 0.2rem;
}

.check--child {
  padding-left: 1.7rem;
  position: relative;
}

.check--child::before {
  content: "↳";
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  color: #9ca3af;
}

.check--other {
  grid-column: 1 / auto;
}

.other-input {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: #fff;
  width: 100%;
  display: none;
  margin-top: 0.3rem;
}

/* ===== Contact Info Card ===== */
.contact-info {
  background: #fff;
  border: 2px solid var(--fls-red, #c61a1a);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #111827;
}

.contact-info p {
  margin: 0.4rem 0;
  color: #1f2937;
  line-height: 1.45;
}

.contact-info a {
  color: var(--fls-red, #c61a1a);
  text-decoration: none;
  font-weight: 600;
}

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

/* ===== Responsive Tweaks ===== */
@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem;
  }

  .contact-title {
    font-size: 1.9rem;
  }

  .form-row {
    flex-direction: column;
  }
}

