/* ==================== 01. Fonts And Design Tokens ==================== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

@font-face {
    font-family: 'Pretendard';
    src: url('../../../../fonts/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../../../fonts/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../../../fonts/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../../../fonts/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../../../fonts/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../../../fonts/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

:root {
  /* ── Wood & Warm Neutral Palette ── */
  --tone-linen:      #CEC5B7;   /* 부드러운 린넨 베이지 */
  --tone-sand:       #EDE4D7;   /* 따뜻한 샌드 */
  --tone-olive:      #8C7B5E;   /* 올리브 우드 */
  --tone-stone:      #6B5E50;   /* 웜 스톤 브라운 */
  --tone-ivory:      #F5F0E8;   /* 크림 아이보리 */
  --tone-ink:        #1A1209;   /* 에스프레소 블랙 */
  --tone-bark:       #3D2B1F;   /* 다크 바크 브라운 */
  --tone-moss:       #7A6348;   /* 모스 브라운 */
  --tone-sage:       #9C8468;   /* 세이지 우드 */
  --tone-leaf-light: #D4C2A8;   /* 라이트 우드 */
  --tone-forest:     #2A1F14;   /* 딥 에스프레소 (다크 섹션) */
  --tone-leaf:       #6B4E2A;   /* 미디엄 월넛 */
  --tone-mint:       #8B6914;   /* 골드 앰버 (포인트 컬러) */
  --tone-mint-soft:  #C9A96E;   /* 소프트 골드 */
  --tone-frost:      #F0E9DA;   /* 웜 크림 */
  --marquee-width: 100vw;
  --marquee-elements-displayed: 8;
  --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
  --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
  --marquee2-width: 100vw;
  --marquee2-elements-displayed: 8;
  --marquee2-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
  --marquee2-animation-duration: calc(var(--marquee-elements) * 3s);
}

/* ==================== 02. Base Elements And Resets ==================== */
* {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui,
               Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo',
               'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

/* 스크롤바 숨기기 */
  body::-webkit-scrollbar {
    width: 3px;
    /* 수직 스크롤바 너비를 0으로 설정하여 숨깁니다. */
  }

/* 수직 스크롤바를 숨길 때, 수평 스크롤바도 함께 숨기려면 아래 스타일을 추가합니다. */
  body::-webkit-scrollbar-track {
    background-color: transparent;
    /* 스크롤바 트랙을 투명하게 설정하여 숨깁니다. */
  }

.custom-checkbox-outline.custom-checkbox .custom-control-label::after {
  background-image: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--tone-ivory);
  color: var(--tone-ink);
}

.orange{
  color: var(--tone-leaf-light) !important;
}

.row::before, .row::after {
    display: none !important; /* 가상 요소 제거 */
    content: none !important; /* 내용 제거 */
}

.custom-control-input:checked~.custom-control-label::before{
  border-color: var(--tone-mint) !important;
  background-color: var(--tone-mint) !important;
}

input::file-selector-button {
  display: none;
}

#footerlogo{
  background-color: #fff;
  border-radius: 50%;
}

/* ==================== 03. Bootstrap Theme Overrides ==================== */
.navbar-light .navbar-nav .nav-link {
  color: var(--tone-bark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--tone-mint);
}

.dropdown-menu {
  background-color: var(--tone-ivory);
  border-color: var(--tone-sand);
}

.dropdown-item {
  color: var(--tone-bark);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--tone-frost);
  color: var(--tone-bark);
}

.card {
  background-color: var(--tone-ivory);
  border-color: var(--tone-sand);
}

.table {
  color: var(--tone-ink);
}

.table td,
.table th {
  border-color: var(--tone-sand);
}

.text-muted {
  color: var(--tone-stone) !important;
}

.progress {
  background-color: var(--tone-sand);
}

.form-control,
.custom-select {
  color: var(--tone-ink);
  background-color: var(--tone-ivory);
  border-color: var(--tone-linen);
}

.form-control:focus,
.custom-select:focus {
  color: var(--tone-ink);
  background-color: var(--tone-ivory);
  border-color: var(--tone-mint);
  box-shadow: 0 0 0 0.2rem rgba(139, 105, 20, 0.18);
}

