html, body { height: 100%; }
html{
  scroll-behavior: smooth; /* ✅ 메뉴 클릭 시 부드럽게 이동 */
}

body{
  overflow-x: hidden;
}


body {
    margin: 0;
    padding: 0;
    background-color: #E7EEF6;
    color: #000;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Header 설정 */
.header {
 position: fixed;
  inset-inline: 0;
  top: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.4);
}

.nav {
    display: flex;
    align-items: center;
}
.nav-center{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-center .img{
  width: 40px; height: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 80px;
    padding: 0;
    margin: 0;
}

.nav a:hover {
    color: #777;
}

.nav-list a {
  font-family: Montserrat, sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.projects-button {
  font-family: Montserrat, sans-serif;
  width: 250px; height: 60px;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: regular;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    border-radius: 50px;
    letter-spacing: 1px;
    display: flex;
    align-items:center;
    justify-content: center;
}
.projects-button a{
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.projects-button .arrow{
  display: inline-block;
  animation: arrowFloat 1.6s ease-in-out infinite;
}
@keyframes arrowFloat {
  0% {
    transform: translate(0, 0);
  }
  40% {
    transform: translate(6px, -6px); /* ↗ 대각선 상승 */
  }
  70% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0, 0);
  }
}
.projects-button:hover{background-color: #b1b1b1; color: #f0f0f0;}

.btn span.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
}
/* header 반응형 */
@media(max-width:768px){
  .nav{display: none;}
    .header {
    padding:20px 0;
    justify-content: center;
  }

  .nav-center {
    position: static;
    transform: none;
  }
.nav-center a img{
  display: none;
}
 
}


/* Hero Section (메인 레이아웃 컨테이너) */
/* 1600 컨테이너 */
.inner{
  width:90%;
  max-width: 1600px;
  margin:0 auto;
  position:relative;
  min-height:960px;   /* ★ 이게 핵심! hero 전체 높이 */
}

/* hero 섹션 박스 자체 높이를 줘야 bottom 기준이 생김 */
.hero-section {
  position: relative;
  width: 100%; height: 100vh;
  padding-top: 0px;   /* 헤더만큼 아래로 */
  overflow: visible;
}


/* 1. 메인 헤드라인 (왼쪽 하단) */
.main-text-block {
    position: absolute;
    bottom: 10%; /* 하단에서 50px 위 */
    left: 50px; /* 왼쪽에서 50px 오른쪽 */
    width: 45%; 
    text-align: left; 
    z-index: 10;
}

.greeting {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
}

.main-heading {
    font-size: 70px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing : -0.01em;
    margin: 0;
}

/* 2. 아치 도형 및 배경 텍스트 (정 중앙) */
.center-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 중앙 정렬 */
    width: 600px; 
    height: 790px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.large-text-background {
    position: absolute;
    font-size: 250px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05); /* 연한 회색 */
    white-space: nowrap;
    z-index: 1;
    user-select: none;
}

.main-shape-container {
    position: relative;
    width: 650px;
    height: 700px;
    z-index: 2;
}

.main-shape {
    width: 100%;
    height: 100%;
    background-color: rgba(200, 200, 200, 0.4); /* 아치형 도형 */
    border-radius: 50% / 50% 50% 0 0;
    transform: translateY(-50px);
    overflow: hidden;
    position: relative;
    user-select: none;
}
.main-shape video{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 110%; height: 110%;
}

