/* ① 가장 먼저 – 브라우저 기본 여백 없애기 */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;   /* 가로 스크롤까지 예방 */
}

/* ② Bulma .section 패딩을 쓰고 싶지 않다면… */
.section {
  padding-left: 0;
  padding-right: 0;
}


/* =================== 히어로 섹션 =================== */
.hero-section {
  width: 100%;
  margin: 0;
  position: relative;             /* 기준 */
  min-height: 400px;              /* PC 기본 높이 */

  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../imgs/h1_back.jpg') center center no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
}

/* 내부 컨테이너 */
.hero-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;             /* PC에서 contact-banner 기준 */
  min-height: 400px;
  box-sizing: border-box;
}

/* -------- PC(>768px) : 텍스트 세로·가로 중앙 -------- */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-weight: bold;
}
.hero-text h2 { font-size: 28px; margin-bottom: 10px; }
.hero-text p  { font-size: 16px; line-height: 1.4; }

/* -------- PC(>768px) : 상담 폼 왼쪽 하단 -------- */
.contact-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  background-color: #15315B;
  color: #fff;
  padding: 20px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  border-radius: 0;
}
.contact-banner h3   { font-size: 20px; margin-bottom: 10px; font-weight: bold; }
.contact-banner form { display: flex; flex-direction: column; gap: 10px; }
.contact-banner input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 14px;
  box-sizing: border-box;
}
.contact-banner button {
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 0;
  background-color: #3399cc;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-banner button:hover { background-color: #2d89b0; }
.contact-phone {
  margin-top: 12px;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  border-radius: 0;
}

/* ================= 모바일(≤768px) ================= */
@media (max-width: 768px) {

  .hero-section {
    min-height: 600px;            /* 이미지 더 길게 */
    position: relative;           /* contact-banner 기준 */
  }

  /* 내부 컨테이너 기준 해제 → hero-section 기준 사용 */
  .hero-inner {
    position: static;
    min-height: 100%;
  }

  /* 텍스트: 상단에서 100px ↓, 가로 중앙 */
  .hero-text {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 90%;
  }

  /* 상담-폼: 섹션 맨 아래 꽉 차게 */
  .contact-banner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }
}



/* =================== 네이비 그라데이션 배너 (#bannerNavy) =================== */
/* 1200px 가운데 정렬 */
/* =================== 네이비 그라데이션 배너 (#bannerNavy) =================== */
#bannerNavy{
  width:1200px;max-width:100%;margin:0 auto;
  background:linear-gradient(to right,rgba(11,21,71,1) 0%,rgba(20,41,104,1) 50%,rgba(11,21,71,1) 100%);
  color:#fff;min-height:100px;padding:10px;box-sizing:border-box;text-align:center;
}
#bannerNavy h2{font-size:32px;font-weight:bold;margin-bottom:15px;}
#bannerNavy p {font-size:16px;line-height:1.6;}

/* ================= 모바일(≤768px) ================= */
@media (max-width:768px){

  /* ① 화살표 버튼 자신을 숨김 */
  #bannerNavy .slider-nav,
  #bannerNavy .prev,
  #bannerNavy .next,
  #bannerNavy .arrow{
    display:none !important;        /* 원 요소 숨김 */
  }

  /* ② 혹시 남아 있을 ::before / ::after 까지 제거 */
  #bannerNavy .slider-nav::before,
  #bannerNavy .slider-nav::after,
  #bannerNavy .prev::before,
  #bannerNavy .prev::after,
  #bannerNavy .next::before,
  #bannerNavy .next::after,
  #bannerNavy .arrow::before,
  #bannerNavy .arrow::after{
    content:none !important;        /* 가상요소 제거 */
  }
}

/* =================== 2개 게시판 (#boardsPreview) =================== */
/* 1200px 가운데 정렬 */
#boardsPreview {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 0 0 30px 0;

  border: 1px solid #ccc;
  border-top: 6px solid #15315B;
  box-sizing: border-box;
}