.nav-item.selected .nav-link{
  color: var(--tone-mint) !important;
}

.dropdown-item{
  font-size: 15px;
}

/* ==================== 04. Layout Utilities And Shared Helpers ==================== */
@media (min-width: 800px) {
  #footerlogo{
    width: 80%;
  }
}

/* 768~1024 구간만 따로 조정하고 싶으면 이렇게 범위로 */
@media (min-width: 381px) and (max-width: 1024px) {
  #footerlogo{
    width: 100%;
  }
}

.equal-row {
  display: flex;
  align-items: stretch;
}

.equal-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.equal-row .box {
  flex: 1;
}

.main-category{
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  padding: 1rem 0;
}

/* ===== 스크롤 애니메이션 핵심 ===== */
.reveal{
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.reveal[data-reveal="left"]{ transform: translate3d(-18px, 0, 0); }

.reveal[data-reveal="right"]{ transform: translate3d(18px, 0, 0); }

.reveal.is-visible{
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* 접근성: 움직임 최소화 설정 사용자 배려 */
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; opacity: 1; transform: none; }
}

.drag-scroll {
  user-select: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  overflow-x: auto;
  overflow-y: hidden;
}

.drag-scroll:active {
  cursor: grabbing;
}

.drag-scroll::-webkit-scrollbar {
  height: 6px;
}

.drag-scroll::-webkit-scrollbar-thumb {
  background: rgba(243, 242, 237, 0.65);
  border-radius: 999px;
}

.drag-scroll::-webkit-scrollbar-track {
  background: rgba(243, 242, 237, 0.18);
  border-radius: 999px;

  /* 스크롤바 양끝 여백 */
  margin-left: 32px;
  margin-right: 32px;
}

.bottom-gap{
  padding: 4rem 0;
}

.btn-orange {
  background-color: var(--tone-mint) !important;
  border-color: var(--tone-mint) !important;
  color: #F5F0E8 !important;
  border-radius: 0 !important;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.btn-orange:hover {
  background-color: #705410 !important;
  border-color: #705410 !important;
  color: #F5F0E8 !important;
  opacity: 1;
}

.btn-portfolio.active {
  background-color: var(--tone-mint) !important;
  border-color: var(--tone-mint) !important;
  color: var(--tone-ivory) !important;
}

.btn-portfolio {
  background-color: var(--tone-moss) !important;
  border-color: var(--tone-moss) !important;
  color: var(--tone-ivory) !important;
  border-radius: 0 !important;
}

.btn-portfolio:focus { box-shadow: none !important;}

/* ==================== 05. Header Navigation ==================== */
.navbar-expand-lg .navbar-nav .nav-link{
  font-size: 23px;
  font-weight: 500;
  padding-right: 1rem !important;
  padding-left: 1rem !important;

}

.navbar-expand-lg .navbar-nav .nav-link.sub-page {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.navbar-expand-lg .navbar-nav .nav-link.sub-page span,
.navbar-expand-lg .navbar-nav .nav-link.sub-page::after {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.navbar-expand-lg .navbar-nav .nav-link.sub-page span {
  display: block;
}

.navbar-expand-lg .navbar-nav .nav-link.sub-page::after {
  content: attr(data-hover);
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 10px));
  color: var(--tone-bark);
}

.navbar-expand-lg .navbar-nav .nav-link.sub-page:hover span,
.navbar-expand-lg .navbar-nav .nav-link.sub-page:focus span {
  opacity: 0;
  transform: translateY(-10px);
}

.navbar-expand-lg .navbar-nav .nav-link.sub-page:hover::after,
.navbar-expand-lg .navbar-nav .nav-link.sub-page:focus::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* ==================== 06. Floating Quick Controls ==================== */
/* quick animation  */
  #quk_warp>.qus_area>.btn_quk_warp>span{-webkit-transition: .3s; transition: .3s; transform-origin: 50% 50%;}

#quk_warp {width:70px; font-size:0; line-height:0;right:50px; bottom:100px; position:fixed;   z-index:998 !important;display:inline-block;}

#quk_warp>.qus_area{position: relative;}

#quk_warp>.qus_area>.btn_quk_warp {width:70px; height:70px; background-color:var(--tone-ivory); background-repeat:no-repeat; background-position:right center;  display:inline-block; box-sizing:border-box; overflow:hidden; border-radius:50px; position: relative;box-shadow: 5px 5px 8px 0px rgba(11,17,21,0.1);
  -webkit-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-o-transition: all 0.5s ease;transition: all 0.5s ease;}

