@charset "UTF-8";
/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Pretendard Font Weights */
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff') format('woff');
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Black.woff') format('woff');
  font-weight: 900;
  font-display: swap;
}

/* 전체 페이지 기본 적용 */
html, body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400; /* 기본은 Regular */
  line-height: 1.4;
  color: #000;
  margin: 0;
  padding: 0;
}

/* 제목 스타일 예시 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700; /* Bold */
  margin: 0;
}

/* 본문 텍스트 */
p, span, li, a {
  font-weight: 400; /* Regular */
}

  
/* ===== Blob Hero ===== */
.blob-hero{
    position:relative;
    height: 800px; /* 모바일 세이프 */
    min-height: 520px;
    overflow:hidden;
    background: radial-gradient(1200px 60% at 50% 0%, #1b0f0f 0%, #0e0e12 45%, #000 100%);
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    isolation:isolate; /* mix-blend 겹침 분리 */
  }
  
  /* 텍스트 */
  .hero-copy { position:relative; z-index: 2; text-align:center; }
  .hero-copy h1 { font-weight:700; line-height:1.4; font-size: 48px; }
  
  /* 그라디언트 블롭 컨테이너 */
  .blobs{
    position:absolute; inset:-20%;
    filter: blur(100px); 
    z-index:1;
  }
  
  .blob{
    --x: 50%; --y: 50%; --size: 50vmax;
    position:absolute;
    width: var(--size); height: var(--size);
    left: var(--x); top: var(--y);
    transform: translate(-50%, -50%);
    border-radius:50%;
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0) 70%),
      radial-gradient(circle at 50% 50%, var(--c1), transparent 80%),
      radial-gradient(circle at 70% 70%, var(--c2), transparent 90%);
    opacity: 0.8;   /* 조금 더 은은하게 */
    mix-blend-mode: overlay;
    will-change: transform, left, top;
  }
  
  
  /* 블롭별 컬러 */
  .b1{ --c1:#8d2517; --c2:#ca341d; --size: 55vmax; }
  .b2{ --c1:#947567; --c2:#914a2b; --size: 25vmax; }
  
  /* 모션 줄임 설정 배려 */
  @media (prefers-reduced-motion: reduce){
    .blob{ animation:none !important; }
  }
  
  .rolling-text {
    font-size: 48px;
    font-weight: 750;
    text-align: center;
    line-height: 1.4;
    margin: 300px 0;
  }
  
  .dimmed,
  .quote {
    color: #551E15; /* 고정 텍스트 + 따옴표 */
    font-size: 48px;
    font-weight: 750;
  }
  
  .highlight-rolling {
    display: inline-block;
    position: relative;
    height: 1.6em; /* 글자 높이보다 살짝 크게 */
    overflow: hidden;
    vertical-align: bottom;
  
    /* 위/아래 경계 페이드 */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
  }

  .words {
    display: block;
    animation: rollUp 1s linear infinite;
    will-change: transform;
  }
  
  .words span {
    display: block;
    color: #E2DEDC; /* 기본 흐린 색 */
    font-weight: 750;
    /* 색 → 그라디언트 전환 시 부드럽게 */
    transition: color 0.6s ease, background 0.6s ease, -webkit-text-fill-color 0.6s ease;
  }
  
/* 기본 상태 */
.words span{
  color:#E2DEDC;
  font-weight:800;
  transition: color .6s ease, background .6s ease, -webkit-text-fill-color .6s ease;
}

/* 중앙(활성) 단어만 강조 */
.highlight-rolling .words span.active{
  background: linear-gradient(45deg, #ff6a00, #ff3366); 
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent; 
}
  
  /* 롤링 애니메이션 */
  @keyframes rollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* 단어 반복분량만큼 이동 → 무한 루프 */
  }
  
/* 검정 배경 섹션 */
.dark-section {
  background: #000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  position: relative;
  overflow: hidden;
}

.images {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 이미지 기본 스타일 */
.fade-img {
  border-radius: 16px;
  filter: grayscale(100%) blur(3px);
  opacity: 0; /* 처음엔 숨김 */
  transition: opacity 1s ease, transform 1s ease;
}

/* 크기 변형 */
.fade-img.small { width: 280px; }
.fade-img.medium { width: 320px; }
.fade-img.large { width: 500px; }

/* === 출발 위치 (최종 위치에서 -30px 위) === */
.fade-img:nth-child(1) {
  transform: translateY(30px) translateX(-200px);  /* 60px - 30px */
}
.fade-img:nth-child(2) {
  transform: translateY(-70px) translateX(-40px);  /* -40px - 30px */
}
.fade-img:nth-child(3) {
  transform: translateY(-110px) translateX(-260px); /* -80px - 30px */
}

/* === show 상태 (최종 위치) === */
.fade-img.show:nth-child(1) {
  opacity: 1;
  transform: translateY(60px) translateX(-200px);
}
.fade-img.show:nth-child(2) {
  opacity: 1;
  transform: translateY(-40px) translateX(-40px);
}
.fade-img.show:nth-child(3) {
  opacity: 1;
  transform: translateY(-80px) translateX(-260px);
}


/* 텍스트 박스 */
.text-box {
  position: absolute;  /* 이미지 위에 겹치게 */
  bottom: 20%;         /* 화면 아래쪽에서 위로 올려 배치 */
  color: #fff;
  z-index: 2;          /* 이미지보다 위 */
  left: calc((100vw - 1200px) / 2);
}

.text-box h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}

.text-box p {
  font-size: 20px;
  color: #4B4B4B;
  line-height: 1.6;
}

/* 섹션 배경 + 정렬 */
.whitebg {
  background: #fff;
  padding: 220px 20px;
  text-align: center;
}

/* 텍스트 스타일 */
.whitebg p {
  font-size:48px;
  font-weight: 750;
  line-height: 1.4;
  color: #551E15; /* 기본 텍스트 컬러 */
  margin: 0;
}

/* 하이라이트 부분 */
.whitebg .highlight {
  color: transparent;
  background: linear-gradient(45deg, #ff6a00, #ff3366);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 48px;
  font-weight: 750;
}

/* ALT 서비스 섹션 */
.alt-service {
  background: linear-gradient(to bottom, #FFEDE5 0%, #FFEDE5 78%, #fff 78%, #fff 100%);
  padding: 120px 20px;
  display: flex;              /* 추가: alt-inner 중앙 정렬 */
  flex-direction: column;     /* 세로 정렬 (위 alt-inner, 아래 카드그룹) */
  align-items: center;        /* 가로 중앙 정렬 */
}

/* alt-inner: 이미지+텍스트 그룹 */
.alt-inner {
  max-width: 1200px;
  margin: 0 auto 80px;
  display: flex;
  align-items: center;
  justify-content: center;   /* 가운데 정렬 */
  gap: 60px;
  flex-wrap: wrap;

  transform: translateX(1px);
}

.alt-illustration img {
  max-width: 100%;
  height: auto;
}

.alt-text {
  flex: 1;
  min-width: 300px;
}

.alt-text h2 {
  font-size: 48px;
  font-weight: 750;
  color: #551E15;
  margin-bottom: 20px;
}

.alt-text p {
  font-size: 20px;
  line-height: 1.6;
  color: #9D908A;
}

/* 카드 3개 */
.alt-card-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.alt-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px 30px 30px;
  flex: 1 1 300px;
  max-width: 360px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  text-align: left;
}

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

.alt-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #551E15;
  margin-bottom: 12px;
  text-align: left;
}

.alt-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #9D908A;
  margin-top: 16px;
  margin-bottom: 60px;
}

.alt-card img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}


  
  /* CTA */
  .cta {
    padding: 80px 20px;
    text-align: center;
  }

  .cta h3 {
    font-size: 48px;
    font-weight: 750;
    line-height: 1.4;
    color: #551E15;
  }
  .start-btn {
    margin-top: 80px;
    background: linear-gradient(45deg, #ff6a00, #ff3366);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 120px;
  }
  .start-btn:hover {
    transform: scale(1.05);
  }
  
  /* Footer */
  footer {
    background: #261C1A;
    color: #C8B5AD;
    text-align: center;
    padding: 20px;
    font-size: 12px;
  }
  
  /*alt page*/
/* ====== Glassy Fixed Nav (그라데이션 시작점 수정) ====== */
.nav-wrap{
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0 0;
  display: flex;
  justify-content: center;
}

/* 네비게이션 바 */
.navbar{
  pointer-events: auto;
  width: 95vw; /* 넓게 */
  max-width: 1800px;
  margin: 0 auto;
  border-radius: 999px;

  background: linear-gradient(
    83deg,
    rgba(255, 94, 69, 0.90) 0%,
    rgba(255, 94, 69, 0.90) 40%,
    rgba(255, 141, 113, 0.50) 100%
  );

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 3px 20px rgba(0,0,0,0.15);
  transition: all .3s ease;
}

/* 내부 정렬 */
.navbar__inner{
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* 로고 */
.logo{
  display: inline-flex;
  align-items: center;
}

/* 링크 */
.nav{
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}
.nav a{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  opacity: .95;
  transition: opacity .2s ease, transform .2s ease;
}
.nav a:hover{ opacity: 1; transform: translateY(-1px); }

/* 반응형 */
@media (max-width: 760px){
  .navbar__inner{ height: 56px; padding: 0 20px; }
  .nav-wrap{ padding: 12px 0 0; }
  body{ padding-top: 90px; }
}

/* 메뉴 리스트 기본 */
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
}
.menu__item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* 메뉴 버튼 기본 */
.menu__link,
.menu__btn {
  position: relative;
  z-index: 2;
  color: #fff;
  text-decoration: none;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  background: transparent;
  border: 1px solid transparent; /* 위치 변화 방지용 기본 투명 보더 */
  cursor: pointer;
  font: inherit;
  padding: 12px 18px;
  border-radius: 26px;
  /*transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform .25s ease;*/
}

/* ▼ 아이콘 제거 */
.chev { display: none; }

/* 기본: 마우스 오버 시 메뉴 둥근 박스 */
.menu__item:hover > .menu__btn,
.menu__item:hover > .menu__link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  transform: none;
}

