/* 히어로 섹션 */
.hero {
  background: linear-gradient(135deg, #3b5bdb 0%, #2f61ec 50%, #1e40af 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 54px;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.8px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  display: inline-block;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 70px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  min-width: 110px;
}

.badge-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.badge-item:hover .badge-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.badge-text {
  font-size: 15px;
  font-weight: 600;
  color: white;
  opacity: 0.93;
  line-height: 1.5;
  letter-spacing: 0.2px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* 메인 텍스트 섹션 */
.main-text-section {
  padding: 60px 20px;
  text-align: center;
  background: white;
}

#main-text {
  font-size: 17px;
  line-height: 1.9;
  color: #333;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  white-space: pre-line;
}

#main-text::first-line {
  font-weight: 700;
  font-size: 18px;
}

/* 추천 업체 섹션 */
.companies-section {
  padding: 30px 20px 60px 20px;
  margin-top: -60px;
  background: white;
}

.companies-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #2f61ec;
  font-weight: 700;
  text-align: center;
}

.companies-section .container > p {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#companies-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.company-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #2f61ec;
}

.company-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f3f4f6;
}

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

.company-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  padding: 20px 20px 10px;
}

.company-card p {
  font-size: 14px;
  color: #666;
  padding: 0 20px 15px;
  line-height: 1.6;
}

.company-rating {
  font-size: 14px;
  color: #f59e0b;
  padding: 0 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.company-button {
  display: block;
  background: #2f61ec;
  color: white;
  text-align: center;
  padding: 12px 20px;
  margin: 0 20px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.company-button:hover {
  background: #1e40af;
  transform: scale(1.02);
}

/* 평균 이사 금액 / 성수기 섹션 */
.info-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #3b5bdb 0%, #2f61ec 50%, #1e40af 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.info-card {
  background: white;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #2f61ec;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2f61ec;
  margin-bottom: 20px;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.info-card li {
  font-size: 16px;
  color: #333;
  margin: 12px 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card li:before {
  content: "✓";
  color: #2f61ec;
  font-weight: 700;
  margin-right: 10px;
  font-size: 18px;
}

.info-card p {
  font-size: 13px;
  color: #666;
  margin-top: 20px;
  line-height: 1.6;
}

/* 지역 꿀팁 섹션 */
.tips-section {
  padding: 60px 20px;
  background: white;
}

.tips-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #2f61ec;
  font-weight: 700;
  text-align: center;
}

#tips-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tip-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #2f61ec;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(47, 97, 236, 0.15);
}

.tip-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.tip-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* FAQ 섹션 */
.faq-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(63, 91, 219, 0.05) 0%, rgba(47, 97, 236, 0.05) 100%);
}

.faq-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #2f61ec;
  font-weight: 700;
  text-align: center;
}

#faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.faq-item.active {
  box-shadow: 0 4px 16px rgba(47, 97, 236, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #1f2937;
  font-size: 15px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f9fafb;
  color: #2f61ec;
}

.faq-toggle {
  font-size: 20px;
  font-weight: 700;
  color: #2f61ec;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f9fafb;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.faq-notice {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  text-align: center;
}

/* 지역별 링크 섹션 (구 단위) */
.regions-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.regions-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #2f61ec;
  font-weight: 700;
  text-align: center;
}

.districts-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.districts-links a {
  display: inline-block;
  padding: 14px 20px;
  background: white;
  border: 2px solid #2f61ec;
  border-radius: 8px;
  color: #2f61ec;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
}

.districts-links a:hover {
  background: #2f61ec;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 97, 236, 0.2);
}

/* 지역별 링크 섹션 (모든 시) */
.all-regions-section {
  padding: 60px 20px;
  background: #fff5e6;
}

.all-regions-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #ff9800;
  font-weight: 700;
  text-align: center;
}

.all-regions-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.all-regions-links a {
  display: inline-block;
  padding: 14px 20px;
  background: white;
  border: 2px solid #ff9800;
  border-radius: 8px;
  color: #ff9800;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
}

.all-regions-links a:hover {
  background: #ff9800;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
}

/* 푸터 */
footer {
  background: #1f2937;
  color: white;
  padding: 40px 20px;
  text-align: center;
  font-size: 12px;
}

footer p {
  margin: 8px 0;
  opacity: 0.8;
  font-size: 12px;
}

/* 반응형 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .trust-badges {
    gap: 40px;
  }

  .badge-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

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

  .info-card {
    padding: 30px;
  }

  #companies-list {
    grid-template-columns: 1fr;
  }

  .companies-section h2,
  .tips-section h2,
  .faq-section h2 {
    font-size: 24px;
  }
}

/* 헤더 */
header {
  background: white;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}