#quk_warp>.qus_area>.btn_quk_warp:first-child {background-color:var(--tone-ivory);}

#quk_warp>.qus_area>.btn_quk_warp>span{font-size:16px; line-height:70px; color: var(--tone-ink); position: relative; opacity: 0; display:block;}

#quk_warp>.qus_area>.btn_quk_warp.iconss03{background-image: url('../image/quick_icon04.png');

  }

#quk_warp>.qus_area>.btn_quk_warp:hover {width:155px;-webkit-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-o-transition: all 0.5s ease;transition: all 0.5s ease; margin-left:-85px;}

#quk_warp>.qus_area>.btn_quk_warp:hover>span{padding-left:25px; opacity:1; -webkit-transition-delay: .2s; transition-delay: .2s;}

#quk_warp>.qus_area>.btn_quk_warp:hover.iconss03{background-image: url('../image/quick_icon04.png');}

/* 태블릿 대응 */
@media (max-width: 767px){
  #quk_warp {width:50px; right:10px; bottom:70px;}
  #quk_warp>.qus_area>.btn_quk_warp {width:50px; height:50px;background-position:95% 50%; background-size:50px 50px;}
  #quk_warp>.qus_area>.btn_quk_warp>span { font-size:14px; line-height:50px;}
  #quk_warp>.qus_area>.btn_quk_warp:hover {width:135px;}
  #quk_warp>.qus_area>.btn_quk_warp:hover>span {padding-left:20px;}
}

/* 모바일 대응2 */
@media (max-width: 499px){
  #quk_warp>.qus_area>.btn_quk_warp:first-child:hover {background-color:var(--tone-sage);}
  #quk_warp>.qus_area>.btn_quk_warp:hover {width:50px; margin-left:0;}
  #quk_warp>.qus_area>.btn_quk_warp:hover>span {padding-left:0px; display:none;}
  #quk_warp>.qus_area>.btn_quk_warp:hover.iconss03{background-image: url('/static/assets/img/quick_icon03.png'); background-color:var(--tone-ivory);}
}

/* ==================== 07. Main Page ==================== */
.main-service-section{
  display: flex;
  justify-content: center;
  gap: 20px;
}

.main-service-section.drag-scroll {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
}

.service-scroll-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  max-width: 100%;
}

.service-scroll-item {
  flex: 0 0 360px;
  width: 360px;
}

@media (max-width: 799px) {
  .service-scroll-item {
    flex: 0 0 80vw;
    width: 80vw;
  }
}

.service-card, .service-card-img {
  border-top-right-radius: 15px !important;
  border-top-left-radius: 15px !important;
}

.service-card {
    height: auto;
    margin-bottom: 0;
    overflow: hidden;
}

.service-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card .card-body {
    padding: 1rem;
}

.service-card .card-title {
    line-height: 1.3;
    margin-bottom: .5rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.service-card p {
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.service-card-img {
    width: 100%;
    height: 200px !important;       
    object-fit: cover;   
}

.card-title{
  font-size: 25px !important;
}

/* PC: 800px 이상 */
@media (min-width: 800px) {
  .onlyMobile {
    display: none !important;
  }
}
/* ==================== 08. Shared About Hero ==================== */
@media (max-width: 799px) {
  .onlyPC {
    display: none !important;
  }
  #footerlogo{
    width: 70%;
  }

  .drag-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .main-service-section {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 15px;
    padding-left: 15px;
    -webkit-overflow-scrolling: touch;
  }

  .service-scroll-row {
    gap: 14px;
    max-width: none;
  }

  .service-card .card-body {
    padding: .875rem;
  }

  .service-card .card-title {
    font-size: 21px !important;
  }

  .service-card p {
    font-size: 15px !important;
  }

  .service-card-img {
    height: 180px !important;
  }
}

/* ==================== 09. Portfolio List And Cards ==================== */
/* 카드 전체를 세로 정렬 */
.portfolio-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 이미지 고정 */
.portfolio-item img {
  height: 170px;
  object-fit: cover;
}

/* card-body를 자동 확장 */
.portfolio-item .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
  align-items: flex-start;
}