/* ===========================
   특수 규칙: 햅틱 디바이스(2번째), 앱 서비스(3번째)
   - hover 시 텍스트 위치 변화 없음
   - 섀도우/스트로크 없이 '색상 박스'만 나타남
   =========================== */
/* 버튼(링크) 자체 */
.menu > .menu__item:nth-child(2) > .menu__btn,
.menu > .menu__item:nth-child(2) > .menu__link,
.menu > .menu__item:nth-child(3) > .menu__btn,
.menu > .menu__item:nth-child(3) > .menu__link{
  border: 1px solid transparent;
  transform: none;
}

/* hover 상태에서 '색상 박스'만 */
.menu > .menu__item:nth-child(2):hover > .menu__btn,
.menu > .menu__item:nth-child(2):hover > .menu__link,
.menu > .menu__item:nth-child(3):hover > .menu__btn,
.menu > .menu__item:nth-child(3):hover > .menu__link{
  background: rgba(255,141,113,0.5) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

/* ===========================
   추가 규칙: 무대 ALT 서비스(1번째), 브랜드 스토리(4번째)
   - hover 색상을 햅틱 디바이스와 동일하게 변경
   =========================== */
.menu > .menu__item:nth-child(1):hover > .menu__btn,
.menu > .menu__item:nth-child(1):hover > .menu__link,
.menu > .menu__item:nth-child(4):hover > .menu__btn,
.menu > .menu__item:nth-child(4):hover > .menu__link{
  background: rgba(255,141,113,0.5) !important; /* 동일한 코랄 톤 */
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

/* 드롭다운 전체 박스 */
.dropdown__panel {
  position: absolute;
  top: -5px;
  width: calc(100% + 10px);
  left: -5px;
  padding-top: 68px;
  padding-bottom: 10px;
  border-radius: 30px !important;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px);
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  display: none;
  transform-origin: top center;
  transform: translateY(-6px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1;
}

/* 마우스 오버 시 드롭다운 표시 */
.dropdown:hover > .dropdown__panel {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* 드롭다운 내부 링크 (hover 시 변화 없음) */
.dropdown__link {
  display: block;
  position: relative;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 400 !important;
  line-height: 1.4;
  background: transparent;
  border: none;
  transition: none;
  pointer-events: auto;
}

/* hover/focus/active 상태에서도 완전히 고정 */
.dropdown__link:hover,
.dropdown__link:focus,
.dropdown__link:active {
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  transform: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

/* 항목 사이 구분선 (박스보다 살짝 짧게) */
.dropdown__link + .dropdown__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

/* 드롭다운 박스 둥근 모서리 유지 */
.dropdown__panel {
  border-radius: 26px;
  overflow: hidden;
}


/* Hero 영역 */
:root{
  --hero-overlay: rgba(0,0,0,.0);
}

.hero{
  position:relative;
  min-height:610px;
  display:flex;
  align-items:center;
}
.hero__inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 180px;
}
.hero__title{
  font-size:48px;
  font-weight:700;
  margin-bottom:1rem;
  color:#fff;
}
.hero__desc{
  font-size:20px;
  color:rgba(255,255,255,0.85);
  line-height:1.6;
}

/* 섹션 레이아웃 */
.stage-section{ padding:160px 24px 40px; background-color: #F9F9F9;}
.stage-head{ text-align:center; margin-bottom: 36px; }
.stage-head h2{
  font-size: 48px;
  font-weight: 750;
  color:#551E15;
}
.stage-head p{ color:#551E15; font-size: 20px; font-weight:400; margin-top:20px; }


/* ==============================
   캐러셀 전체 수정 버전
   ============================== */
   .carousel{
    --card-w: clamp(260px, 28vw, 360px);   /* 카드 가로 */
    --gap: 28px;                           /* 카드 간 간격 */
    --btn-size: 48px;                      /* 버튼 크기 */
    --btn-offset: calc(var(--card-w)/2 + 440px); /* 버튼 좌우 거리 */
  
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px clamp(64px, 6vw, 120px); /* 좌우 여유 */
    overflow: visible;                     /* 버튼/그림자 보이게 */
    z-index: 1;
  }
  
  /* 카드 뷰포트: 가로 스크롤 방지, 세로는 여유 있게 */
  .carousel__viewport{
    position: relative;
    overflow-x: hidden;   /* 가로 스크롤 제거 */
    overflow-y: visible;  /* 윗부분 안 잘리게 */
  }
  
  /* 카드 트랙 */
  .track{
    position: relative;
    height: auto;
    min-height: 520px;
    list-style: none;
    margin: 0;
    padding: 10px 0;      /* 윗쪽 살짝 여유 */
    overflow: visible;    /* 윗부분/좌우 그림자 안 잘리게 */
  }
  
  /* 카드 기본 */
  .card{
    --offset: 0;
    --scale: .94;
    --elev: 0;
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--card-w);
    transform: translateX(calc(-50% + (var(--offset) * (var(--card-w) + var(--gap))))) scale(var(--scale));
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
                filter .35s, z-index .35s, opacity .25s;
    z-index: calc(10 + var(--elev));
    filter: saturate(.95);
  }
  
  /* 카드 내용 */
  .card__body{
    background:#fff;
    border-radius:18px;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
    padding:22px;
    height:420px;
    overflow:hidden;          /* 카드 밖으로 넘치는 이미지 잘라냄 */
    contain: paint;           /* 일부 브라우저에서 클리핑 안정화 */
  }
  
  /* 타이틀/메타/설명 그대로 */
  .card__title{
    font-size:24px;
    font-weight:700;
    color:#551E15;
    margin:20px 5px 6px;
  }
  .card__meta{
    font-size:15px;
    display:block;
    color:#9D908A;
    font-weight:600;
    margin:0 5px 16px;
  }
  .card__desc{
    font-size:15px;
    color:#9D908A;
    line-height:1.5;
    margin:0 5px 32px;
  }
  
  /* 이미지 둥근 모서리 강제 적용(HTML 수정 없이) */
  .card__img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:16/9;
    object-fit:cover;
  
    /* 기본 라운드 (지원 브라우저에서 우선) */
    border-radius:12px;
  
    /* 레이어/사파리 이슈 대응: 클리핑 강제 */
    clip-path: inset(0 round 12px);

    /* 표준 마스크 속성 */
    mask-image: radial-gradient(white, black);
    mask-mode: alpha;
    
    /* Safari 및 WebKit 브라우저 호환용 */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    -webkit-mask-mode: alpha;
    
  
    /* 합성 이슈 대비 */
    backface-visibility:hidden;
    transform: translateZ(0);
    will-change: clip-path;
  }
  
  
  /* 중앙 카드 강조 */
  .card.is-center{
    --scale: 1.06;
    --elev: 5;
    filter: saturate(1);
  }
  
  /* 좌우 버튼 */
  .nav-btn{
    position: absolute;
    top: 40%;             /* 카드 세로 중앙쯤 */
    left: 50%;
    width: var(--btn-size);
    height: var(--btn-size);
    border-radius: 999px;
    background: #D8D1CE;
    border: none;
    color:#7a5a50;
    font-size: 26px;
    font-weight:700;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;          /* 항상 위로 */
    transition: transform .18s ease, opacity .18s ease;
  }
  
  /* 버튼 좌우 정렬 */
  .nav-btn.prev{
    --tx: calc(-50% - var(--btn-offset));
    transform: translate(var(--tx), -50%);
  }
  .nav-btn.next{
    --tx: calc(-50% + var(--btn-offset));
    transform: translate(var(--tx), -50%);
  }
  
  /* 호버 시 크기 변화 */
  .nav-btn:hover{
    transform: translate(var(--tx), -50%) scale(1.06);
  }
  .nav-btn:active{
    transform: translate(var(--tx), -50%) scale(.98);
  }
  
  /* 반응형 */
  @media (max-width: 960px){
    .track{ min-height: 480px; }
  }
  @media (max-width: 600px){
    .carousel{
      --btn-size: 44px;
      --btn-offset: calc(var(--card-w)/2 + 36px);
    }
  }
  

/* 왼쪽/오른쪽 각각 중앙에서 좌우로 이동 */
.nav-btn.prev{ --tx: calc(-50% - var(--btn-offset)); transform: translate(var(--tx), -50%); }
.nav-btn.next{ --tx: calc(-50% + var(--btn-offset)); transform: translate(var(--tx), -50%); }

/* 호버/액티브 효과 유지 (중앙 기준 배치가 흐트러지지 않게 커스텀 변수 사용) */
.nav-btn:hover{ transform: translate(var(--tx), -50%) scale(1.06); }
.nav-btn:active{ transform: translate(var(--tx), -50%) scale(.98); }

/* (선택) 반응형 보정 */
@media (max-width: 600px){
  .carousel{ --btn-size: 44px; --btn-offset: calc(var(--card-w)/2 + 36px); }
  .track{ min-height: 480px; }
}


/* 반응형 높이/버튼 보정 */
@media (max-width: 960px){
  .track{ min-height: 520px; }
}
@media (max-width: 600px){
  .carousel{ padding: 0 48px; --btn-size: 44px; --btn-offset: calc(var(--card-w)/2 + 36px); }
  .track{ min-height: 480px; }
}

#stageDetail {
  text-align: center;
  margin-top: 60px;
}
#detailImg {
  width: clamp(280px, 50vw, 640px);
  border-radius: 20px;
  transition: opacity .4s ease;
}
#detailImg.fade {
  opacity: 0;
}

