/* ========================================
   서비스문의 페이지 스타일
   ======================================== */

/* 링크/버튼 클릭 시 파란색 아웃라인 제거 */
*, *:before, *:after {
  -webkit-tap-highlight-color: transparent !important;
}

a, button, input, select, textarea, *:focus {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* 서브 비주얼 */
.sub-visual {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-top: 100px;
}

.sub-visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sub-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: #fff;
}

.sub-visual-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.sub-visual-desc {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
}

/* 문의 섹션 */
.inquiry-section {
  padding: 60px 20px 150px;
  background: #f8f9fa;
}

.inquiry-container {
  max-width: 800px;
  margin: 0 auto;
}

/* 전화 상담 박스 */
.inquiry-phone-box {
  display: flex;
  align-items: center;
  gap: 25px;
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  padding: 35px 40px;
  border-radius: 16px;
  margin-bottom: 40px;
  color: #fff;
}

.phone-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-icon i {
  font-size: 36px;
  color: #fff;
}

.phone-info {
  flex: 1;
}

.phone-label {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.phone-number {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.phone-number:hover {
  text-decoration: underline;
}

.phone-time {
  font-size: 14px;
  opacity: 0.75;
}

/* 상담 신청 폼 박스 */
.inquiry-form-box {
  background: #fff;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-title i {
  color: #667eea;
}

.form-desc {
  font-size: 15px;
  color: #777;
  margin-bottom: 40px;
}

/* 폼 스타일 */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.required {
  color: #e74c3c;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #aaa;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

/* 전화번호 입력 */
.phone-inputs {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 12px;
}

.phone-select {
  padding-right: 35px;
  background-position: right 12px center;
}

/* 체크박스 */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #667eea;
}

.checkbox-text {
  font-size: 14px;
  color: #555;
}

.privacy-btn {
  margin-left: auto;
  padding: 8px 16px;
  font-size: 13px;
  color: #667eea;
  background: transparent;
  border: 1px solid #667eea;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.privacy-btn:hover {
  background: #667eea;
  color: #fff;
}

/* 제출 버튼 */
.submit-btn {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn i {
  font-size: 20px;
}

/* 안내사항 */
.inquiry-notice {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  border-left: 4px solid #667eea;
}

.inquiry-notice h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inquiry-notice h4 i {
  color: #667eea;
}

.inquiry-notice ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inquiry-notice li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.inquiry-notice li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #667eea;
}

.inquiry-notice li:last-child {
  margin-bottom: 0;
}

/* 개인정보처리방침 모달 */
.privacy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.privacy-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
}

.privacy-modal-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e0e0e0;
  color: #333;
}

.privacy-modal-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

.privacy-modal-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.privacy-modal-body p strong {
  color: #333;
}

.privacy-modal-footer {
  padding: 15px 25px;
  border-top: 1px solid #eee;
  text-align: center;
}

.modal-btn {
  padding: 12px 40px;
  background: #667eea;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-btn:hover {
  background: #5a6fd6;
}

/* ========================================
   반응형
   ======================================== */
@media (max-width: 768px) {
  .sub-visual {
    height: 220px;
    margin-top: 80px;
  }

  .sub-visual-title {
    font-size: 32px;
  }

  .sub-visual-desc {
    font-size: 15px;
    padding: 0 20px;
  }

  .inquiry-section {
    padding: 40px 15px 180px;
  }

  .inquiry-phone-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
    gap: 20px;
  }

  .phone-icon {
    width: 70px;
    height: 70px;
  }

  .phone-icon i {
    font-size: 30px;
  }

  .phone-number {
    font-size: 34px;
  }

  .inquiry-form-box {
    padding: 35px 25px;
  }

  .form-title {
    font-size: 22px;
  }

  .phone-inputs {
    grid-template-columns: 90px 1fr 1fr;
    gap: 8px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 14px 16px;
    font-size: 15px;
  }

  .submit-btn {
    padding: 18px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .sub-visual {
    height: 180px;
    margin-top: 70px;
  }

  .sub-visual-title {
    font-size: 26px;
  }

  .sub-visual-desc {
    font-size: 13px;
  }

  .inquiry-section {
    padding: 30px 10px 200px;
  }

  .inquiry-phone-box {
    padding: 25px 20px;
  }

  .phone-number {
    font-size: 28px;
  }

  .inquiry-form-box {
    padding: 30px 20px;
  }

  .form-title {
    font-size: 20px;
  }

  .phone-inputs {
    grid-template-columns: 1fr;
  }

  .form-checkbox {
    flex-wrap: wrap;
  }

  .privacy-btn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .inquiry-notice {
    padding: 25px 20px;
  }

  .inquiry-notice li {
    font-size: 13px;
  }
}