/* 제목 영역이 남은 공간 차지 */
.portfolio-item .card-title {
  flex-grow: 1;
}

/* 버튼은 항상 아래로 */
/* ====== PORTFOLIO HEADER ====== */
.portfolio-hero h1 {
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 3rem;
  font-size: 40px;
}

.portfolio-hero .sub {
  margin-top: 6px;
  color: var(--tone-stone);
  font-size: 16px;
}

/* ====== FILTERS ====== */
.portfolio-filters {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.portfolio-filters .btn {
  border-radius: 2px;
  font-size: 16px;
}
.portfolio-filters-mobile {
  display: none;
}

@media (max-width: 799px) {
  .portfolio-filters-pc {
    display: none;
  }

  .portfolio-filters-mobile {
    display: block;
    margin: 18px 0;
  }

  .portfolio-filters-mobile .btn-portfolio {
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .portfolio-filters-mobile .dropdown-menu {
    border-radius: 0;
    border: 1px solid var(--tone-linen);
    background-color: var(--tone-ivory);
    padding: 0;
    margin-top: 6px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 14px 30px rgba(11, 17, 21, 0.12);
  }

  .portfolio-filters-mobile .dropdown-item {
    padding: 13px 16px;
    font-size: 15px;
    color: var(--tone-bark);
    border-bottom: 1px solid rgba(201, 196, 184, 0.5);
  }

  .portfolio-filters-mobile .dropdown-item:last-child {
    border-bottom: 0;
  }

  .portfolio-filters-mobile .dropdown-item:hover,
  .portfolio-filters-mobile .dropdown-item:focus,
  .portfolio-filters-mobile .dropdown-item.active {
    background-color: var(--tone-sand);
    color: var(--tone-ink);
    font-weight: 700;
  }
}
/* ====== GRID / CARD ====== */
.portfolio-grid .card {
  border: 0;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-thumb {
  position: relative;
  padding-top: 66%; /* 3:2 느낌 */
  background-size: cover;
  background-position: center;
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,17,21,.75), rgba(11,17,21,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 10px 8px;
  color: var(--tone-ivory);
}

.thumb-overlay .cat {
  font-size: 15px;
  opacity: .9;
  margin-bottom: 2px;
}

.thumb-overlay .title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

/* ====== LOAD MORE BUTTON ====== */
.load-more-wrap {
  text-align: center;
  margin: 14px 0 40px;
}

.btn-square-orange {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 2px;
  background: var(--tone-mint) !important;
  border-color: var(--tone-mint) !important;
  color: var(--tone-ivory) !important;
  font-weight: 700;
  line-height: 36px;
}

/* ==================== 10. Portfolio Modal Gallery ==================== */
/* ====== MODAL (fullscreen) ====== */
/* backdrop(뒤 화면) 투명도 */
.modal-backdrop.show {
  opacity: .75;
}

/* Bootstrap4 fullscreen */
.portfolio-modal .modal-dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  margin: 0;
}

.portfolio-modal .modal-content {
  height: 100vh;
  border: 0;
  border-radius: 0;
  background:transparent; /* ✅ 내용은 깔끔하게 불투명 */
}

.portfolio-modal .modal-body{
  height:100vh;
  padding:0;
  position:relative;
  background: rgba(11,17,21,.75);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* 닫기 버튼 */
  .gallery-close {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 28px;
    color: var(--tone-ivory);
    opacity: .9;
    background: transparent;
    border: 0;
    z-index: 5;
  }

.gallery-panel{
  width: min(980px, 92vw);
  height: min(720px, 86vh);
  background:transparent;
  display:flex;
  flex-direction:column;
  overflow: hidden; /* ✅ 패널 밖으로 튀는 것 방지 */
}

/* 메인 이미지 영역 */
.gallery-main{
  position: relative;
  flex: 1 1 auto;
  min-height: 0;        /* ✅ flex 레이아웃에서 잘림 방지 핵심 */
  background:var(--tone-ink);
}

.gallery-main img{ width:100%; height:100%; object-fit:cover; display:block; }

/* 좌/우 화살표 */
.gallery-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(11,17,21,.45);
  color: var(--tone-ivory);
  font-size: 24px;
  z-index: 10;
}

.gallery-nav.prev { left: 16px; }

.gallery-nav.next { right: 16px; }

/* 이미지 위 정보 오버레이 */
.gallery-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(11,17,21,.55);
  color: var(--tone-ivory);
}

.gallery-info .cat {
  font-size: 16px;
  opacity: .9;
}

.gallery-info .title {
  font-size: 20px;
  font-weight: 800;
  margin: 2px 0 4px;
}

.gallery-info .meta {
  font-size: 16px;
  opacity: .9;
  margin: 0;
}

/* 썸네일 스트립 */
.gallery-thumbs{
  flex: 0 0 86px;       /* ✅ 높이 확보 (56 + padding + border 감안) */
  padding: 10px 12px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  display:flex;
  gap:6px;
  align-items: center;
}

.gallery-thumbs::-webkit-scrollbar { height: 6px; }

.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(243,242,237,.25); border-radius: 10px; }

