body {font-family:'Noto Sans KR',sans-serif;}

/* 공통 */
.main-wrap { padding-top: 80px; }
.section { padding: 90px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-kicker { font-size: 14px; color:#666; letter-spacing:.08em; }

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: #fff;
  color: #103460;
}

.btn.primary:hover {
  background: #ff8400;
}

.btn.ghost {
  background: transparent;
  color: #283593;
  border-color: #283593;
}

.btn.ghost:hover {
  background: rgba(40,53,147,0.06);
}

.btn.large {
  padding: 14px 32px;
  font-size: 16px;
}

/* HERO *//* ===== HERO : 풀 화면 배경 이미지 ===== */

.hero {
  position: relative;
  height: calc(100vh - 80px); /* 헤더 높이만큼 보정 */
  min-height: 520px;
  max-height: 650px;
  overflow: hidden;
}

/* 각 슬라이드 */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
 justify-content: flex-start;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* 어두운 오버레이 */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.15) 0, #28359321 70%);
}

/* 가운데 텍스트 박스 */
.hero-content {
  position: relative;
 text-align: left;            /* 텍스트 좌측 정렬 */
  margin-left: 17vw;            /* 화면 기준 살짝 안쪽으로 */
  max-width: 720px;            /* 가독성 확보 */
  padding: 0 20px;
}

.hero-kicker {
  font-size: 18px;
  margin-bottom: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.4;
  margin: 0 0 40px;
  font-weight: 700;
text-shadow:2px 2px 4px rgb(0 0 0 / 82%);
color:white;
}

/* 상담신청 버튼 */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.hero-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* 인디케이터 */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.hero-indicators .indicator.active {
  width: 24px;
  background: #fff;
}

/* ================= 카테고리 링크 ================= */
.mold-category { background:#eef3fa; }
.mold-grid {
  display:grid;
  gap:24px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.aisection, .moldsection, .boardsection{padding: 30px 20px 80px;}
.aisection-inner,.moldsection-inner{ max-width: 1200px; margin: 0 auto; }
.aisection-header, .moldsection-header{ text-align: center; margin:0 auto; }
.aisection-header h2, .moldsection h2,.boardsection h2 {    margin-bottom: 0px;}
.aisection-header p{margin-bottom: 35px;    margin-top: 0px;}
 .moldsection-header p {margin-bottom: 35px;    margin-top: 0px; color:#fff}
    
.mold-card {
  display:flex;
  align-items:flex-end;
  background-size:cover;
  background-position:center;
  height:450px;
  border-radius:10px;
  padding:24px;
  text-decoration:none;
  color:#fff;
  transition:.3s;
}
.mold-card:hover { transform:translateY(-6px); }

.bg-img1 { background-image:url('/img/aibn02.jpg'); }
.bg-img2 { background-image:url('/img/aibn01.jpg'); }
.bg-img3 { background-image:url('/img/aibn03.jpg'); }

.text-box p { font-size:18px; margin-bottom:12px; line-height:1.5; }
.btn-cat {
  background:#ff8400;
  padding:6px 16px;
  border-radius:999px;
  font-size:14px;
font-weight:500;
  display:inline-block;
}

/* ================= PRODUCT → 몰드 ================= */
.product-highlight { background:#103460; color:#fff; }
.product-wrap {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}
.product-box {
  background:#fff;
  border-radius:20px;
  text-align:center;
  padding:26px 18px;
}
.product-box img { width:80%; }
.product-box h3 {  font-size:18px;    color:#000; margin-bottom: 0px;}
.product-link {
  display:inline-block;
  font-size:14px;
font-weight:600;
  margin-top:12px;
  color:#001a57;
  text-decoration:none;
}
.product-box p { margin-top: 0px; color:#000; font-size:14px;}

/* ================= Board ================= */
.boards-inner {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:40px;
}
.board-block {  }
.board-list { list-style:none; margin:0; padding:0; border-top:3px solid #001a57; }
.board-list li {
  display:flex;
  justify-content:space-between;
  padding:14px 0;
  border-bottom:1px solid #eee;
}
.board-list li a {
    color: #333;            /* 글자색: 진한 회색 (검정) */
    text-decoration: none;  /* 밑줄 제거 */
  }
.more-link {
    display: block;        /* 한 줄을 꽉 채우는 박스로 변경 */
    text-align: right;     /* 내부 텍스트를 오른쪽으로 정렬 */
    
    text-decoration: none; /* 밑줄 제거 */
    color: #666;           /* 글자색 (약간 연한 검정 추천) */
    font-size: 14px;       /* (선택) 글자 크기 조절 */
    margin-top: 10px;      /* 리스트와의 간격 띄우기 */
  }
/* CTA */
.cta { background:#103460; color:#fff; text-align:center; }
.cta-text h2 { font-size:26px; }

/* ================= Responsive ================= */
@media(max-width:1024px){
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
  }
  .mold-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-wrap { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px){
  .mold-grid, .boards-inner {
    grid-template-columns:1fr;
  }
  .hero-slide {
    justify-content: center;   /* 다시 중앙 */
  }

  .hero-content {
    text-align: center;
    margin-left: 0;
    max-width: 100%;
  }
   .hero {
    padding: 24px 16px 60px;
  }
  .hero-text h1 {
    font-size: 26px;
text-shadow:2px 2px 4px rgb(0 0 0 / 82%);
color:white;
  }
.hero-kicker{text-shadow:2px 2px 4px rgb(0 0 0 / 82%);
color:white;}
}