.stage-section,
.carousel,
.track {
  overflow: visible !important;
}

body {
  overflow-x: hidden !important; /* 가로 스크롤 방지 */
}

/* 버튼이 가려지거나 카드가 짤릴 때 대비 */
.stage-section * {
  overflow: visible !important;
}

/* 카드 위 여유 조금 추가 */
.track {
  padding-top: 40px !important;
}

/* ===== Step 2. 장면 선택 ===== */
.scene-section{
  background:#160D0D;
  padding: 160px 24px 40px;
  color:#fff;
}
.scene-head{ text-align:center; margin: 0 auto 28px; }
.scene-head h2{ font-size: 48px; font-weight: 700; }
.scene-head p{ margin-top: 20px; color: #fff; font-size: 20px; }

.scene-filter{
  display:flex; flex-wrap:wrap; gap:12px;
  justify-content:center; margin: 60px auto 48px;
}
.pill{
  appearance:none; border:0; cursor:pointer;
  padding: 12px 20px; border-radius: 999px;
  background: #3A2F2D;
  color:#e8e6e5; font-size:18px; font-weight:400;
  transition: background .2s ease, transform .15s ease, color .2s ease;
}
.pill:hover{ font-weight: 600; transition: ease-in 0.1s; }
.pill.is-active{
  background: linear-gradient(45deg,#ff6a00,#ff3366);
  font-size:18px; font-weight: 600; color:#fff;
}

.scene-grid{
  width: min(1200px, 100%);
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px,1fr));
  gap: 28px;
}
.scene-card{
  display:block; border-radius:16px; overflow:hidden;
  background:#222;
  transition: transform .2s ease, box-shadow .2s ease;
}
/*.scene-card:hover{ }*/
.scene-thumb{
  width:100%; aspect-ratio:16/9; object-fit:cover; display:block;
}