.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }

.thumb-item {
  flex: 0 0 auto;
  width: 92px;
  height: 56px;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  opacity: .9;
  cursor: pointer;
}

.thumb-item.active {
  border-color: var(--tone-mint);
  opacity: 1;
}

#portfolioModal .gallery-main {
  touch-action: pan-y;
}

/* ==================== 11. Contact Survey And Form ==================== */
@media (min-width: 992px) {
  .equal-row > .col-lg-5 img {
    object-fit: cover;
  }

  .equal-row > .col-lg-7 > .card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .equal-row > .col-lg-7 > .card > .card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .equal-row .survey-viewport {
    flex: 1 1 auto;
    min-height: 0;
  }
}

/* ===== 설문 슬라이드 ===== */
.survey-viewport {
  height: 65vh;
  overflow-y: auto;
  position: relative;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .survey-row {
    flex-direction: column;
  }
  .survey-question {
    align-items: flex-start;
  }
}

.survey-track {
  display: block;
  width: 100%;
  transition: none;
  transform: none !important;
}

.survey-step {
  width: 100%;
  flex: 0 0 100%;
  padding: 1rem;
  height: 100%;
}

.survey-step { display:none; }

.survey-step.active { display:block; }

/* 답변 버튼(토글 가능) */
.answer-btn.active { background: var(--tone-mint); color: var(--tone-ivory); border-color: var(--tone-mint); }

.answer-btn {
  margin-bottom: 12px;
  border-radius: 8px;
  background-color: var(--tone-ivory);
  border: 1px solid var(--tone-sand);
  transition: all .15s ease;
  border-top-width: thin !important;
  border-radius: 0.25rem !important;
  text-align: left; white-space: normal;
}

.answer-btn:hover {
  background-color: var(--tone-frost);
}

/* ===== 상담문의(이미지 느낌) 스타일 ===== */
.contact-wrap {
  background: var(--tone-ivory);
  border: 1px solid var(--tone-sand);
  padding: 16px 18px 18px;
}

.contact-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 2px 0 6px;
}

.contact-sub {
  text-align: center;
  color: var(--tone-stone);
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 12px;
  align-items: center;
  font-size: 15px;
}

.c-label {
  text-align: left;
  color: var(--tone-bark);
  font-weight: 600;
  position: relative;
  padding-left: 10px;
}

.c-label::before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  color:var(--tone-mint);
  font-weight:900;
}

.c-field .form-control,
.c-field .custom-select {
  height: 34px;
  border-radius: 0;
  font-size: 13px;
}

.c-field textarea.form-control {
  height: auto;
}

.notice-box {
  margin-top: 10px;
  border: 1px solid var(--tone-linen);
  padding: 10px;
  font-size: 11px;
  color: var(--tone-stone);
  line-height: 1.45;
  max-height: 120px;
  overflow: auto;
  background: var(--tone-ivory);
}

