/* ===== Contact Section ===== */
.contact-section {
  padding: 60px 0 0;
}

.contact-title {
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  color: #212121;
  margin-bottom: 50px;
}

/* ===== Contact Form ===== */
.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: #212121;
  margin-bottom: 8px;
}

.form-label.required::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #e74c3c;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: "Poppins", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  color: #212121;
  background: #fff;
  border: 1px solid rgba(33, 33, 33, 0.3);
  border-radius: 3px;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #363636;
}

.form-input::placeholder {
  color: rgba(33, 33, 33, 0.4);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23212121' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Phone Input Group */
.phone-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-inputs .form-input {
  flex: 1;
}

.phone-separator {
  color: rgba(33, 33, 33, 0.4);
  font-size: 16px;
}

/* Address Input Group */
.address-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Privacy Consent */
.privacy-box {
  border: 1px solid rgba(33, 33, 33, 0.3);
  border-radius: 3px;
  padding: 20px;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(33, 33, 33, 0.7);
}

.privacy-box p {
  margin-bottom: 12px;
}

.privacy-box p:last-child {
  margin-bottom: 0;
}

.privacy-box strong {
  color: #212121;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #212121;
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #363636;
}

/* Submit Button */
.form-submit {
  text-align: center;
  margin-top: 32px;
}

.btn-submit {
  display: inline-block;
  padding: 14px 60px;
  background: #363636;
  color: #fff;
  font-family: "Poppins", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #363636;
  border-radius: 3px;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}

.btn-submit:hover {
  background: #fff;
  color: #363636;
}

/* ===== Navigation Buttons (3-col) ===== */
.nav-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
}

.nav-btn {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 3px;
  border: 2px solid #363636;
  transition:
    background 0.3s,
    color 0.3s;
  cursor: pointer;
}

.btn-filled {
  background: #363636;
  color: #fff;
}

.btn-filled:hover {
  background: #fff;
  color: #363636;
}

.btn-outline {
  background: #fff;
  color: #363636;
}

.btn-outline:hover {
  background: #363636;
  color: #fff;
}

/* ===== Contact Info + Map ===== */
.contact-info-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-title {
  font-size: 48px;
  font-weight: bold;
  color: #212121;
  margin-bottom: 40px;
}

.info-block {
  margin-bottom: 28px;
}

.info-label {
  font-size: 24px;
  font-weight: bold;
  color: #212121;
  margin-bottom: 10px;
}

.info-block p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(33, 33, 33, 0.7);
}

.info-block a {
  color: rgba(33, 33, 33, 0.7);
  transition: color 0.2s;
}

.info-block a:hover {
  color: #212121;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 450px;
  background: #f0f0f0;
  border: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(33, 33, 33, 0.4);
  font-size: 16px;
}

/* ===== Company Image ===== */
.contact-image {
  margin-top: 60px;
}

.contact-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== Responsive (Contact) - Tablet ===== */
@media (max-width: 991px) {
  .contact-title {
    font-size: 36px;
  }

  .info-title {
    font-size: 36px;
  }

  .info-label {
    font-size: 20px;
  }

  .contact-info-map {
    gap: 30px;
  }
}

/* ===== Responsive (Contact) - Mobile ===== */
@media (max-width: 767px) {
  .contact-section {
    padding: 30px 0 0;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .contact-form-wrap {
    max-width: 100%;
  }

  .phone-inputs .form-input {
    min-width: 0;
  }

  .nav-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .contact-info-map {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .info-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .info-label {
    font-size: 18px;
  }

  .map-placeholder {
    height: 300px;
  }

  .contact-image {
    margin-top: 40px;
  }
}