@media (max-width: 960px){
  .scene-grid{ grid-template-columns: repeat(2, minmax(220px,1fr)); }
}
@media (max-width: 560px){
  .scene-grid{ grid-template-columns: 1fr; }
}

.intro {
  background-color: #fff;
  color: #551E15;
  text-align: center;
  padding: 160px 24px 40px;
}

.intro__inner {
  max-width: 900px;
  margin: 0 auto;
}

.intro h2 {
  font-size: 48px;
  font-weight: 750;
}

.intro p {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  margin-top: 20px;
}

.ent-banner {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 60px 0;
}

.ent-track {
  display: flex;
  width: calc(200%); /* 이미지 복제용 */
  animation: slide 30s linear infinite;
}

.ent-track img {
  height: 40px;
  margin: 0 25px;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 섹션(로고 배너 아래에 붙이기) */
.card-marquee{
  --gap: 28px;          /* 카드 간격 */
  --card-w: 360px;      /* 카드 너비 */
  --card-h: 520px;      /* 카드 높이 */
  --speed: 50s;         /* 흐르는 속도 (작을수록 빠름) */
  background:#F9F9F9;
  padding: 40px 0 40px;
  overflow:hidden;
  position:relative;
}

/* 트랙: 가로로 흘러감 */
.card-track{
  display:flex;
  gap: var(--gap);
  width:max-content;              /* 내용 너비만큼 */
  animation: marquee var(--speed) linear infinite;
}
.card-track:hover{ animation-play-state: paused; } /* 호버시 일시정지 */

/* 카드 스타일 */
.c{
  width: var(--card-w);
  height: 400px;
  padding: 24px;
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
  color:#551E15;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:0 0 auto; /* 줄바꿈 금지 */
}
.c h3{ font-size:24px; font-weight:700; line-height:1.6; }
.c .sub{ font-size: 15px; color:#9D908A; font-weight:600; }
.c .desc{ font-size:15px; color:#b7a7a0; font-weight:400; line-height:1.6; }
.c img{
  width:100%; height:auto; object-fit:cover;
  border-radius:12px; margin-top:auto;
}

/* 무한 루프: 한 세트 너비만큼 이동 */
@keyframes marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(calc(-1 * ( (var(--card-w) + var(--gap)) * 7 ))); }
  /* 7 = 1세트 카드 개수. 카드 수 바꾸면 여기 숫자도 맞춰줘 */
}

/* 반응형 */
@media (max-width:1200px){
  .card-marquee{ --card-w:320px; --card-h:490px; --gap:24px; }
}
@media (max-width:768px){
  .card-marquee{ --card-w:270px; --card-h:450px; --gap:20px; --speed:24s; }
}

/* 접근성: 사용자 선호 시 애니메이션 끄기 */
@media (prefers-reduced-motion: reduce){
  .card-track{ animation: none; }
}

.review {
  background-color: #F3ECE9;
  text-align: center;
  padding: 160px 24px 160px;
  color: #551E15;
}

.review h2 {
  font-size: 48px;
  font-weight: 750;
  margin-bottom: 60px;
  line-height: 1.4;
}

.review__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* 후기 카드 */
.review__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: flex;
  overflow: hidden;
  width: 100%;
  text-align: left;
}