.agree-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
}

.contact-submit {
  margin-top: 12px;
  text-align: center;
}

/* 모바일에서 라벨/필드 한 줄로 */
@media (max-width: 575.98px) {
  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .c-label { padding-left: 0; }
  .c-label::before { display:none; }
}

.inquiry-left-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.inquiry-bg-img {
  object-fit: cover;
}

.inquiry-left-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.inquiry-left-logo {
  width: 260px;
  max-width: 60%;
}

.inquiry-left-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.inquiry-left-desc {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ==================== 12. JENA Info Section ==================== */
/* ===== JENA INFO SECTION ===== */
.jena-info-section {
  background: var(--tone-ivory);
  padding: 7rem 0;
  color: var(--tone-ink);
}

.jena-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* gap: 18px; */
}

.jena-info-card {
  position: relative;
  background: rgba(245, 240, 232, 0.95);
  border: 1px solid rgba(206, 197, 183, 0.7);
  padding: 36px 34px;
  min-height: 360px;
}

.jena-info-card:nth-child(2), .jena-info-card:nth-child(3) {
  background: var(--tone-forest);
  color: var(--tone-ivory);
}

.jena-info-label {
  display: inline-block;
  color: var(--tone-mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.jena-info-label::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  background: var(--tone-mint);
  margin-top: 10px;
}

.jena-info-card h2 {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
  color: inherit;
}

.jena-info-card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 12px;
  color: inherit;
}

.jena-info-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--tone-stone);
  margin-bottom: 14px;
}

.jena-info-card:nth-child(2) p, .jena-info-card:nth-child(3) p {
  color: rgba(243, 242, 237, 0.78);
}

/* 모바일 */
@media (max-width: 799px) {
  .jena-info-section {
    padding: 5rem 0;
  }

  .jena-info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 18px;
  }

  .jena-info-card,
  .jena-info-card:nth-child(4){
    background: var(--tone-forest);
    color: var(--tone-ivory) !important;
  }
  .jena-info-card:nth-child(3) {
    background: var(--tone-ivory);
    color: var(--tone-bark);
  }
  

  .jena-info-card h2 {
    font-size: 22px;
  }

  .jena-info-card h3 {
    font-size: 16px;
  }

  .jena-info-card p {
    font-size: 14px;
  }
  .jena-info-card:nth-child(4) p {
    color: var(--tone-ivory) !important;
  }
  .jena-info-card:nth-child(3) p {
    color: var(--tone-stone) !important;
  }

  }

/* ==================== 13. About Page Vision Mission Value ==================== */
/* ===== ABOUT PAGE - VISION / MISSION / CORE VALUE ===== */

.about-vision-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
  linear-gradient(
    rgba(243, 242, 237, 0.82),
    rgba(243, 242, 237, 0.82)
  ),
  url('../img/example.jpg');
  background-size: cover;
  background-position: center;
  color: var(--tone-forest);
  overflow: hidden;
}

.about-vision-section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, rgba(15,47,36,0), var(--tone-ivory));
  pointer-events: none;
}

.about-vision-layout {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: 8rem 0;
}

.about-vision-copy h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
  color: var(--tone-bark);
}

.about-vision-copy p, .about-label {
  font-size: 17px;
  line-height: 1.5;
  color: var(--tone-leaf);
  margin: 0;
}

.about-mission-value-section {
  background: var(--tone-ivory);
  padding: 7rem 0;
  color: var(--tone-ink);
}

.about-mission-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 56px;
  align-items: start;
}

.about-mission-box,
.about-core-box {
  position: relative;
}

.about-mission-box {
  padding: 0 0 0 4px;
}

.mission-list {
  display: grid;
  gap: 34px;
  margin-top: 22px;
}

.mission-item {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid rgba(139, 105, 20, 0.25);
}

.mission-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 3px;
  height: 34px;
  background: var(--tone-mint);
}

.mission-item h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--tone-ink);
  margin-bottom: 10px;
}

.mission-item p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--tone-bark);
  margin: 0;
}