#boardsPreview .board_container {
  width: 100%;
  margin: 0;
  padding: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.board_preview_wrap {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 20px;
}

/* 섹션 제목(H2) : 진한 회색 + 밑줄(80%) */
.board_preview_wrap h2 {
  color: #444;                     /* ← 진한 회색 */
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;
}
.board_preview_wrap h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #ccc;
  margin: 8px auto 0;
}

/* 게시글 목록 */
.board_preview_list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* 게시글(li): 왼쪽 제목, 오른쪽 날짜 */
.board_preview_list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 제목 링크 : 진한 회색, 호버 시 포인트 컬러 */
.notice-title-link,
.make-title-link {
  font-weight: bold;
  color: #444;                     /* ← 진한 회색 */
  text-decoration: none;
}
.notice-title-link:hover,
.make-title-link:hover {
  color: #f66;
}
/* ① 제목·날짜 줄 ↔ 내용 줄을 분리하려면 li 자체가 줄바꿈을 허용해야 합니다 */
.board_preview_list li{
  flex-wrap: wrap;                 /* ← 새 줄 허용 */
}

/* 날짜 : 조금 연한 회색 */
.date {
  font-size: 12px;
  color: #888;                     /* ← 연한 회색 */
}

.notice-detail-content,
.make-detail-content {
  width: 100%;                     /* ← 한 줄 전체 폭 */
  order: 2; 
  display: none;
  margin-top: 8px;
  padding: 8px;
  background: #fafafa;
  text-align: center;
}

/* 모바일(<=768px) => width:100% */
@media (max-width: 768px) {
  #boardsPreview {
    width: 100%;
    margin: 0;
  }
}


/* =================== 템플릿 목록 (플랫 + 미니멀 버튼) =================== */

/* 팔레트 */
:root {
  --primary: #15315B;
  --gray-100: #f7f9fc;
  --gray-300: #dfe3e8;
  --gray-700: #333;
}

/* ➊ 그리드 */
.template-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 4px;
  box-sizing: border-box;
}

/* ➋ 카드 (라운드·그림자 제거) */
.template-item {
  background: #fff;
  border: 1px solid var(--gray-300);
  overflow: hidden;
  transition: transform 0.25s;
}
.template-item:hover { transform: translateY(-4px); }

/* ➌ 이미지 */
.img-wrap {
  position: relative;
  aspect-ratio: 3/2;
  background: var(--gray-100);
}
/* ➌ 이미지 */
.img-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;          /* 가로·세로 완전히 채움 */
  object-position:top center;/* ← 이미지를 ‘위쪽 기준’으로 정렬 */
  transition:filter .3s;
}

.img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.img-wrap:hover img          { filter: brightness(0.7); }
.img-wrap:hover .img-overlay { opacity: 1; }

/* ▶ [NEW] 오버레이 버튼—초심플 */
.overlay-btn {
  padding: 8px 22px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.overlay-btn:hover {
  background: #fff;
  color: var(--primary);
}

/* ➍ 제목 */
.template-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-700);
  margin: 14px 12px 8px;
}

/* ➎ 하단 버튼—초심플 */
.template-buttons {
  display: flex;
  gap: 6px;
  padding: 0 12px 16px;
}
.template-buttons a {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  font-size: 14px;
  text-decoration: none;
  color: var(--primary);
  border: 1px solid var(--primary);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.template-buttons a:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== 반응형 ========= */
@media (max-width: 992px) { .template-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) {
  .template-grid { grid-template-columns: 1fr; }
  .template-item h3 { font-size: 17px; }
}

/* =================== 홈페이지 제작 프로세스 (#processSection) =================== */
#processSection {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 50px 20px 60px;
  background: #f7f9fc;
  border-top: 6px solid #15315B;
  box-sizing: border-box;
}

#processSection h2 {
  color: #444;
  text-align: center;
  margin: 0 0 40px;
  position: relative;
}
#processSection h2::after {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background: #ccc;
  margin: 10px auto 0;
}