.review__img {
  width: 45%;
  height: auto;
  object-fit: cover;
}

.review__text {
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.review__logo {
  width: 120px;
  margin-bottom: 12px;
}

.review__text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #551E15;
}

.review__text p {
  font-size: 15px;
  color: #9D908A;
  line-height: 1.6;
  margin-bottom: 18px;
}

.review__author {
  font-size: 15px;
  font-weight: 600;
  color: #9D908A;
}

/* 반응형 */
@media (max-width: 768px) {
  .review__card {
    flex-direction: column;
  }
  .review__img {
    width: 100%;
  }
  .review__text {
    padding: 24px;
  }
}

.fan-review {
  background: url("img/brand_service/fan.png") center/cover no-repeat;
  color: #fff;
  padding: 160px 24px;
  text-align: center;
}

.fan-review__inner {
  max-width: 960px;
  margin: 0 auto;
}

.fan-review h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 70px;
}

.fan-review .nreview {
font-weight: 700;
}

.fan-review .highlight {
    background: linear-gradient(45deg, #ff6a00, #ff3366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* 일부 브라우저 호환용 */
    font-weight: 700;
}

/* 후기 카드 그리드 */
.fan-review__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; /* 좌우 간격 줄이기 */
  justify-content: center;
}

/* 카드 */
.fan-card {
  width: 300px;
  margin: 0 auto;
  background-color: #fff;
  color: #551E15;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: left;
}