.about-core-box {
  background: var(--tone-forest);
  color: var(--tone-ivory);
  padding: 42px 38px;
  margin-top: 60px;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(26, 18, 9, 0.14);
}

.about-core-box::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(243, 242, 237, 0.16);
  pointer-events: none;
}

.core-value-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.core-value-item {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(243, 242, 237, 0.16);
}

.core-value-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.core-value-item h2 {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--tone-ivory);
}

.core-value-item p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(243, 242, 237, 0.82);
  margin: 0;
}

/* 모바일 */
@media (max-width: 799px) {
  .about-vision-section {
    min-height: 100vh;
    background:
    linear-gradient(
      rgba(243, 242, 237, 0.82),
      rgba(243, 242, 237, 0.82)
    ),
    url('../img/example.jpg');
    background-size: cover;
    background-position: center;
  }

  .about-vision-layout {
    padding: 6rem 20px;
  }

  .about-vision-copy h1 {
    font-size: 34px;
    line-height: 1.28;
  }

  .about-vision-copy p {
    font-size: 16px;
    line-height: 1.75;
  }

  .about-mission-value-section {
    padding: 5rem 0;
  }

  .about-mission-value-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 0 20px;
  }

  .mission-list {
    gap: 30px;
  }

  .mission-item {
    padding-left: 18px;
  }

  .mission-item h2 {
    font-size: 23px;
  }

  .mission-item p {
    font-size: 15px;
  }

  .about-core-box {
    margin-top: 0;
    padding: 34px 28px;
  }

  .core-value-item h2 {
    font-size: 25px;
  }

  .core-value-item p {
    font-size: 15px;
  }
}

/* ==================== 14. About Page CI ==================== */
/* ===== ABOUT PAGE - JENA CI ===== */

.jena-ci-section {
  background: var(--tone-ivory);
  color: var(--tone-ink);
  padding: 7rem 0;
  border-top: 1px solid rgba(201, 196, 184, 0.7);
}

.jena-ci-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}

.jena-ci-visual {
  position: sticky;
  top: 120px;
  align-self: start;
}

.ci-signature-box {
  position: relative;
  background: transparent;
  border: 0;
  width: 100%;
  margin-top: 26px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-signature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ci-signature-box img {
  position: relative;
  z-index: 1;
  max-width: 86%;
  height: auto;
  display: block;
}

.ci-sub-box {
  min-height: 108px;
  padding: 16px 18px 18px;
  background: transparent;
  border-bottom: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
}

.ci-sub-box p {
  letter-spacing: 0.14em;
  color: var(--tone-moss);
  margin: 0 0 14px;
}

.ci-sub-box img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.92;
  width: 100%;
}

.jena-ci-content {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(201, 196, 184, 0.8);
}

.ci-text-block {
  padding: 60px 0;
  border-bottom: 1px solid rgba(201, 196, 184, 0.8);
}

.ci-text-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ci-text-block h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--tone-bark);
  margin-bottom: 20px;
}

.ci-text-block p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--tone-stone);
  margin: 0;
}

/* 모바일 */
@media (max-width: 799px) {
  .jena-ci-section {
    padding: 5rem 0;
  }

  .jena-ci-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 0 22px;
  }

  .jena-ci-visual {
    position: relative;
    top: auto;
  }

  .ci-signature-box {
    padding: 48px 0;
    margin-top: 20px;
  }

  .ci-signature-box::after {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .ci-signature-box img {
    max-width: 96%;
  }

  .ci-sub-box {
    min-height: 92px;
    padding: 14px 12px 16px;
  }

  .ci-sub-box p {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .jena-ci-content {
    gap: 0;
  }

  .ci-text-block {
    padding: 40px 0;
  }

  .ci-text-block h2 {
    font-size: 26px;
    gap: 14px;
  }

  .ci-text-block p {
    font-size: 15px;
    line-height: 1.74;
  }
}

/* ==================== 15. Gyeolon Design — Page-Specific Styles ==================== */

/* ── 헤더 / 네비게이션 ── */
#page-topbar {
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(206, 197, 183, 0.5);
  box-shadow: 0 2px 20px rgba(26, 18, 9, 0.06);
}

