/* ==========================================================================
   1. 초기화 & 공통 스타일
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Segoe UI", Roboto, Arial, sans-serif; color: #111; background-color: #fff; line-height: 1.6; overflow-x: hidden; }
body.no-scroll { overflow: hidden; touch-action: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; margin: 0; padding: 0; }
button { border: 0; background: none; font: inherit; cursor: pointer; }
.page-wrap { min-height: 100vh; }
.inner { width: 100%; max-width: 1400px; margin: 0 auto; }
.btn.primary { background-color: #CB1723; color: #fff; border-radius: 99px; padding: 0 24px; height: 44px; display: inline-flex; align-items: center; transition: 0.2s; }
.btn.primary:hover { background-color: #a31820; }
.mo-br { display: none;}

/* ==========================================================================
   2. HEADER (GNB & Navigation)
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #eee; }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 50px; position: relative; }
.logo img { display: block; height: 26px; }
.gnb { height: 100%; position: relative; }
.gnb > ul { display: flex; gap: 60px; height: 100%; align-items: center; }
.gnb-item { position: relative; height: 100%; display: flex; align-items: center; }
.gnb-item > a { font-size: 18px; color: #111; font-family: "Montserrat", sans-serif; font-weight: 600; padding: 5px 0; letter-spacing: -0.5px; position: relative; z-index: 10; }
.gnb-item:hover > a { color: #CB1723; }
.gnb-item.is-current > a {color: #CB1723; /* 활성화된 메뉴 글자색 빨강 유지 */}