/* 따옴표 이미지 */
.fan-card .quote {
  width: 28px;
  margin-bottom: 20px;
}

.fan-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.fan-card p {
  font-size: 15px;
  color: #9D908A;
  line-height: 1.5;
  margin-bottom: 20px;
}

.fan-card__author {
  font-size: 15px;
  font-weight: 600;
  color: #9D908A;
}

/* 반응형 */
@media (max-width: 1024px) {
  .fan-review__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fan-review__grid {
    grid-template-columns: 1fr;
  }
  .fan-review h2 {
    font-size: 1.6rem;
  }
}

/* 섹션 베이스 */
.lefttext{
  position: relative;
  padding: 160px 24px;
  background: url("img/brand_service/finalbg.png") center/cover no-repeat; /* 배경 이미지 */
  overflow: hidden;
  color: #551E15;
}

/* 내용 레이아웃 */
.lefttext__inner{
  position: relative;   /* 오버레이 위로 */
  z-index: 2;
  max-width: 1100px;
  padding-left: 264px;
  text-align: left;
}

.lefttext h2{
  font-weight: 750;
  font-size: 48px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.lefttext p{
  color: #551E15;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* 만약 ::before/::after 오버레이가 있을 경우 호버 막지 않도록 */
.lefttext::before,
.lefttext::after{
  pointer-events: none;
}

/* 버튼 */
.btn-grad{
  position: relative;          /* z-index 적용을 위해 추가 */
  display: inline-block;       /* transform 적용 안정화 */
  margin-top: 80px;
  margin-bottom: 0;
  padding: 15px 40px;
  border: 0;
  border-radius: 100px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(45deg, #ff6a00, #ff3366);
  transition: transform .3s;   /* 무엇을 애니메이션할지 명시 */
  z-index: 3;                  /* 오버레이 위로 */
  transform: translateZ(0);    /* 하드웨어 가속(일부 브라우저 보정) */
}

.btn-grad:hover{
  transform: scale(1.05);
}