/* ── 공통 라벨 태그 ── */
.gyeolon-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--tone-mint);
  margin-bottom: 18px;
  position: relative;
}

.gyeolon-label::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--tone-mint);
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -1px;
}

/* ── 메인 히어로 ── */
.gyeolon-main-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gyeolon-main-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gyeolon-main-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gyeolon-main-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(26, 18, 9, 0.68) 0%,
    rgba(42, 31, 20, 0.45) 50%,
    rgba(42, 31, 20, 0.12) 100%
  );
}

.gyeolon-main-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  max-width: 800px;
}

.gyeolon-main-hero-content .gyeolon-label {
  color: var(--tone-mint-soft);
}

.gyeolon-main-hero-content .gyeolon-label::before {
  background: var(--tone-mint-soft);
}

.gyeolon-main-hero-content h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--tone-ivory);
  margin-bottom: 24px;
}

.gyeolon-main-copy {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.82);
  max-width: 520px;
  margin-bottom: 40px;
}

.gyeolon-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-outline-light {
  border-color: rgba(245, 240, 232, 0.6) !important;
  color: var(--tone-ivory) !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: all 0.25s ease;
}

.btn-outline-light:hover {
  background: rgba(245, 240, 232, 0.12) !important;
  border-color: var(--tone-ivory) !important;
}

/* ── 포트폴리오 섹션 제목 ── */
.gyeolon-service-section {
  background: var(--tone-ivory);
}

.main-category a {
  color: var(--tone-bark);
  text-decoration: none;
  transition: color 0.2s;
}

.main-category a:hover {
  color: var(--tone-mint);
  text-decoration: none;
}

/* ── INFO 섹션 (gyeolon 커스텀) ── */
.gyeolon-info-section {
  background: var(--tone-ivory);
}

/* ── CTA 섹션 ── */
.gyeolon-cta-section {
  background: var(--tone-forest);
  padding: 7rem 0;
}

.gyeolon-cta-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.gyeolon-cta-section .gyeolon-label {
  color: var(--tone-mint-soft);
}

.gyeolon-cta-section .gyeolon-label::before {
  background: var(--tone-mint-soft);
}

.gyeolon-cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tone-ivory);
  margin-bottom: 20px;
  line-height: 1.25;
}

.gyeolon-cta-box p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(245, 240, 232, 0.76);
  margin-bottom: 36px;
}

/* ── About VISION 섹션 ── */
.gyeolon-about-vision {
  background: linear-gradient(
    135deg,
    rgba(245, 240, 232, 0.98) 0%,
    rgba(237, 228, 215, 0.95) 100%
  );
  position: relative;
  padding: 0;
  overflow: hidden;
}

.gyeolon-about-vision::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('../image/service-styling.png') no-repeat center / cover;
  opacity: 0.4;
  pointer-events: none;
}

.gyeolon-about-vision::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--tone-ivory));
  pointer-events: none;
}

/* About MISSION 섹션 */
.gyeolon-mission-section {
  border-top: 1px solid rgba(206, 197, 183, 0.6);
}

/* About MEANING (CI) 섹션 */
.gyeolon-meaning-section {
  background: var(--tone-frost);
}

/* ── progress-bar 골드 컬러 ── */
.progress-bar {
  background-color: var(--tone-mint) !important;
}

/* ── 서비스 카드 hover 효과 ── */
.service-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 18, 9, 0.13);
}

/* ── 포트폴리오 카드 hover 효과 ── */
.portfolio-grid .card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 18, 9, 0.12);
}

.thumb-overlay {
  background: linear-gradient(to top, rgba(26, 18, 9, 0.82), rgba(26, 18, 9, 0) 60%);
}

/* ── 메인 히어로 모바일 ── */
@media (max-width: 799px) {
  .gyeolon-main-hero-content {
    padding: 80px 20px 40px;
  }

  .gyeolon-main-copy {
    font-size: 15px;
    line-height: 1.75;
  }

  .gyeolon-hero-actions {
    gap: 10px;
  }

  .gyeolon-cta-section {
    padding: 5rem 20px;
  }

  .gyeolon-cta-box h2 {
    font-size: 26px;
  }
}