/* ✅ 메인 타이틀 이미지 */
.main-title {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.main-title img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* ✅ 섹션 타이틀 */
.main-section-title {
  text-align: center;
  font-size: 28px;
  margin: 40px 0 20px;
  color: #333;
  font-weight: bold;
}

/* ✅ 제품 메뉴 그리드 */
.main-menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.main-menu-item {
  width: 200px;
  text-align: center;
  position: relative;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: white;
}

.image-wrapper:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.menu-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(250, 249, 249, 0.5);
  color: rgb(97, 97, 97);
  font-size: 16px;
  padding: 8px 0;
  font-weight: 500;
}

/* ✅ 기술자료 미리보기 */
.faq-preview-box {
  background: #fff;
  padding: 30px 20px;
  margin: 0 auto 60px;
  max-width: 1130px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
}

.faq-preview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.faq-preview-list li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 6px;
}

.faq-preview-list a {
  color: #004a9f;
  text-decoration: none;
  font-weight: 500;
}

.faq-preview-list .faq-date {
  color: #999;
  font-size: 13px;
}

.faq-more-btn {
  text-align: right;
  margin-top: 15px;
}

/* ✅ Q&A 미리보기 (아코디언) */
.qna-preview-box {
  max-width: 1130px;
  margin: 0 auto 60px;
  padding: 0 12px;
}

.qna-item {
  border-bottom: 1px solid #eee;
  background: #fff;
}

.qna-question {
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.qna-question:hover {
  background-color: #f9f9f9;
}

.qna-title {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  display: flex;
  align-items: center;
  text-align: left;
}

.qna-title::before {
  content: 'Q';
  color: #e67e22;
  font-size: 20px;
  margin-right: 12px;
  font-weight: 800;
}

.qna-icon {
  font-size: 14px;
  color: #aaa;
  transition: transform 0.3s;
}

.qna-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fafafa;
}

.qna-content {
  padding: 20px 20px 20px 52px;
  line-height: 1.6;
  color: #555;
  position: relative;
  text-align: left;
}

.qna-content::before {
  content: 'A';
  color: #2980b9;
  font-size: 20px;
  font-weight: 800;
  position: absolute;
  left: 20px;
  top: 18px;
}

.qna-item.active .qna-icon {
  transform: rotate(180deg);
}

.qna-item.active .qna-answer {
  max-height: 10000px;
  transition: max-height 0.5s ease-in;
}

/* ✅ 버튼 스타일 */
.main-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: #004a9f;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

/* ✅ 회사 소개 (현재 미사용 중) */
.company-intro {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.company-intro p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.certifications {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.certifications img {
  height: 60px;
}

/* ===== Contact Us (영업담당) :: 리디자인 ===== */

/* 섹션 하단 여백 살짝 축소 */
.main-section:last-of-type {
  margin-bottom: 40px;
}

/* 2열 카드형 그리드 (모바일 1열 → 태블릿/데스크탑 2열 고정) */
.contact-grid {
  max-width: 1130px;
  margin: 0 auto 48px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1fr;         /* 모바일 1열 */
  gap: 22px 28px;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);   /* 태블릿/데스크탑 2열 */
  }
}

/* 카드 스타일 */
.contact-card {
  display: flex;
  flex-direction: column;   /* 사진 위, 텍스트 아래 */
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* 사진 */
.contact-photo img,
.photo-placeholder {
  width: 92px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  background: #f4f4f4;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

/* 텍스트 */
.contact-text { 
  text-align: center;
  line-height: 1.45;
}
.contact-dept {
  font-size: 13px;
  color: #7a7a7a;
  margin-top: 2px;
}
.contact-name {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 4px;
  letter-spacing: -0.2px;
}
.contact-line {
  font-size: 14px;
  color: #333;
}

/* 그리드/카드 간격을 메인 레이아웃과 조화롭게 */
@media (min-width: 1200px) {
  .contact-grid { gap: 24px 36px; }
  .contact-card { padding: 20px 18px; }
}

/* ===== 메인 타이틀 슬라이더 전용 ===== */
.hero-slider{ position:relative; border-radius:8px; overflow:hidden; box-shadow:0 0 8px rgba(0,0,0,.1); }
.hero-slides{ position:relative; }
.hero-slide{ display:none; }
.hero-slide.is-active{ display:block; }
.hero-slider img{ display:block; width:100%; height:auto; }

/* 좌우 내비 버튼(작게, 중앙정렬) */
.hero-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px; border-radius:18px; border:1px solid #d1d5db;
  background:#fff; color:#333; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  opacity:.9;
}
.hero-nav.prev{ left:8px; }
.hero-nav.next{ right:8px; }

/* 점 내비게이션 */
.hero-dots{
  position:absolute; left:0; right:0; bottom:8px;
  display:flex; gap:6px; justify-content:center;
}
.hero-dot{
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,.6); border:1px solid rgba(0,0,0,.15);
  cursor:pointer;
}
.hero-dot.is-active{ background:#ffffff; }