/* 태그 (Branding, Desinger) */
.tag {
  width: 180px; height: 60px;
    position: absolute;
    background-color: #000;
    color: #fff;
    display: flex;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 300;
    white-space: nowrap;
    transform: rotate(-5deg);
    font-family: Montserrat, sans-serif;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.tag-branding {
    top: 18%;
    left: -10%;
    transform: rotate(-12deg);
}

.tag-designer {
    top: 8%;
    right: -8%;
    transform: rotate(10deg);
}

/* 3. 자기소개 카드 (오른쪽 하단) */
.start-design-card {
    position: absolute;
    bottom: 10%; /* 하단에서 50px 위 */
    right: 10px; /* 오른쪽에서 50px 왼쪽 */
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 510px; height: 200px;
    z-index: 10;
}

.start-design-card h2 {
  font-family: Montserrat, sans-serif;
    font-size: 25px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.start-design-card p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

.logo-stamp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
    transform: rotate(-15deg);
}

/* --------------------
    돌아가는 원형 텍스트 스탬프 (요청대로 유지)
-------------------- */
.stamp {
    position: absolute;
    right: 15px; 
    bottom: -35%;
    width: 130px;
    height: 130px;
    animation: rotateStamp 12s linear infinite;
    z-index: 11; 
}

.stamp svg {
    width: 100%;
    height: 100%;
}

.stamp-text {
    font-size: 21px;
    letter-spacing: 0.3em;
    font-weight: 400;
    fill: #444444; 
}

/* 회전 애니메이션 */
@keyframes rotateStamp {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* hero 반응형 */
@media (max-width: 960px) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }
    
    .main_textbox,
    .design_card,
    .center {
        position: static;
        transform: none;
        width: 100%;
        padding: 0 20px;
        margin-top: 40px;
        text-align: center;
        word-break: keep-all;
    }
    .main_textbox .main {
        font-size: 48px;
        text-align: center;
    }
.main-text-block{
  width: 100%;
  left: 0;
  bottom: 35%;
}
.main-heading{
  font-size: clamp(24px, 10vw, 50px);
  letter-spacing: -3px;
}
.start-design-card p{
  width: 100%;
}
.start-design-card{
  right: auto;
  left: auto;
  width: 100%;
}
.start-design-card h2{
  font-size: clamp(16px, 5vw, 24px);
}
    .center {
        order: -1;
        height: 400px;
        margin-top: 80px;
    }

    .large_text {
        font-size: 120px;
    }

    .main_shape, .container {
        width: 90%;
        height: 400px;
    }

    .design_card {
        padding: 20px;
        text-align: left;
    }

    .stamp {
        display: none; 
    }
    .tag{width: 150px; height: 50px;}
    .tag-branding{
      left: 1%;
      top: -2%;
    }
    .tag-designer{
      right: 0.5%;
      top: -1%;
    }
    .center-visual{
      width: 100vw;
      height: auto;
      aspect-ratio: 1 / 1.2;

    }
    .main-shape-container{
      width: 100%;
      height: 100%;
    }
    .large-text-background{
      display: none;
    }
}

/* ===== ABOUT 섹션 전체 ===== */
.about {
  background: #E7EEF6;
  padding: 120px 0 100px;   /* 헤더 아래 여백 + 아래 여백 */
}

/* 1600px 가운데 정렬 컨테이너 */
.about_inner {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  
  gap: 80px;

}

.Certificate_block p + p{margin-top: 5px;}

/* --- 왼쪽 프로필 박스 --- */

.about_photo{width: 22%; position: relative; top: 25px; margin-right: 50px;}
.photo_box {
  width: 100%;
}

/* --- 오른쪽 텍스트 영역 --- */
.about_content {
  margin-left: 50px;
}

/* 인트로 텍스트 */
.about_intro {
  text-align: center;
  margin-bottom: 48px;
}


.about_title {
  font-size: 40px;
  line-height: 1.6;
  font-weight: 600;  
  color: #202020;
  padding: 100px 0 50px;
}

.about_desc {
  font-size: 22px;
  line-height: 1.7;
  color: #2b2b2b;
  margin-top: 10px;

}

.about_desc.sub {
  font-size: 16px;
  color: #3d3d3d;
  line-height: 24px;
    font-weight: 300;
    margin-top: 20px;
}