/* 그리드 배치 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 각 스텝 박스 */
.step-box {
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* 번호 뱃지 */
.step-num {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: #15315B;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

.step-box h3 {
  font-size: 20px;
  color: #333;
  margin: 0 0 12px;
}

.step-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ===== 반응형 ===== */
@media (max-width: 992px) {     /* 태블릿 : 2단 */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {     /* 모바일 : 1단 */
  .process-steps {
    grid-template-columns: 1fr;
  }
  #processSection {
    padding: 40px 16px 50px;
  }
}
/* =================== 핵심 솔루션 (#featuresSection) =================== */
#featuresSection {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px 80px;
  background: #fff;
  border-top: 6px solid #15315B;
  box-sizing: border-box;
}

#featuresSection h2 {
  color: #444;
  text-align: center;
  margin: 0 0 45px;
  position: relative;
}
#featuresSection h2::after {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background: #ccc;
  margin: 10px auto 0;
}

/* 그리드 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 카드 */
.feature-card {
  position: relative;
  background: #f7f9fc;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  padding: 50px 28px 40px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;

  /* 스크롤 리빌 초기값 */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* 카드 리빌 */
.feature-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* 마우스 라이트 트레일 */
.feature-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(21,49,91,0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }

/* 아이콘 스타일 */
.icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

/* 텍스트 */
.feature-card h3 {
  font-size: 22px;
  line-height: 1.3;
  color: #333;
  margin: 0 0 14px;
  font-weight: 700;
}
.feature-card p  {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* ===== 반응형 ===== */
@media (max-width: 992px) {   /* 2단 */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {   /* 1단 */
  .features-grid { grid-template-columns: 1fr; }
  #featuresSection { padding: 50px 16px 70px; }
}

/* =================== 제작진행절차 (#productionFlow) =================== */

/* 팔레트 */
:root{
  --primary:#15315B;   /* 네이비 */
  --gray:#C5C5C5;
}

/* 레이아웃 */
#productionFlow{
  max-width:1200px;
  margin:50px auto;
  padding:0 10px;
  box-sizing:border-box;
}
#productionFlow h2{
  font-size:24px;
  font-weight:700;
  margin:0 0 40px;
  color:#000;
}

.flow-list{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  list-style:none;
  padding:0;
  margin:0;
  flex-wrap:wrap;
}
.flow-step{
  flex:1 1 150px;
  text-align:center;
  position:relative;
}

/* ▶ 화살표 */
.flow-step:not(:last-child)::after{
  content:'';
  position:absolute;
  top:50%; right:-18px;
  width:6px;height:6px;
  border-top:2px solid var(--gray);
  border-right:2px solid var(--gray);
  transform:translateY(-50%) rotate(45deg);
}

/* ▶ 기본 링 공통 */
.ring{
  width:140px;height:140px;
  margin:0 auto 14px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ring-inner{
  width:104px;height:104px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ▶ 단계별 채워지는 비율 (60°·120°·180°·240°·360°) */
.flow-step:nth-child(1) .ring{
  background:conic-gradient(var(--primary) 0deg 60deg,  var(--gray) 60deg 360deg);
}
.flow-step:nth-child(2) .ring{
  background:conic-gradient(var(--primary) 0deg 120deg, var(--gray) 120deg 360deg);
}
.flow-step:nth-child(3) .ring{
  background:conic-gradient(var(--primary) 0deg 180deg, var(--gray) 180deg 360deg);
}
.flow-step:nth-child(4) .ring{
  background:conic-gradient(var(--primary) 0deg 240deg, var(--gray) 240deg 360deg);
}
.flow-step:nth-child(5) .ring{
  background:conic-gradient(var(--primary) 0deg 360deg); /* full */
}

/* 아이콘 */
.ring-inner i{
  font-size:38px;
  color:var(--primary);
}

/* 단계명 */
.flow-step p{
  margin:0;
  font-size:15px;
  font-weight:500;
  color:#000;
}

/* ===== 반응형 ===== */
@media (max-width:768px){
  .flow-step:not(:last-child)::after{display:none;}
  .ring{width:120px;height:120px;}
  .ring-inner{width:88px;height:88px;}
  .ring-inner i{font-size:32px;}
}
@media (max-width:540px){
  .flow-list{gap:30px;justify-content:center;}
  .flow-step{flex:0 0 120px;}
}
/* ================= 시안 구입시 필독! (#templateNotice) ================= */
#templateNotice{
  max-width:1200px;
  margin:60px auto;
  padding:0 10px;
  box-sizing:border-box;
  font-family:inherit;
}

/* 제목 */
#templateNotice > h2{
  font-size:26px;
  font-weight:700;
  margin:0 0 24px;
  color:#000;
}

/* ─── 4-열 카드 ─── */
.notice-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:4px solid var(--primary,#dcdcdc);
  border-bottom:4px solid var(--primary,#dcdcdc);
}
.card{
  padding:26px 18px 30px;
  text-align:center;
  border-left:1px solid #e7e7e7;
  box-sizing:border-box;
}
.card:first-child{border-left:none;}

/* 상단 라벨 */
.card h3{
  font-size:22px;
  font-weight:700;
  line-height:1.3;
  margin:0 0 14px;
}
.card h3 span{
  display:block;
  font-size:15px;
  font-weight:500;
  margin-top:4px;
}
.card p{
  font-size:14px;
  line-height:1.6;
  margin:0;
}

/* 컬러 변형 */
.card-red   {color:#d62d2d;}
.card-green {color:#44a236;}
.card-gray  {color:#333;}          /* 본문 글자색 */
.card-red h3,  .card-red span  {color:#d62d2d;}
.card-green h3,.card-green span{color:#44a236;}

/* ─── 하단 주의 리스트 ─── */
.notice-list{
  list-style:none;
  padding:18px 0 0;
  margin:0;
  font-size:14px;
  color:#444;
  line-height:1.7;
  border-top:1px solid #dcdcdc;
}
.notice-list li{position:relative;padding-left:20px;margin-bottom:6px;}
.notice-list li::before{
  content:"※";
  position:absolute;left:0;top:0;
  color:#666;
}
.notice-list .warn{color:#d62d2d;font-weight:600;}
.notice-list small{color:#666;}

/* ─── 반응형 ─── */
@media(max-width:992px){
  .notice-cards{grid-template-columns:repeat(2,1fr);}
  .card:nth-child(odd){border-left:none;}
}
@media(max-width:540px){
  .notice-cards{grid-template-columns:1fr;}
  .card{border-left:none;border-top:1px solid #e7e7e7;}
  .card:first-child{border-top:none;}
}
/* ================= 비교표 (#compareReason) ================= */
#compareReason{
  max-width:1200px;
  margin:60px auto;
  padding:0 10px;
  box-sizing:border-box;
}
#compareReason h2{
  font-size:26px;
  font-weight:700;
  margin:0 0 16px;
  color:#000;
}
.compare-note{
  font-size:13px;
  line-height:1.5;
  color:#666;
  text-align:right;
  margin:0 0 14px;
}

/* 표 기본 */
.table-wrapper{overflow-x:auto;}
.compare-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:15px;
}
.compare-table th,
.compare-table td{
  padding:14px 10px;
  border:1px solid #d0d0d0;
  text-align:center;
  word-break:keep-all;
}
.compare-table thead th{
  background:#f4f6f8;
  font-weight:600;
  color:#333;
}

/* 강조행 */
.compare-table .highlight td{
  font-weight:700;
  color:#d62d2d;                 /* 빨강 텍스트 */
  border:2px solid #d62d2d;      /* 두꺼운 빨강 테두리 */
}
.compare-table .highlight td small{color:#d62d2d;}

/* 기타 서브텍스트 */
.compare-table td small{color:#666;font-size:13px;}

/* 반응형 - 작은 화면 스크롤 */
@media(max-width:768px){
  .compare-table{font-size:14px;}
}



/* ================= 홈페이지 제작 과정 (#buildProcess) ================= */
#buildProcess{
  max-width:1200px;
  margin:60px auto;
  padding:0 10px;
  box-sizing:border-box;
}
#buildProcess h2{
  font-size:26px;
  font-weight:700;
  margin:0 0 28px;
  color:#000;
}

/* 한 단계(왼30%·오70%) */
.process-item{
  display:flex;
  gap:24px;
  align-items:center;
  margin-bottom:40px;
  max-height:500px;             /* 세로 최대 500px */
}
.process-text{flex:0 0 30%;}
.process-text h3{
  font-size:20px;
  margin:0 0 10px;
  color:#15315B;
}
.process-text p{
  font-size:15px;
  line-height:1.6;
  margin:0;
  color:#333;
}
.process-img{
  flex:0 0 70%;
  height:100%;
  overflow:hidden;
}
.process-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ===== 반응형 ===== */
@media(max-width:768px){
  .process-item{
    flex-direction:column;
    max-height:none;
  }
  .process-text,
  .process-img{flex:0 0 100%;}
  .process-img{height:auto;}
}




/* 공통 초기 상태 */
.fx-head, .fx-body, .fx-tags{
  opacity:0;
  transform:translateY(20px);
  transition:all .8s cubic-bezier(.25,.8,.25,1);
}

/* 활성화 시 */
.fx-head.show{opacity:1;transform:none;}
.fx-body.show{opacity:1;transform:none;transition-delay:.15s;}
.fx-tags.show{
  opacity:1;transform:scale(1.03);
  transition-delay:.3s;
}

/* 키워드 줄 컬러 흐름 */
.fx-tags.show{
  background:linear-gradient(90deg,#ff930f,#ffdb00 50%,#ff930f 100%);
  -webkit-background-clip:text;
  color:transparent;
  animation:shine 3s linear forwards;
}
@keyframes shine{
  0%  {background-position:0 0;}
 100% {background-position:200% 0;}
}

/* 구분선( | ) 색 고정 */
.divider{color:#fff;margin:0 8px;}


/* ============ 프로모션 배너 (Light Palette) ============ */
#promoSlider{
  max-width:1200px;
  margin:0 auto;
  overflow:hidden;
}
/* 트랙 : 100 % 슬라이드 */
.slider-track{
  display:flex;
  transition:transform .8s cubic-bezier(.22,.68,.07,1.02);
}

/* ───────── Slide 공통 ───────── */
.banner-slide{
  flex:0 0 100%;
  height:300px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  isolation:isolate; /* ::before 글로우가 내부에만 보이도록 */
}

/* ① Light-Gray / ② Light-Navy / ③ Light-Orange */
.banner-slide:nth-child(1){
  background:linear-gradient(135deg,#f4f6f9 0%,#dfe4ea 100%);
}
.banner-slide:nth-child(2){
  background:linear-gradient(135deg,#e8edf7 0%,#c9d4ea 100%);
}
.banner-slide:nth-child(3){
  background:linear-gradient(135deg,#fff3e5 0%,#ffe1c4 100%);
}

/* 은은한 라이트 패턴 */
.banner-slide::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.15),transparent 60%),
             radial-gradient(circle at 70% 70%,rgba(255,255,255,.10),transparent 65%);
  animation:moveBg 20s linear infinite alternate;
  filter:blur(50px);
  opacity:.45;
  z-index:0;
}
@keyframes moveBg{to{transform:translate(35px,-25px) scale(1.05)}}

/* ───────── Slide 내부 레이아웃 ───────── */
.slide-inner{
  width:100%;
  max-width:1080px;
  padding:0 40px;
  box-sizing:border-box;
  display:flex;
  gap:50px;
  position:relative;
  z-index:1;
}

/* ===== 아이콘 영역 ===== */
.slide-icon{
  flex:0 0 36%;
  display:flex;
  justify-content:center;
  align-items:center;
}
.slide-icon i{
  --size:90px;
  width:var(--size);
  height:var(--size);
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:42px;
  color:#fff;
  border-radius:20px;
  backdrop-filter:blur(4px) saturate(120%);
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  transition:transform .35s;
}
.slide-icon i:hover{transform:scale(1.12)}

/* 아이콘 배경 색 */
.banner-slide:nth-child(1) .slide-icon i{background:#b9c2d0;} /* 연그레이 */
.banner-slide:nth-child(2) .slide-icon i{background:#506b9f;} /* 라이트 네이비 */
.banner-slide:nth-child(3) .slide-icon i{background:#ffa45b;} /* 라이트 오렌지 */

/* ===== 텍스트 영역 ===== */
.slide-copy{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:260px;
  color:#1c2432;                 /* 기본 짙은 네이비 */
}
.banner-slide:nth-child(2) .slide-copy{color:#1c2432;} /* 네이비 배경엔 흰 글자 */

.slide-copy h3{
  font-size:34px;
  font-weight:800;
  letter-spacing:.5px;
  margin:0 0 4px;
}
.slide-copy h4{
  font-size:18px;
  font-weight:600;
  margin:0 0 12px;
  opacity:.9;
}
.slide-copy p{
  font-size:15px;
  line-height:1.7;
  margin:0;
  opacity:.85;
}

/* ───────── 네비게이션 화살표 ───────── */
.slider-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background:none;
  cursor:pointer;
  z-index:2;
  font-size:54px;
  line-height:0;
  padding:0 12px;
  color:rgba(0,0,0,.35);         /* 기본 어두운 회색 */
  transition:color .25s,transform .25s;
}
.banner-slide:nth-child(2) ~ .slider-nav{color:rgba(255,255,255,.65);} /* 네이비 배경 위 */
.slider-nav:hover{
  color:#111;                    /* hover 시 진하게 */
  transform:translateY(-50%) scale(1.15);
}
.slider-nav.prev{left:12px;}
.slider-nav.next{right:12px;}

@media (max-width:900px){
  /* 레이아웃 조정(이미 작성된 부분) */
  .slide-inner{flex-direction:column;text-align:center;gap:26px;}
  .slide-icon{flex:0 0 auto;}
  .slide-icon i{--size:78px;font-size:36px;}
  .slide-copy h3{font-size:28px;}
  .slide-copy h4{font-size:17px;}

  /* ▼ 화살표(← →) 완전 숨기기 ▼ */
  .slider-nav{display:none !important;}           /* 원 요소 */
  .slider-nav::before,
  .slider-nav::after{content:none !important;}    /* 가상요소까지 제거 */
}

/* ===== 템플릿 안내 문구 ===== */
.template-guide{
  text-align:center;
  font-size:20px;
  font-weight:600;
  color:#15315B;
  margin:48px 0 22px;
}

/* 배경 패턴 애니메이션 */
@keyframes moveBg{
  to{transform:translate(35px,-25px) scale(1.05)}
}














/* =================== 배너 섹션 (카카오톡/계좌 + 슬라이드) =================== */
/* => 1200px 가운데 정렬 */
.banner-section {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;         /* 가운데 정렬 */
  position: relative;
}

.banner-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

/* 왼쪽 배너들(카카오톡, 계좌) */
.banner-left {
  width: 290px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kakao-banner,
.account-banner {
  background: #15315B;
  color: #fff;
  padding: 20px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  border-radius: 0;
  margin: 0;
}
.kakao-banner h4,
.account-banner h4 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: bold;
}
.kakao-banner p,
.account-banner p {
  font-size: 14px;
  line-height: 1.4;
}

/* 오른쪽: 이미지 슬라이드 */
.banner-right {
  flex: 1;
  position: relative;
  min-height: 350px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.slide-item {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s, opacity 0.5s;
}
.slide-item img {
  width: 200px;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* 슬라이드 버튼 */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;
}
.slider-nav:hover {
  background: rgba(0,0,0,0.7);
}
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }

/* 모바일(<=768px): 세로 배치 */
@media (max-width:768px) {
  .banner-section {
    width: 100%;       /* 모바일에서는 화면 폭 */
    margin: 0;
  }
  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .banner-left {
    width: 100%;
  }
  .banner-right {
    width: 100%;
    margin-top: 20px;
  }
}