.gnb-indicator { position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: #CB1723; opacity: 0; pointer-events: none; transition: width 0.3s ease, left 0.3s ease, opacity 0.3s ease; transform: scaleX(1.2); transform: translateX(3px); }
@media (min-width: 1025px) {
  .sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding: 18px 0; display: flex; justify-content: center; gap: 40px; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 900; white-space: nowrap; background: transparent; }
  .sub-menu::before { content: ''; position: absolute; top: 0; left: -5000px; width: 10000px; height: 100%; background: #fff; border-bottom: 1px solid #eee; z-index: -1; pointer-events: none; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
  .gnb-item:hover .sub-menu { opacity: 1; visibility: visible; }
  .sub-menu li a { color: #111; font-size: 15px; font-weight: 500; font-family: "Montserrat", sans-serif; transition: color 0.2s; }
  .sub-menu li a:hover { color: #CB1723; font-weight: 700; }
}
.header-etc { display: flex; align-items: center; gap: 24px; }

.lang-switch { position: relative; font-family: "Montserrat", sans-serif; display: flex; align-items: center; }
.lang-current { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-transform: uppercase; padding: 0; }
.lang-arrow { width: 7px; height: 7px; border-right: 1.5px solid #111; border-bottom: 1.5px solid #111; transform: rotate(45deg); margin-top: -1px; transition: 0.2s; }
.lang-switch.open .lang-arrow { transform: rotate(-135deg); margin-top: 2px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; padding: 6px 0; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); display: none; z-index: 300; min-width: 70px; }
.lang-switch.open .lang-list { display: block; }
.lang-list button { width: 100%; padding: 6px 12px; font-size: 13px; text-align: center; }
.lang-list button:hover { background: #f7f7f7; }


/* 기존 .lang-list button 스타일을 .lang-list a 로 변경/통합 */
.lang-list li { width: 100%; } /* li 꽉 차게 */
.lang-list a { display: block; /* a태그는 인라인이라 블록으로 변경 필요 */ width: 100%; padding: 6px 12px; font-size: 13px; text-align: center;  color: #111; /* 글자색 지정 */ font-family: "Montserrat", sans-serif;}
.lang-list a:hover { background: #f7f7f7; }
/* 현재 선택된 언어 표시 (선택사항) */
.lang-list a.active {font-weight:700;color: #CB1723;}



.sns a { font-family: "Montserrat", sans-serif; font-size: 13px; text-transform: uppercase; color: #444; font-weight: 500; }
.sns a:hover { color: #CB1723; }
.btn-gnb-toggle { display: none; width: 32px; height: 20px; flex-direction: column; justify-content: center; gap: 4px; z-index: 1100; position: relative; }
.btn-gnb-toggle span { display: block; height: 2px; width: 100%; background: #111; border-radius: 99px; transition: 0.22s; }
.site-header.mobile-open .btn-gnb-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.site-header.mobile-open .btn-gnb-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ==========================================================================
   3. HERO VISUAL
   ========================================================================== */
.hero-visual { padding: 40px 0 0; }
.hero-inner { position: relative; z-index: 1; margin: 0 auto; }
.hero-slider { position: relative; overflow: hidden; min-height: 930px; touch-action: pan-y; z-index: 1; cursor: grab; user-select: none; }
.hero-slider:active { cursor: grabbing; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; z-index: 1; transition: opacity 0.8s ease, visibility 0.8s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.hero-slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide .hero-image, .hero-slide .hero-text, .hero-slide .hero-script { opacity: 0; transform: translateY(15px); }
.hero-slide.is-active .hero-image { animation: slideUp 0.8s ease-out forwards 0s; }
/*.hero-slide.is-active .hero-text { animation: slideUp 0.8s ease-out forwards 0.2s; }*/
.hero-slide.is-active .hero-script { animation: slideUp 0.8s ease-out forwards 0.4s; }
@keyframes slideUp { 0% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }
/*.hero-text { position: relative; z-index: 2; margin-bottom: 50px; padding: 0 50px; pointer-events: none; }
.hero-title { font-size: 70px; line-height: 1.3; font-weight: 500; letter-spacing: -0.3rem; }*/
.hero-title .eng { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 73px; }
.hero-script { position: absolute; right: 50px; top: 12%; z-index: 1; pointer-events: none; }
.hero-image img { display: block; width: 100%; height: auto; object-fit: cover; pointer-events: none; }
.hero-controls { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hero-arrow { position: absolute; top: 65%; transform: translateY(-50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(0,0,0,0.18); backdrop-filter: blur(4px); cursor: pointer; pointer-events: auto; z-index: 4; }
.hero-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform-origin: center; }
.hero-prev { left: 72px; } .hero-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.hero-next { right: 72px; } .hero-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.hero-dots { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 6px; pointer-events: auto; z-index: 4; }
.hero-dot { width: 7px; height: 7px; border-radius: 99px; border: 0; background: #ddd; cursor: pointer; transition: 0.25s; }
.hero-dot.is-active { width: 18px; background: #CB1723; }
.js-fadein { opacity: 0; transform: translateY(20px); transition: 0.7s; }
.js-fadein.is-inview { opacity: 1; transform: translateY(0); }

/* 메인 비주얼 텍스트 강제 여백 */
.txt-gap {
    margin-left: 10px; /* 원하는 만큼 간격 벌리기 */
    display: inline-block; /* 애니메이션 동작 시 안정성을 위해 */
}

@media (max-width: 1024px) {
    .txt-gap {
        margin-left: 0; 
    }
}

/* ==========================================================================
   [수정] HERO VISUAL TEXT ANIMATION
   ========================================================================== */

/* 1. 기존 slideUp 애니메이션 제거 (덮어쓰기) */
.hero-slide.is-active .hero-text { 
    animation: none; 
    opacity: 1; 
    transform: none; 
}
.hero-text { 
    opacity: 1; 
    transform: none; 
    margin-bottom: 50px; 
    padding: 0 50px; 
    pointer-events: none; 
}

/* 2. 타이틀 (글자 쪼개기용 스타일) */
.hero-title {
    font-size: 70px; 
    line-height: 1.3; 
    font-weight: 500; 
    letter-spacing: -0.3rem;
}

/* JS로 생성될 쪼개진 글자(span.char) 스타일 */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(40px) skewY(10deg);
}

/* 슬라이드가 활성화(.is-active) 되면 타이틀 애니메이션 실행 */
.hero-slide.is-active .hero-title .char {
    animation: revealLetter 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    /* JS에서 계산한 --char-index 변수로 딜레이 적용 */
    animation-delay: calc(0.1s + (var(--char-index) * 0.05s));
}

/* 3. 설명글 (기존보다 조금 늦게 Fade Up) */
.hero-desc {
    margin-top: -30px; /* 위치 조정 */
    font-size: 25px; 
    color: #666; 
    letter-spacing: -0.1rem;
    opacity: 0;
    transform: translateY(30px);
}

/* 슬라이드가 활성화되면 설명글 등장 */
.hero-slide.is-active .hero-desc {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.2s; /* 타이틀이 다 뜬 뒤에 등장 */
}

/* 4. 애니메이션 키프레임 정의 */
@keyframes revealLetter {
    to {
        opacity: 1;
        transform: translateY(0) skewY(0);
        filter: blur(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* ==========================================================================
   4. HIGHLIGHT (Marquee & Product Slider - Fixed Action Position)
   ========================================================================== */
.highlight { position: relative; padding: 180px 0 0; background-color: transparent; z-index: 10; }
.highlight-inner { margin-bottom: 60px; }
.marquee-wrap { display: flex; overflow: hidden; position: absolute; top: 0px; left: 0; right: 0; user-select: none; pointer-events: none; z-index: 0; }
.marquee-content { flex-shrink: 0; display: flex; justify-content: space-around; min-width: 100%; gap: 20px; animation: scrollText 160s linear infinite; }
.marquee-content span { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14vw; line-height: 1; color: #f7f7f7; white-space: nowrap; letter-spacing: -0.05em; }
@keyframes scrollText { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.product-slider { position: relative; overflow: visible; padding: 20px; margin: -20px; }
.product-track { position: relative; width: 100%; min-height: 500px; }
.product-card { position: absolute; top: 0; left: 0; width: 100%; display: flex; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); overflow: visible; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; z-index: 1; }
.product-card.is-active { position: relative; opacity: 1; visibility: visible; z-index: 2; }
.product-visual { width: 50%; position: relative; margin: 0; background: none; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.product-card.is-active .product-visual img { animation: scaleIn 1s ease forwards; }
@keyframes scaleIn { from { transform: scale(1.1); } to { transform: scale(1); } }
.product-info { width: 50%; position: relative; padding: 80px 100px 120px 70px; display: flex; flex-direction: column; justify-content: center; background-image: url(../images/roll_box.png); background-repeat: no-repeat; background-position: center; background-size: cover; }
.product-eyebrow { display: block; font-size: 20px; color: #CB1723; font-weight: 500; font-family: "Montserrat", sans-serif; position: relative; padding-top: 25px; }
.product-eyebrow::before { content: ''; position: absolute; top: 0; left: 0; width: 34px; height: 3px; background: #CB1723; }
.product-title { font-size: 54px; margin: 0 0; font-weight: 700; letter-spacing: -2px; line-height: 1.1; color: #000; }
.product-lead { font-size: 25px; font-weight: 400; color: #111; margin-bottom: 30px; line-height: 1.3; letter-spacing: -1px; word-break: keep-all; }
.product-desc { font-size: 16px; color: #555; line-height: 1.7; margin-bottom: 40px; word-break: keep-all; max-width: 95%; }
.product-action { position: static; }
.product-dots { position: absolute; left: 70px; bottom: 70px; display: flex; gap: 8px; }
.p-dot { width: 12px; height: 12px; background: #e0e0e0; border-radius: 50%; transition: 0.3s; border: none; padding: 0; }
.p-dot.active { background: #CB1723; }
.btn-more { position: absolute; right: 0; bottom: 0; width: 180px; height: 70px; display: inline-flex; align-items: center; justify-content: center; background: #CB1723; color: #fff; font-size: 16px; font-weight: 600; transition: 0.3s; border-radius: 0; }
.btn-more::after { content: "›"; font-size: 20px; margin-left: 8px; margin-top: -2px; font-weight: 400; }
.btn-more:hover { background: #a0151a; }

.prod-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid #ddd; /* 옅은 테두리 */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 화살표 아이콘 (CSS로 그림) */
.prod-arrow::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333; /* 검정색 화살표 */
    border-right: 2px solid #333;
    transition: all 0.3s ease;
}

/* 위치 설정 (PC: 카드 바깥쪽) */
.prod-prev { left: -80px; }
.prod-prev::before { transform: rotate(-135deg); margin-left: 4px; }

.prod-next { right: -80px; }
.prod-next::before { transform: rotate(45deg); margin-right: 4px; }

/* 호버 효과 */
.prod-arrow:hover {
    background: #CB1723; /* 브랜드 컬러 */
    border-color: #CB1723;
}
.prod-arrow:hover::before {
    border-color: #fff; /* 흰색 화살표 */
}



/* ==========================================================================
   5. SPACE SECTION (Tabs + Overlap + Fixed BG)
   ========================================================================== */
.space-section { position: relative; z-index: 5; margin-top: -150px; padding: 0; }
.space-tab-nav { background: #111 url('/assets/images/main_sec_bg.png') no-repeat center center; background-size: cover; background-attachment: fixed; position: relative; padding: 160px 0 140px; text-align: center; }
.space-tab-nav::before { content:''; position: absolute; inset: 0; }
.space-tab-nav .inner { position: relative; z-index: 1; }
.tab-buttons { display: inline-flex; gap: 30px; }
.tab-btn { font-size: 23px; color: rgba(255,255,255,0.5); font-family: "Montserrat", sans-serif; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: 0.3s; }
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: #fff; border-color: #fff; font-weight: 600; }
.space-content-wrap { padding: 80px 0 100px; position: relative; z-index: 6; margin-top: -80px; padding: 0 0 100px; }
.space-content-wrap .inner { background-color: #fff; border-radius: 0; padding: 60px 20px; box-shadow: none; }
.tab-pane { display: none; animation: fadeIn 0.6s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }

.section-head.text-center { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 52px; font-weight: 500; color: #111; letter-spacing: -1px; margin-bottom: 20px; display: inline-flex; align-items: baseline; justify-content: center; gap: 12px; margin-top:-10px; }
.section-title span { font-family: "Montserrat", sans-serif; font-size: 20px; color: #CB1723; font-weight: 700; letter-spacing: 0.05em; transform: translateY(-7px); }
.section-desc { max-width: 800px; margin: 0 auto; word-break: keep-all; font-size: 17px; line-height: 1.75; color: #444; letter-spacing: -0.5px; }

.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.space-grid.grid-2 {grid-template-columns: repeat(2, 1fr);}
.img-card { display: block; position: relative; overflow: hidden; height: 400px; border-radius: 0; }
.img-card .img-box { width: 100%; height: 100%; overflow: hidden; }
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000); }
.img-card .txt-box { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; transition: padding-bottom 0.4s ease; }
.card-name { font-size: 16px; font-weight: 500; transition: transform 0.4s ease; }
.icon-arrow-right { display: block; width: 20px; height: 20px; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%; position: relative; transition: all 0.4s ease; }
.icon-arrow-right::before { content:''; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: translate(-65%, -50%) rotate(45deg); }
.img-card:hover img { transform: scale(1.1); }
.img-card:hover .txt-box { padding-bottom: 30px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.img-card:hover .card-name { transform: translateY(-2px); }
.img-card:hover .icon-arrow-right { border-color: #fff; background: #fff; transform: translateX(5px); }
.img-card:hover .icon-arrow-right::before { border-color: #111; }

.space-grid .img-card.sp{
    cursor: default; /* 손가락 모양 대신 기본 화살표로 변경 */
    pointer-events: none; /* 클릭 이벤트 자체를 막음 (선택 사항) */
}

/* ==========================================================================
   6. PHILOSOPHY SECTION (Fixed Background)
   ========================================================================== */
.philosophy { position: relative; width: 100%; background: url('../images/main_sec_bg2.png') no-repeat center center; background-size: cover; background-attachment: fixed; padding: 180px 0; color: #fff; overflow: hidden; }
.philosophy::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; /*background: rgba(0, 0, 0, 0.4);*/ z-index: 1; }
.philosophy-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.philosophy-text { flex: 1; width: 100%; max-width: 900px; padding-right: 60px; } 
.philo-copy-small { font-size: 30px; line-height: 1.6; font-weight: 300; margin-bottom: 35px; position: relative; padding-bottom: 30px; letter-spacing: -2px; }
.philo-copy-small::after { content: ""; display: block; width: 100%; height: 1px; background-color: rgba(255, 255, 255, 0.3); position: absolute; bottom: 0; left: 0; }
.philo-copy-main { font-size: 38px; font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -1px; }
.philosophy-title { text-align: right; white-space: nowrap; }
.philosophy-title span { font-family: "Montserrat", sans-serif; font-size: 100px; font-weight: 100; line-height: 1; letter-spacing: -2px; opacity: 0.9; }





.seo-company {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



/* ==========================================================================
   7. FOOTER (Center Aligned Text)
   ========================================================================== */
.site-footer { background: #0f0f0f; color: #fff; border-top: 1px solid #1a1a1a; padding: 70px 0; }

/*.footer-inner { 
  width: 100%; 
  max-width: 100%; 
  display: flex; 
  align-items: flex-end; 
  justify-content: space-between; 
  padding: 0 50px; 
  margin: 0 auto;
  position: relative; 
}*/

.footer-inner { 
  width: 100%; 
  max-width: 100%; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0 50px; 
  margin: 0 auto;
  /* [수정] 요소 간 최소 간격 확보 (겹침 방지) */
  gap: 40px; 
}


/* Left: Logo */
.footer-left { flex-shrink: 0; }
.footer-logo { font-family: "Montserrat", sans-serif; font-size: 32px; line-height: 1; letter-spacing: -1px; margin: 0; color: #fff; width:80%;}
.footer-logo span { font-weight: 300; margin-left: 2px; }

/* Center: Info (Absolute Center) 
.footer-center { 
  position: absolute; 
  left: 50%; 
  transform: translateX(-50%); 
  bottom: -10px; 
  text-align: center; 
  width: auto;
  white-space: nowrap; 
}*/

/* Center: Info (수정됨: Flex 기반 중앙 정렬) */
.footer-center { 
  /* [수정] absolute 제거 -> static으로 변경하여 흐름에 참여 */
  position: static; 
  transform: none; 
  
  /* [수정] 남은 공간을 모두 차지하며 가운데 정렬 */
  flex: 1; 
  text-align: center; 
  
  margin: 0;
  width: auto;
/*  white-space: nowrap; */
}


.footer-center p { margin: 0; font-size: 13px; color: #888; line-height: 1.8; font-family: "Pretendard", sans-serif; /*text-align:left;*/}
.footer-center p::first-line { color: #fff; font-size: 15px; font-weight: 700; line-height: 2; }
.footer-center span.ai {font-size:12px; color:#555;  text-align:left;}

/* Right: SNS */
.footer-right { flex-shrink: 0; padding-bottom: 3px; }
.footer-right a { font-size: 14px; margin-left: 30px; color: #fff; font-family: "Montserrat", sans-serif; font-weight: 500; transition: color 0.2s; }
.footer-right a:hover { color: #CB1723; }
.footer-right .dot { display: none; } 

/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .header-inner { height: 60px; padding: 0 16px; }
  .btn-gnb-toggle { display: flex; } .sns { display: none; }
  .gnb { position: static; height: auto; }
  .gnb > ul { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff; padding: 80px 0px 32px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; overflow-y: auto; display: none; z-index: 1000; }
  .site-header.mobile-open .gnb > ul { display: flex; }
  .gnb-indicator { display: none !important; }
  .gnb-item { display: block; height: auto; border-bottom: 1px solid #f3f3f3; padding: 0; }
  .gnb-item > a { display: flex; align-items: center; justify-content: space-between; font-size: 18px; padding: 16px 20px; width: 100%; }
  .gnb-item > a::after { content: ""; width: 8px; height: 8px; border-right: 1px solid #999; border-bottom: 1px solid #999; transform: rotate(45deg); transition: 0.2s; }
  .gnb-item.is-open > a::after { transform: rotate(-135deg); }
  .sub-menu { position: static; display: block; max-height: 0; overflow: hidden; background: #f9f9f9; padding: 0 16px; opacity: 1; visibility: visible; box-shadow: none; width: auto; transform: none; transition: max-height 0.3s; min-width: auto; }
  .sub-menu::before { display: none; }
  .gnb-item.is-open .sub-menu { max-height: 300px; /*padding-bottom: 14px; padding-top: 6px;*/padding:10px 30px; }
  .sub-menu li { margin: 6px 0; text-align: left; padding-left: 0; }
  .sub-menu li a { font-size: 15px; color: #555; padding: 6px 0; display: block; font-family: "Montserrat", sans-serif; font-weight: 500; }
  .hero-title { font-size: 42px; word-break: keep-all; /* 단어 단위로 줄바꿈 */word-wrap: break-word;} 
  .hero-title .eng { font-size: 44px; }
  .product-card { flex-direction: column; }
  .product-visual { width: 100%; height: 300px; }
  .product-info { width: 100%; padding: 40px 45px; text-align:center;}
  .product-title { font-size: 32px; margin-bottom: 0px;  text-align:center;}
  .product-lead { font-size: 16px; margin-bottom: 20px;  text-align:center; line-height:150%;}
  .product-action { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; position: static; }
  .product-dots { position: static; margin: 0; }
  .btn-more { position: static; width: auto; height: 50px; padding: 0 30px; border-radius: 99px; margin-top: 0; }
  .prod-arrow { width: 40px; height: 40px;  border: none; background: rgba(255, 255, 255, 0.8); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
  
    /* 위치를 이미지 위쪽 중앙 근처로 배치하거나 양옆에 붙임 */
    .prod-prev { left: 10px; }
    .prod-next { right: 10px; }
    
    .prod-arrow:hover { background: #fff; border-color: transparent; }
    .prod-arrow:hover::before { border-color: #333; }
  .product-desc {display:none;}
  .product-eyebrow::before  {left:45%;}
  .product-eyebrow {font-size:16px;}
  
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .img-card { height: 320px; }
  .section-title { font-size: 34px; margin-bottom: 20px; margin-top:20px;}
  .section-title span { font-size: 14px; }
  .section-desc { font-size: 15px; }
  .philosophy { padding: 120px 0; background-attachment: scroll; }
  .philosophy-inner { flex-direction: column-reverse; align-items: flex-start; gap: 60px; }
  .philosophy-text { padding-right: 0; max-width: 100%; }
  .philosophy-title { text-align: left; width: 100%; }
  .philosophy-title span { font-size: 80px; }
  .philo-copy-small { font-size: 18px; padding-bottom: 30px; margin-bottom: 30px; letter-spacing: -1px; }
  .philo-copy-main { font-size: 28px; }
  
.site-footer { padding: 50px 0; }
  
  .footer-inner { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 40px; 
    padding: 0 24px; 
  }
  
  /* 모바일에서는 절대 위치 해제하고 흐름대로 배치 */
  .footer-center { 
    position: static; 
    transform: none; 
    text-align: left; 
    white-space: normal; 
    margin: 0;
  }
  
  .footer-right a { margin-left: 0; margin-right: 20px; }

   .mo-br { display: inline; }


.footer-logo {width:60%;}



}
  
  


@media (max-width: 768px) {


  .logo img {height:20px;}
  .inner, .header-inner { padding: 40px 16px; }
  .hero-visual { padding: 0; }
  .hero-inner { padding: 0; width: 100%; max-width: 100%; }
  .hero-slider { min-height: auto; height: 100vh; max-height: 400px; }
  .hero-text { position: absolute; top: 30px; left: 0; right: 0; padding: 0 24px; margin: 0; text-align: left; z-index: 10; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
  .hero-title { font-size: 30px; color: #fff; letter-spacing:0;} 
  .hero-title .eng { font-size: 35px;}
  .hero-desc { font-size: 15px; color: rgba(255,255,255,0.9); margin-top: 10px;letter-spacing:0; display:none;}
  .hero-image { margin: 0; height: 100%; } .hero-image img { height: 100%; object-fit: cover; }
  .hero-script { display: none; }
  .hero-controls { display: block; position: absolute; bottom: 24px; left: 0; right: 0; pointer-events: none; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 0; padding-bottom: 24px; }
  .marquee-wrap { top: 0px; }
  .marquee-content span { font-size: 18vw; }
  .highlight { padding-bottom: 40px; padding: 50px 0 0; }
  .highlight-inner { margin-bottom: -70px; }
  .product-title { font-size: 28px; }
  .tab-btn {font-size:18px;}
  .space-section { margin-top: 0; }
  .space-tab-nav { padding-top: 40px; padding-bottom: 60px; background-attachment: scroll; }
  .space-content-wrap { margin-top: 0; background: #fff; padding: 20px; width: 94%; margin: -50px auto 30px; }
  .space-content-wrap .inner { padding: 0; background: transparent; }
  .tab-buttons { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .space-grid, .space-grid.grid-2 { grid-template-columns: 1fr; }
  .pc-only { display: none; }
  .philosophy { padding: 100px 0; }
  .philosophy-title span { font-size: 56px; }
  .philo-copy-small { font-size: 16px; }
  .philo-copy-main { font-size: 24px; }
  /* [수정] 모바일 푸터 레이아웃 */
  .site-footer { padding: 50px 0; }
  .footer-inner {padding: 0 16px; }
  .footer-center { margin: 0; }
  .footer-right a { margin-left: 0; margin-right: 20px; }
}



/* ==========================================================================
   [수정] 모바일 링크/텍스트 색상 강제 고정 (파란색 방지)
   ========================================================================== */

/* 언어 설정(KR/EN) 버튼 색상 강제 */
.lang-switch button,
.lang-switch a,
.lang-current {
    color: #111 !important; /* 무조건 검정 */
    text-decoration: none !important; /* 밑줄 제거 */
}

/* (참고) 모바일 터치 시 생기는 파란색/회색 하이라이트 박스 제거 */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* 아이폰에서 전화번호로 인식해서 파랗게 변하는 것 방지 */
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}