.about_box{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 하단 정보 전체 컨테이너 */
.about_info {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2컬럼 */
    grid-template-rows:1fr 1fr;
    grid-template-areas:
        "contact  Certificate"
        "tools   skills";
    column-gap: 30px;
    row-gap: 30px;
    margin-top: 50px;
    width: 100%;
}
/* 기존 col 레이아웃 무력화 */
.info_col { 
    display: contents; 
}

/* 박스 영역 연결 (이 부분이 시안과 일치해야 합니다) */
.Certificate_block   { grid-area: Certificate; }   /* 왼쪽 위 */
.tools_block   { grid-area: tools; }   /* 왼쪽 아래 */
.contact_block { grid-area: contact; } /* 오른쪽 위 */
.skills_block  { grid-area: skills; }  /* 오른쪽 아래 */

/* 1번 이미지 스타일 적용 (박스 디자인) */
.info_block {
    background: #ffffff;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

/* 제목 하단 선 (시안 스타일) */
.info_block h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1c1c1c;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1.5px solid #eaeaea; 
    text-transform: uppercase;
}

/* 리스트 및 텍스트 정렬 */
.info_block p, 
.info_block li {
    font-size: 16px;
    color: #5a5a5a;
    line-height: 1.6;
}

.skill_list, .contact_list {
    list-style: none;
    padding: 0;
}

/* CONTACT 아이콘 정렬 */
.contact_list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact_list img {
    width: 20px;
    height: auto;
}

/* =======================================
   📱 태블릿 및 스마트폰 반응형 (768px)
   ======================================= */
@media (max-width: 768px) {
  .about {
    padding: 80px 0; /* 상하 여백 축소 */
  }

  .about_inner {
    flex-direction: column; /* 사진과 텍스트를 세로로 배치 */
    align-items: center;
    gap: 40px;
    width: 92%;
  }

  /* 왼쪽 사진 영역 */
  .about_photo {
    width: 100%;
    max-width: 400px; /* 사진이 너무 커지지 않게 제한 */
  }

  .photo_box img {
    width: 100%;
    height: auto;
    border-radius: 15px; /* 모바일에서 조금 더 부드러운 인상 */
  }

  /* 오른쪽 텍스트 영역 */
  .about_content {
    margin-left: 0;
    text-align: center; /* 텍스트 중앙 정렬로 안정감 부여 */
  }

  .about_title {
    font-size: 28px; /* 폰트 크기 축소 */
    line-height: 1.4;
  }

  .about_desc {
    font-size: 18px;
  }

  .about_desc.sub {
    font-size: 15px;
    line-height: 1.6;
    word-break: keep-all; /* 단어 단위 줄바꿈으로 가독성 향상 */
  }

  /* 하단 정보 영역 (2열 유지하되 간격 조정) */
  .about_info {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    text-align: left; /* 정보 리스트는 다시 왼쪽 정렬 */
    margin-top: 50px;
  }
}

/* =======================================
   📱 초소형 스마트폰 반응형 (430px) 완벽 중앙 정렬
   ======================================= */
@media (max-width: 430px) {
  /* --- ABOUT 섹션 --- */
  .about { padding: 60px 20px; }

  .about_box{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* ✅ 프로필 이미지 완전 중앙 고정 */
  .about_photo{
    width: 100%;
    display: block;                 /* flex 말고 block로 단순하게 */
    margin-bottom: 40px;
  }

  .photo_box{
    width: 200px;                   /* ✅ 이미지와 같은 폭으로 고정 */
    margin: 0 auto;                 /* ✅ photo_box 자체를 가운데 */
    padding: 0;                     /* ✅ 혹시 남아있는 패딩 제거 */
  }

  .photo_box img{
    width: 100%;
    height: auto;
    display: block;
  }

  /* ✅ 내용 영역은 이미지 다음 */
  .about_content{
    text-align: center;
    width: 100%;
  }

  .about_title { font-size: 24px; word-break: keep-all; }
  .about_desc{ word-break: keep-all; }
  .about_desc .sub{ word-break: keep-all; }

  /* ✅ 하단 정보 4개 카드 1열 + 순서 */
  .about_info {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "Certificate"
      "contact"
      "tools"
      "skills";
    row-gap: 40px;
    justify-items: center;
  }

  .about_info .info_block{
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact_list{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .contact_list li{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .skill_list{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .message .title{
    font-size: 24px;
    line-height: 1.3;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    word-break: break-word;
    text-align: center;
  }

  .message .sub{
    font-size: 14px;
    margin-bottom: 40px;
    padding: 0 10px;
  }
}



/* CONTACT 리스트 */
.contact_list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.contact_list li {
  display: flex;
  align-items: center;   /* ← 아이콘 + 텍스트 수직 정렬 */
  gap: 10px;
  font-size: 16px;
  color: #5a5a5a;
}

.contact_list li + li {
  margin-top: 6px;
}

.contact_list img {
  object-fit: contain;
}

/* TOOLS 리스트 */
.skill_list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}


.skill_label {
  font-size: 16px;
  color: #5a5a5a;
}


/* ===== Future 섹션 전체 ===== */
.future {
  background: #E7EEF6;
  padding: 120px 0 150px;
}

.future_inner {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

/* 섹션 기본 */
.future {
  background: #E7EEF6;
  padding: 120px 0 150px;
}

.future_inner {
 width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

/* 상단 텍스트 */
.future_title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #202020;
  
}

.future_desc {
  font-size: 18px;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 80px;
}

/* 2개 가로 배치 */
.future_cards {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin-top: 40px;
}

/* 각 원 + 텍스트 컨테이너 */
.future_card {
  position: relative;
  width: 450px;
  height: 450px;
}

/* 원 이미지 자체 */
.future_circle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 이미지 위 텍스트 */
.future_text {
  position: absolute;
  inset: 0;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;   /* 필요하면 left로 변경 가능 */
  pointer-events: none; /* 텍스트가 이미지 클릭을 막지 않도록 */
}

.future_text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #2a2a2a;
}

.goal_title {
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 10px;
  color: #3b3b3b;
}

.goal_desc{
  font-weight: 400;
  font-size: 14px;
  color: #505050;
  margin-bottom: 20px;
}

/* 전체 섹션 */
.contents {
  background: #E7EEF6;
  padding: 100px 0 140px;
}

.contents_inner {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  gap: 250px;
}

/* 왼쪽 큰 타이틀 */
.contents_title {
  flex: 0 0 260px;
  font-size: 70px;
  font-weight: 700;
  color: #111111;
}

/* 오른쪽 그룹들 */
.contents_groups {
  flex: 1;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 40px;
  margin: 180px;
}

/* 개별 그룹 박스 */
.contents_group {
  font-size: 18px;
  color: #505050;
}

/* 그룹 헤더: 제목 + 번호 */
.contents_group_head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.contents_group_title {
  font-size: 40px;
  font-weight:600;
  color: #303030;
}

.contents_group_num {
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #a7a7a7;
}

/* 얇은 구분선 */
.contents_divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.15);
  width: 800px;
  margin: 20px 0 20px;
}

/* 리스트 */
.contents_group_list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.contents_group_list li + li {
  margin-top: 12px;
  transition: transform .35s cubic-bezier(.25, .46, .45, .94);
}

.contents_group_list li:hover {
  transform: translateY(-3px);   /* 살짝 위로 떠오름 */
  opacity: 1;
  text-decoration: underline;
  color: #a7a7a7;
}
/* 반응형 */
@media(max-width:768px){
  .contents_groups {

    margin: 40px 0;

  }
  .future_title{
    width: 90%;
    margin: auto;
    font-size: clamp(20px, 4vw, 26px);
    word-break: keep-all;
  }
  .future_desc{
    font-size: clamp(16px, 3vw, 18px);
    margin-top: 30px;
    word-break: keep-all;
  }

  .future_cards{
    flex-direction: column;
  }
  .future_card{
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .contents_inner{
    flex-direction: column;
    gap: 50px;
  }
  .contents_title{
    flex: 0 0 auto;
  }
  .contents_group_title{
    font-size: clamp(24px, 8vw, 36px);
  }
  .contents_divider {
  width: 100%;
  max-width: 800px;
}
}

/* =========================
   Works 섹션 전체 스타일
   ========================= */

/* 섹션 배경 & 양옆 라인 */
.works {
  position: relative;
  padding: 0 0 100px;
}


/* 컨테이너 */
.works_inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* 타이틀 */

.works_head{
  font-size: 100px;
  font-weight: 700;
  margin-bottom: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.works_text{
  align-items: center;
  gap: 30px;
}
.works_title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.works_sub{
  font-size: 14px;
  font-weight: 300;
  color: #666666;
  margin-bottom: 50px;
}

/* 그리드 */
.works_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 40px;
}

/* 개별 카드 */
.works_card {
  max-width: 350px;
}

/* 번호 */
.works_card_num {
  font-size: 16px;
  font-weight: 700;
  color: #96a4b8;
  margin-bottom: 8px;
}

/* =======================================
   🔥 이미지 박스만 떠오르는 효과 적용
   ======================================= */
.works_card_thumb {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 4;  /* 350 × 200 비율 */
  overflow: hidden;
  border-radius: 10px;
  background: #d9d9d9;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* 이미지 박스만 위로 올라감 */
.works_card_thumb:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

/* 이미지 */
.works_card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 제목 & 설명 (움직이지 않음!) */
.works_card_title {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.works_card_meta {
  font-size: 13px;
  color: #9ba7b7;
}

/* 비어 있는 카드 */
.works_card--empty .works_card_thumb--empty {
  width: 100%;
  aspect-ratio: 7 / 4;
  border-radius: 10px;
  background: #dcdfe4;
}

/* 반응형 */
@media (max-width: 1200px) {
  .works_inner { padding: 0 40px; }
  .works_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .works::before,
  .works::after {
    display: none;
  }
  .works_inner { padding: 0 24px; }
  .works_grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* work 섹션 끝 */


/* =========================
   Popup / Banner Section
========================= */
.popup_banner{
  padding: 90px 0;
}

.popup_banner .inner{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 80px;
}

.popup_banner .title{
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 80px;
  color:#111;
  letter-spacing: .02em;
}

/* 섹션 사이 간격 줄이기 */
.popup_slide{ padding-bottom: 35px; }
.banner_slide{ padding-top: 35px; }

/* Swiper 공통 */
.popup_banner .swiper{
  width: 100%;
}

.popup_banner .swiper-wrapper{
  align-items: stretch; /* 높이 일정 */
  transition-timing-function: linear !important;
}


.popup_banner .swiper-slide{
  overflow: visible;
  transform: translateY(0);
  transition: transform .35s ease, box-shadow .35s ease;
}

.popup_banner .swiper-slide:hover{
  transform: translateY(-6px);
}

/* 카드 링크 */
.popup_card{
  display:block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* 이미지 공통 (슬라이드에 꽉 차게) */
.popup_banner img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.banner_card{
  display:block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* =========================
   고정 사이즈 (PC 기본)
========================= */
/* Popup: 250x350 */
.popup_slide .swiper-slide{
  width: 250px;
  height: 350px;
}

/* Banner: 700x350 */
.banner_slide .swiper-slide{
  width: 700px;
  height: 350px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1200px){
  .popup_banner .inner{ padding: 0 40px; }
  .popup_banner{ padding: 75px 0; }

  /* 배너는 화면이 좁아지면 너무 커서 살짝 줄임 */
  .banner_slide .swiper-slide{
    width: 620px;
    height: 320px;
  }
}

@media (max-width: 768px){
  .popup_banner .inner{ padding: 0 20px; }
  .popup_banner{ padding: 60px 0; }
  .popup_banner .title{ font-size: 22px; margin-bottom: 18px; }

  /* 팝업 조금 축소 */
  .popup_slide .swiper-slide{
    width: 220px;
    height: 320px;
  }

  /* 배너는 거의 화면 폭으로 */
  .banner_slide .swiper-slide{
    width: 85vw;
    height: 42vw;         /* 비율감 있게 */
    max-height: 320px;
  }
}

@media (max-width: 480px){
  /* 팝업 더 축소 */
  .popup_slide .swiper-slide{
    width: 200px;
    height: 300px;
  }

  /* 배너는 90vw */
  .banner_slide .swiper-slide{
    width: 90vw;
    height: 46vw;
    max-height: 280px;
  }
}


/* popup/banner 슬라이드 섹션 끝 */
  
/* END SECTION
------------------------------------*/
.end{
  position: relative;
  min-height: 100vh;
  padding: 200px 80px 60px;
  box-sizing: border-box;
  color: #111;
}

.end_inner{
  max-width:1200px;
  margin:0 auto;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

/* 상단 메시지 */
.message{
  text-align:center;
  margin-bottom:80px;
}

.message .title{
  font-size:60px;
  line-height:1.4;
  font-weight:600;
  letter-spacing:-0.01em;
  color:#9FABB9;
  margin-bottom:20px;
}
.typing span {
  transition: color 0.25s ease;
}
.message .title span.active { 
  color:#113b6e; 
  transition: color .25s ease;
}
.message .sub{
  font-size:20px;
  font-weight:400;
  color:#8b8f98;
  margin-bottom:120px;
}

.message .thanks{
  font-size:30px;
  font-weight:500;
  letter-spacing:0.03em;
  color: #333333;
}

/* CONTACT 섹션 */
.contact{
  margin-top: 150px;
  padding: 40px 0 60px;
}

.contact_inner{
  max-width: 1600px;     /* 너 사이트 폭에 맞춰 조절 */
  margin: 0 auto;
  padding: 0 80px;
}

/* 상단 라인 */
.contact_top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.contact_cols{
  display: flex;
  gap: 90px;             /* 항목 간 간격 (이미지 느낌) */
  flex-wrap: nowrap;
}

.contact_item{
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
  align-items: center;
}

.contact_item_title{
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
}

.contact_item_text{
  font-size: 14px;
  font-weight: 400;
  color: #333;
  white-space: nowrap;
}

.contact_item_text.link{
  text-decoration: none;
}
.contact_item_text.link:hover{
  text-decoration: underline;
}

/* QR */
.contact_qr{
  flex: 0 0 auto;
}
.contact_qr img{
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

/* 큰 CONTACT 타이틀 */
.contact_big{
  margin-top: 50px;
  font-size: clamp(72px, 9vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-weight: 900;
  color: #2b2b2b;
  text-align: center;
}

.contact .copy{
  font-size: 14px;
  font-weight: 300;
  color: #707070;
  margin-top: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  /* 1. 전체 섹션 여백 조정 */
  .end {
    padding: 100px 20px 40px; /* 상단 여백 줄임 */
    min-height: auto;
  }

  /* 2. 상단 메시지 텍스트 크기 조절 */
.message .title {
  /* 고정된 60px 대신, 화면 너비에 반응하는 단위 사용 */
  font-size: clamp(32px, 5vw, 60px); 
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #9FABB9;
  margin-bottom: 20px;
  word-break: keep-all; /* 단어 단위로 줄바꿈되어 끊김 방지 */
  overflow-wrap: break-word; /* 너무 긴 단어는 강제 줄바꿈 */
  width: 100%; /* 부모 너비를 넘지 않도록 설정 */
}

/* 스마트폰 (768px 이하) 대응 */
@media (max-width: 768px) {
  .message .title {
    /* 모바일에서는 더 확실하게 줄어들도록 설정 */
    font-size: 28px; 
    padding: 0 20px; /* 양옆 여백을 주어 화면 끝에 붙지 않게 함 */
    box-sizing: border-box;
  }
  
  /* <br> 태그가 모바일에서 줄바꿈을 방해하면 숨길 수 있습니다 (선택사항) */
  .message .title br {
    display: block; /* 줄바꿈을 유지하고 싶을 때 */
  }
}

/* 아주 작은 기기 (480px 이하) 대응 */
@media (max-width: 480px) {
  .message .title {
    font-size: 24px;
    line-height: 1.3;
  }
}

  .message .sub {
    font-size: 16px;
    margin-bottom: 60px;
  }

  .message .thanks {
    font-size: 20px;
  }

  /* 3. 연락처 영역 레이아웃 변경 */
  .contact {
    margin-top: 80px;
    padding: 0;
  }

  .contact_inner {
    padding: 0;
  }

  .contact_top {
    flex-direction: column; /* 세로 정렬 */
    align-items: center;
    gap: 40px;
  }

  .contact_cols {
    flex-direction: column; /* 연락처 항목 세로 정렬 */
    gap: 25px;
    width: 100%;
    align-items: center; /* 중앙 정렬 */
  }

  .contact_item {
    min-width: unset;
    gap: 5px;
  }

  .contact_item_text {
    font-size: 15px;
    white-space: normal; /* 긴 이메일/링크 줄바꿈 허용 */
    text-align: center;
    word-break: break-all;
  }

  /* 4. QR 코드 위치 및 크기 */
  .contact_qr {
    order: -1; /* 연락처보다 위로 올리고 싶을 때 사용 (선택사항) */
    margin-bottom: 10px;
  }

  /* 5. 하단 CONTACT 거대 텍스트 */
  .contact_big {
    font-size: 55px; /* 모바일에선 가로폭에 맞춰 대폭 축소 */
    margin-top: 50px;
    letter-spacing: -0.02em;
  }

  /* 6. 카피라이트 텍스트 */
  .contact .copy {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 40px;
    padding: 0 10px;
    word-break: keep-all; /* 단어 단위 줄바꿈으로 가독성 향상 */
    text-align: center;
  }
}


/* =========================
   Modal Gallery
========================= */
.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.active{ display: block; }

.modal_overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.modal_content{
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, 92vw);
  height: min(680px, 86vh);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal_img{
  max-width: 92%;
  max-height: 88%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

.modal_close{
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 25px;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1;
}

.modal_close:hover{color: rgba(0, 0, 0, 0.3);}

.modal_nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  padding-bottom: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.modal_nav:hover{background: rgba(0, 0, 0, 0.6);}

.modal_prev{ left: 14px; }
.modal_next{ right: 14px; }

.modal_counter{
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 13px;
}

/* 모바일에서 버튼 크기 살짝 축소 */
@media (max-width: 480px){
  .modal_nav{ width: 42px; height: 42px; font-size: 24px; }
  .modal_content{ height: min(520px, 82vh); }
}


/* ✅ 배너 모달만 더 넓게 */
.modal.is-banner .modal_content{
  width: min(1100px, 94vw);   /* 아래 2번도 같이 반영 */
  height: min(560px, 80vh);
  overflow: visible;          /* ✅ 화살표 잘림 방지 */
}


/* ✅ 배너일 때 화살표를 더 바깥으로 빼서 이미지랑 겹침 방지 */
.modal.is-banner .modal_prev{ left: -80px; }
.modal.is-banner .modal_next{ right: -80px; }

/* 모바일에서는 화면 밖으로 나갈 수 있으니 다시 안쪽 */
@media (max-width: 768px){
  .modal.is-banner .modal_prev{ left: -44px; }
  .modal.is-banner .modal_next{ right: -44px; }
}

/* =========================
   Modal Nav Button Color
========================= */

/* 기본 (Popup 모달용) — 기존 스타일 유지 */
.modal .modal_nav{
  background: rgba(0,0,0,0.3);
  color: #fff;
}

/* ✅ Banner 모달용 버튼 컬러 변경 */
.modal.is-banner .modal_nav{
  background: rgba(255, 255, 255, 0.8);   /* 더 진하게 */
  color: #000;
}

/* Banner 모달 hover 컬러 */
.modal.is-banner .modal_nav:hover{
  background: rgba(0,0,0,0.8);
  color: rgba(255, 255, 255, 0.8);
}

.cursor_text{
  position: fixed;
  top: 0;
  left: 0;
  transform: translate3d(-9999px, -9999px, 0); /* 초기 화면 밖 */
  pointer-events: none;
  z-index: 10000;

  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.15em;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: opacity 0.2s ease;
  /* backdrop-filter: blur(4px); */
  background: rgba(0,0,0,0.55);

  will-change: transform; /* ✅ 성능 */
}
.popup_banner .swiper-wrapper{ transition-timing-function: linear !important; }
.cursor_text.active{ opacity: 1; }

@media (max-width: 768px){
  .cursor_text{ display: none; }
}


/* AI Contents */
.ai_contents{
  padding: 80px 0;
}

.ai_inner{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.ai_head{
  display:flex;
  align-items: baseline;
  gap: 40px;
  margin-bottom: 40px;
}

.ai_head .title{
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.ai_head .desc{
  margin: 0;
  color:#777;
  font-size: 16px;
  line-height: 1.7;
}

/* Grid */
.ai_grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.ai_card{
  cursor: pointer;
}

.ai_thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:#d9d9d9;
  overflow:hidden;
  border-radius: 10px;
}

.ai_thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1);
  transition: transform .35s ease;
}

/* PLAY label */
.ai_play{
  position:absolute;
  left:16px;
  top:16px;
  font-size:12px;
  letter-spacing: .12em;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color:#fff;
  opacity: 0;
  transform: translateY(6px);
  transition: .25s ease;
}

/* hover */
.ai_card:hover .ai_thumb img{
  transform: scale(1.04);
}
.ai_card:hover .ai_play{
  opacity: 1;
  transform: translateY(0);
}

.ai_card_title{
  margin: 20px 0 6px;
  font-size: 18px;
  letter-spacing: .06em;
  font-weight: 800;
  color:#111;
}

.ai_card_text{
  margin: 0;
  font-size: 14px;
  color:#8a8a8a;
  line-height: 1.6;
}

/* Responsive (쉽게) */
@media (max-width: 900px){
  .ai_head{ flex-direction: column; gap: 10px; align-items: flex-start; }
  .ai_title{ font-size: 46px; }
  .ai_grid{ grid-template-columns: 1fr; gap: 40px; }
}

/* Modal */
.ai_modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.ai_modal.active{
  display:block;
}

.ai_modal_overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.6);
}

.ai_modal_box{
  position: absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(980px, 92vw);
  background:#111;
  border-radius: 16px;
  overflow:hidden;
}

.ai_modal_close{
  position:absolute;
  right: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}

.ai_modal_video{
  width:100%;
  aspect-ratio: 16 / 9;
  background:#000;
}

.ai_modal_video video{
  width:100%;
  height:100%;
  display:block;
}
