/* =========================================================
   ES EUNSUNG / LEATHER WORK - 공통 스타일
   색상은 아래 :root 값만 바꾸면 전체에 반영됩니다.
   ========================================================= */
:root {
  --c-bg-left: #ebebeb;      /* 배너 왼쪽 연회색 */
  --c-bg-right: #cfd6e2;     /* 배너 오른쪽 블루그레이 */
  --c-gray: #808080;         /* 사이드바 · 푸터 · 활성 메뉴 */
  --c-text: #111;
  --c-text-sub: #8c8c8c;     /* 본문 회색 글씨 */
  --c-placeholder: #f5f5f5;  /* 이미지 자리 */
  --c-line: #111;
  --c-gold: #b5784a;         /* 가죽 갈색 (버튼, 포인트 막대) */
  --c-gold-text: #8a5a2e;    /* 갈색 글씨 (LEATHER DECO, 현재 메뉴 등) */
  --c-cream: #efebe6;        /* 메인 사진 영역 · 회사소개 · 작업내역 · 문의 배경 (같은 색) */
  --c-dark: #231f1c;         /* 푸터 CS 영역 */
  --c-darker: #16171a;       /* 푸터 하단 */
  --container: 1480px;
  --header-h: 88px;
  --nav-pad: 18px;           /* 메뉴 좌우 여백 */
}

/* 노트북 화면(1280px 이상)에서도 큰 모니터처럼 양옆 여백을 두도록 본문 폭을 화면의 최대 80%로 제한
   (양옆 약 10%씩). 큰 모니터에서는 1480px 상한이 먼저 적용되어 지금과 같음 */
@media (min-width: 1280px) {
  :root { --container: min(1480px, calc(80vw + 48px)); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--c-text);
  background: #fff;
  line-height: 1.6;
  word-break: keep-all;
  /* 내용이 짧아도 푸터가 화면 맨 아래에 붙도록 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > * { flex-shrink: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 이미지 자리(실제 이미지 받으면 <img>로 교체) ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-placeholder);
  color: #b5b5b5;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

/* =========================================================
   헤더
   ========================================================= */
site-header, site-footer { display: block; } /* 공통 컴포넌트(js/header-footer.js) */
.header { background: #fff; position: relative; z-index: 10; border-bottom: 1px solid #e3e3e3; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

/* 로고: images/logo/logo.png 가 있으면 이미지, 없으면 아래 글자 로고(.logo--text) */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo__img { display: block; height: 50px; width: auto; }
.logo__en, .logo__ko { display: none; }
.logo--text .logo__en, .logo--text .logo__ko { display: block; }
.logo__en { font-size: 30px; font-weight: 700; letter-spacing: .5px; color: #111; }
.logo__ko { margin-top: 6px; font-size: 12px; font-weight: 500; letter-spacing: 3px; color: #555; }

.nav__list { display: flex; gap: 8px; margin-right: calc(-1 * var(--nav-pad)); } /* 마지막 메뉴 글자 끝 = 헤더 오른쪽 여백 = 사진 영역 오른쪽 끝 */
.nav__link {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--nav-pad);
  font-size: 19px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}
.nav__link:hover { color: var(--c-gold-text); }
/* 현재 페이지: 굵은 글씨 + 아래 금색 막대 */
.nav__link.is-active { color: var(--c-gold-text); font-weight: 700; box-shadow: inset 0 -4px 0 var(--c-gold); } /* 현재 메뉴: 갈색 글씨 + 갈색 막대 */

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: #111;
  content: ""; transition: transform .2s, top .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* =========================================================
   메인 (LEATHER DECO)
   ========================================================= */
.eyebrow { color: var(--c-gold-text); font-size: 15px; font-weight: 700; letter-spacing: 6px; }
.footer .eyebrow { color: var(--c-gold); }

.intro-hero { padding: 60px 0 34px; text-align: center; }
.intro-hero .eyebrow { margin-bottom: 18px; }
.intro-hero__title { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; line-height: 1.3; letter-spacing: -1px; color: #222; }
.intro-hero__sub { margin-top: 16px; font-size: 18px; color: #666; }

/* 영상: 가운데 1100px, 16:9 (검은 띠 없음) */
/* 영상은 흰 배경, 영상 아래부터 베이지 (영상·사진 폭은 1100px로 동일) */
.leather-video-band { background: #fff; padding-bottom: 48px; } /* 영상과 베이지 시작 사이 흰 여백 */
.leather-video-wrap { padding-bottom: 0; }
.container.leather-video-wrap { max-width: calc(1100px + 48px); }
.leather-video { position: relative; aspect-ratio: 16 / 9; background: #ddd5cf; }
.leather-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.leather-video__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; color: #777; }

/* 작업 사진: 왼쪽 큰 사진 + 오른쪽 2x2 */
.leather-gallery { flex-grow: 1; background: var(--c-cream); padding: 48px 0 64px; text-align: center; }
.leather-gallery__bar { display: inline-block; width: 36px; height: 3px; background: var(--c-gold); margin-bottom: 40px; }
.leather-gallery__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; aspect-ratio: 1153 / 425; text-align: left; }
.container.leather-gallery__grid { width: 100%; max-width: calc(1100px + 48px); } /* 영상과 같은 폭 */
.leather-gallery__item { position: relative; background: #fff; overflow: hidden; }
.leather-gallery__item--big { grid-row: 1 / 3; background: #ddd5cf; }
.leather-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leather-gallery__item:not(.leather-gallery__item--big) img { object-fit: contain; padding: 14px; background: #fff !important; } /* 제품 사진은 흰 바탕 (흐린 미리보기 번짐 방지) */

/* =========================================================
   메인 - 히어로
   ========================================================= */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  container-type: inline-size; /* 100cqw = 페이지 폭 (헤더 .container 기준과 동일) */
}
.hero__stage {
  background: linear-gradient(to right, var(--c-bg-left) 0 40%, var(--c-bg-right) 40% 100%);
  /* 왼쪽 여백을 헤더 .container 안쪽 시작점과 맞춰 로고 왼쪽 = 흰 카드 왼쪽 */
  padding: 50px 24px 50px max(24px, calc((100cqw - var(--container)) / 2 + 24px));
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero__card {
  background: #fff;
  width: 100%;
  /* 오른쪽 끝 = 마지막 메뉴(출장 미팅 예약문의) 글자 끝 */
  max-width: calc(var(--container) - 48px - var(--nav-pad));
  padding: 45px 55px;
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  gap: 20px;
}
.hero__thumbs {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  contain: size; /* 높이는 영상 높이를 따라감 → 썸네일 3개 합 = 영상 높이 */
}
.hero__thumbs .ph,
.hero__thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* 위쪽 큰 이미지 1개 + 아래 작은 이미지 2x2 */
.hero__thumbs--mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}
.hero__thumbs--mosaic > :first-child { grid-column: 1 / -1; }
.hero__video { position: relative; aspect-ratio: 16 / 9.5; background: #000; }
.hero__video iframe,
.hero__video video,
.hero__video .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero__video .ph { background: var(--c-gray); color: #fff; font-size: clamp(28px, 6vw, 80px); font-weight: 700; }

/* 사이드바 (CS CENTER) */
.cs {
  background: var(--c-gray);
  color: #fff;
  padding: 50px 18px 40px;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 700;
}
.cs__title { text-align: center; font-size: 16px; margin-bottom: 30px; letter-spacing: .5px; }
.cs__list li { margin-bottom: 26px; letter-spacing: .5px; word-spacing: 2px; } /* 전화번호 숫자 사이 여유 */
.cs__list a:hover { text-decoration: underline; }
.cs__mail { word-break: break-all; letter-spacing: 0; word-spacing: 0; margin-top: 110px; } /* 전화번호와 E-mail 사이 간격 */
.cs__hours { font-size: 14px; font-weight: 400; line-height: 1.7; margin: 60px 0 40px; } /* E-mail과 운영시간 사이 간격 */
.cs__brand {
  margin-top: auto;
  background: #fff;
  padding: 16px 12px;
}
.cs__brand .ph { height: 50px; background: #fff; color: #a07a55; font-weight: 700; letter-spacing: 1px; }

/* =========================================================
   서브 페이지 - 상단 배너
   ========================================================= */
.banner { padding: 38px 0 0; }
.banner__box {
  background: linear-gradient(to right, var(--c-bg-left) 0 36%, var(--c-bg-right) 36% 100%);
  padding: 42px 50px;
}
.banner__text {
  background: #fff;
  text-align: center;
  padding: 20px 24px;
  color: var(--c-text-sub);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
}

/* =========================================================
   회사소개
   ========================================================= */
.intro {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  padding: 70px 0 60px;
}
.intro__img .ph { aspect-ratio: 4 / 3; }
.intro__text { color: var(--c-text-sub); font-size: 17px; font-weight: 500; line-height: 1.75; }
.intro__text p + p { margin-top: 22px; }

.patents {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px 0 100px;
}
.patents figure { width: 290px; }
.patents .ph { aspect-ratio: 1 / 1.45; }

/* =========================================================
   작업내역 (카드 그리드) - 예시 포트폴리오에서도 재사용
   ========================================================= */
.works { padding: 30px 0 90px; }
.works__head { display: flex; align-items: center; gap: 50px; margin-bottom: 20px; padding-left: 40px; }
.works__head .ph { width: 160px; height: 44px; background: #fff; color: #a07a55; font-weight: 700; letter-spacing: 1px; }
.works__title { font-size: 17px; font-weight: 500; }
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
  padding: 0 20px;
}
.work-card .ph { aspect-ratio: 1 / 1; }
.work-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.work-card__title { margin-top: 12px; font-size: 16px; }

/* =========================================================
   제작 생산 문의 · 출장 미팅 예약문의 (흰 카드 안 폼 + 자동등록방지)
   ========================================================= */
.inq-band { flex-grow: 1; background: var(--c-cream); padding: 56px 0 80px; }
.container.inq-card { max-width: calc(1140px + 48px); }
.inq-card > .uform { background: #fff; padding: 50px 44px 46px; }
.inq-form em { font-style: normal; color: #c0392b; }
.uform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.ufield { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ufield--full { grid-column: 1 / -1; }
.ufield > label { font-size: 14px; font-weight: 700; color: #222; }
.uform input[type="text"],
.uform input[type="tel"],
.uform input[type="email"],
.uform textarea {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid #ddd6cd; border-radius: 0; background: #fff;
  font: inherit; font-size: 15px;
}
.uform textarea { height: auto; min-height: 260px; padding: 14px; line-height: 1.6; resize: vertical; }
.uform input:focus, .uform textarea:focus { outline: 2px solid var(--c-gold); outline-offset: -1px; border-color: transparent; }
.uform .is-invalid { border-color: #c0392b; }

/* 첨부파일: 실제 파일칸은 숨기고 버튼 + 파일명 표시 (길면 ... 으로 줄임) */
.ufield__file { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.inq-file { display: flex; align-items: center; gap: 14px; min-width: 0; font-size: 14px; }
.inq-file__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.inq-file__btn {
  flex-shrink: 0; display: inline-flex; align-items: center;
  height: 36px; padding: 0 18px;
  border: 1px solid var(--c-gold); background: #fff;
  font-size: 13px; font-weight: 700; color: var(--c-gold-text);
  cursor: pointer; white-space: nowrap;
}
.inq-file__btn:hover { background: #f8f1ea; }
.inq-file__input:focus-visible + .inq-file__btn { outline: 2px solid var(--c-gold); outline-offset: 1px; }
.inq-file__input.is-invalid + .inq-file__btn { border-color: #c0392b; }
.inq-file__name { min-width: 0; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inq-help { flex-shrink: 0; font-size: 12px; color: #888; }
.inq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 개인정보 수집·이용 동의 */
.consent { margin-top: 24px; padding: 24px 26px 22px; background: #f0ece7; border: 1px solid #e3ddd5; }
.consent__title { font-size: 15px; font-weight: 700; color: #222; }
.consent__list { margin-top: 12px; padding-left: 18px; list-style: disc; font-size: 13px; line-height: 1.8; color: #555; }
.consent__agree { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #222; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-gold); cursor: pointer; }
.check input.is-invalid { outline: 2px solid #c0392b; outline-offset: 1px; }
.consent__link { font-size: 12px; color: #555; text-decoration: underline; }

/* 자동등록방지 + 접수 버튼 */
.form-foot { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-top: 22px; padding-top: 30px; border-top: 1px solid #e3ddd5; }
.captcha__label { font-size: 13px; font-weight: 700; color: #222; margin-bottom: 10px; }
.captcha__row { display: flex; gap: 8px; }
.captcha__img { flex: 0 0 108px; width: 108px; height: 46px; background: #efebe6; }
.uform input.captcha__input { flex: 0 0 104px; width: 104px; height: 46px; padding: 0; font-size: 18px; letter-spacing: 2px; text-align: center; }
.captcha__btn {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; background: #2a2522; color: #fff; cursor: pointer;
}
.captcha__btn:hover { background: #45403b; }
.captcha__help { margin-top: 10px; font-size: 12px; color: #555; }
.btn--submit { min-width: 184px; height: 54px; font-size: 16px; border: 0; cursor: pointer; }
.btn--submit:disabled { opacity: .6; cursor: default; }

/* 안내 모달 */
.modal {
  margin: auto;
  width: min(360px, calc(100% - 32px));
  padding: 32px 24px 24px;
  border: 0;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  text-align: center;
}
.modal::backdrop { background: rgba(0,0,0,.45); }
.modal__text { font-size: 16px; font-weight: 500; line-height: 1.7; white-space: pre-line; margin-bottom: 24px; }
.modal__btn { min-width: 140px; height: 44px; border: 0; cursor: pointer; }

/* =========================================================
   서브 페이지 공통 제목 (가운데: COMPANY / 회사소개 / 갈색 막대 / 소개 문구)
   ========================================================= */
.page-title { padding: 56px 0 46px; text-align: center; }
.page-title .eyebrow { font-size: 13px; letter-spacing: 5px; margin-bottom: 12px; }
.page-title__h { font-size: 40px; font-weight: 900; line-height: 1.2; color: #222; }
.page-title__bar { display: inline-block; width: 36px; height: 3px; margin: 20px 0 22px; background: var(--c-gold); }
.page-title__sub { font-size: 17px; color: #555; }
.page-title__sub strong { color: #222; }

/* =========================================================
   회사소개 (레더워크)
   ========================================================= */
.about-leather { background: var(--c-cream); padding: 66px 0; }
.about-leather__card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-leather__photo { position: relative; min-height: 420px; background: #ddd5cf; overflow: hidden; }
.about-leather__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-leather__text { background: #fff; padding: 56px 52px; font-size: 15px; line-height: 2; color: #555; }
.about-leather__text p + p { margin-top: 18px; }
.about-leather__lead { font-size: 18px; font-weight: 700; line-height: 1.8; color: #222; }

.patent-band { flex-grow: 1; } /* 특허증 뒤 배경색 없음 */
.patent-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; padding-top: 34px; padding-bottom: 70px; }
.patent-row__label { padding-top: 4px; font-size: 13px; letter-spacing: 5px; }
.patent-row__list { display: flex; justify-content: center; gap: 120px; }
.cert { width: 290px; text-align: center; }
.cert__frame { padding: 14px; background: #fff; border: 3px solid #ece3cf; aspect-ratio: 290 / 383; }
.cert__frame img { width: 100%; height: 100%; object-fit: contain; }
.cert figcaption { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--c-gold-text); }

/* =========================================================
   작업내역 · 예시 포트폴리오 (카드 + 페이지 번호)
   ========================================================= */
.wgrid-band { flex-grow: 1; background: var(--c-cream); padding: 64px 0 80px; }
.wgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.wcard__img { position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.wcard__img:empty { background: #faf8f5; border: 1px solid #e3ddd5; } /* 빈 칸: 배경(베이지)보다 밝게 */
.wcard__img:empty::after { content: "이미지"; position: absolute; inset: 0; display: grid; place-items: center; color: #b3a89c; font-size: 15px; }
.wcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wcard:hover .wcard__img img { transform: scale(1.04); }
.wcard__cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px 12px; border-bottom: 2px solid var(--c-gold); }
.wcard__title { font-size: 16px; font-weight: 700; color: #222; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 페이지 번호: 칸 없이 숫자만, 현재 페이지는 갈색 + 아래 짧은 막대 */
.pager { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 60px; }
.pager__item { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 14px; padding-bottom: 8px; font-size: 16px; font-weight: 500; color: #aaa198; transition: color .2s; }
.pager__item:hover { color: #222; }
.pager__item.is-current { color: var(--c-gold-text); font-weight: 700; }
.pager__item.is-current::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 20px; height: 2px; background: var(--c-gold); transform: translateX(-50%); }
.pager__arrow { color: #555; }
.pager__arrow:first-child { margin-right: 10px; }
.pager__arrow:last-child { margin-left: 10px; }
.pager__item.is-disabled { color: #d9d2c9; pointer-events: none; }

/* =========================================================
   푸터
   ========================================================= */
.footer { color: #fff; }
.footer a:hover { text-decoration: underline; }

/* 위쪽: CS CENTER */
.footer__cs { background: var(--c-dark); padding: 50px 0 46px; }
.cs-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 100px; padding-bottom: 24px; border-bottom: 1px solid #45464b; }
.cs-row__main .eyebrow { margin-bottom: 10px; font-size: 13px; letter-spacing: 5px; }
.cs-row__tel { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: .5px; }
.cs-row__list { font-size: 16px; line-height: 1.8; color: #d7d7d9; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  font-size: 16px; font-weight: 700;
  border: 2px solid transparent;
  transition: filter .2s, background .2s;
}
.btn:hover { text-decoration: none !important; }
.btn--gold { background: var(--c-gold); color: #fff; }
.btn--gold:hover { filter: brightness(1.06); }
.btn--line { border-color: #fff; color: #fff; }
.btn--line:hover { background: rgba(255,255,255,.08); }

/* 아래쪽: 로고 + 회사 정보 */
.footer__bottom { background: var(--c-darker); padding: 28px 0 24px; border-top: 1px solid #2c2d31; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.logo--footer { margin-bottom: 14px; }
.logo--footer .logo__img { height: 40px; }
.logo--footer .logo__en { color: #fff; font-size: 26px; }
.logo--footer .logo__ko { color: #bbb; }
.footer__info { font-size: 15px; line-height: 1.7; color: #8d8e93; }
.footer__info span + span::before { content: "·"; margin: 0 8px; }
.footer__side { text-align: right; }
.footer__policy { display: flex; justify-content: flex-end; gap: 22px; font-size: 15px; color: #bdbec2; }
.footer__policy .is-strong { color: #fff; font-weight: 700; }
.footer__copy { margin-top: 10px; font-size: 15px; color: #8d8e93; }

/* =========================================================
   개인정보처리방침 · 이용약관
   ========================================================= */
.legal { padding-top: 10px; padding-bottom: 90px; }
.legal-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
.legal-tabs a { display: grid; place-items: center; height: 56px; border: 1px solid #2a2522; font-size: 16px; font-weight: 700; color: #2a2522; }
.legal-tabs a + a { border-left: 0; }
.legal-tabs a.is-active { background: #2a2522; color: #fff; }
.legal-sec { padding: 26px 0; border-bottom: 1px solid #e6e1da; }
.legal-sec--intro { padding-top: 0; }
.legal-sec__title { margin-bottom: 12px; font-size: 18px; font-weight: 700; color: #222; }
.legal-sec__body { font-size: 15px; line-height: 1.8; color: #555; }
.legal-sec__body p + p, .legal-sec__body p + ul, .legal-sec__body ul + p { margin-top: 8px; }
.legal-sec__body ul { padding-left: 20px; list-style: disc; }
.legal-sec__body li + li { margin-top: 6px; }
.legal-sec__body strong { color: #222; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1200px) {
  :root { --nav-pad: 14px; }
  .nav__link { font-size: 16px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .logo__en { font-size: 26px; }
  .logo__ko { font-size: 11px; letter-spacing: 3px; }

  .nav-toggle { display: block; }
  .logo__img { height: 40px; }
  .nav__list { margin-right: 0; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 2px solid var(--c-line);
    display: none;
  }
  .nav-open .nav { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link, .nav__link.is-active { height: auto; padding: 16px 24px; border-top: 1px solid #eee; }

  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__card { padding: 30px; }
  .cs { display: none; } /* 사이드바가 아래로 내려가는 폭부터는 CS CENTER 숨김 (연락처는 푸터에 있음) */

  .intro { grid-template-columns: 1fr; }
  .intro__img { max-width: 520px; }

  .works__grid { grid-template-columns: repeat(3, 1fr); }

  .cs-row { gap: 20px 60px; }
  .about-leather__card { grid-template-columns: minmax(0, 1fr); }
  .wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-leather__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .patent-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer__side { text-align: left; }
  .footer__policy { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .hero__stage { padding: 24px 16px; }
  .hero__card { grid-template-columns: 1fr; padding: 16px; }
  .hero__thumbs { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; contain: none; order: 2; }
  .hero__thumbs--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__thumbs--mosaic > .ph:first-child,
  .hero__thumbs--mosaic > img:first-child { aspect-ratio: 2 / 1; }
  .hero__thumbs .ph,
  .hero__thumbs img { height: auto; aspect-ratio: 1 / 1; }
  .hero__thumbs .ph { font-size: 12px; }

  .container { padding: 0 16px; }
  .banner { padding-top: 20px; }
  .banner__box { padding: 20px 16px; }
  .banner__text { font-size: 16px; padding: 16px; }

  .intro { padding: 40px 0; }
  .intro__text { font-size: 15px; }

  .patents { gap: 16px; padding-bottom: 60px; }
  .patents figure { width: 50%; }

  .works__head { padding-left: 0; gap: 20px; }
  .works__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; padding: 0; }

  .work-card__title { font-size: 14px; }

  .page-title { padding: 38px 0 32px; }
  .wgrid-band { padding: 30px 0 50px; }
  .inq-band { padding: 24px 0 50px; }
  .inq-card > .uform { padding: 26px 16px; }
  .uform__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ufield__file { flex-wrap: wrap; gap: 6px; }
  .consent { padding: 18px 14px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .btn--submit { width: 100%; }
  .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .wcard__title { font-size: 14px; }
  .pager { gap: 20px; margin-top: 40px; }
  .page-title__h { font-size: 30px; }
  .page-title__sub { font-size: 14px; }
  .about-leather { padding: 30px 0; }
  .about-leather__text { padding: 30px 22px; }
  .about-leather__lead { font-size: 16px; }
  .patent-row__list { gap: 14px; }
  .cert figcaption { font-size: 11px; letter-spacing: 1px; }
  .intro-hero { padding: 40px 0 26px; }
  .intro-hero .eyebrow { font-size: 13px; letter-spacing: 4px; }
  .intro-hero__sub { font-size: 15px; }
  .leather-video-band { padding-bottom: 28px; }
  .leather-gallery { padding: 22px 0 34px; }
  .leather-gallery__bar { margin-bottom: 22px; }
  .leather-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; aspect-ratio: auto; gap: 8px; }
  .leather-gallery__item { aspect-ratio: 1 / 1; }
  .leather-gallery__item--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }

  .footer__cs { padding: 36px 0 32px; }
  .cs-row__tel { font-size: 28px; }
  .cs-row__list { font-size: 14px; }
  .btn { height: 46px; padding: 0 18px; font-size: 15px; }
  .footer__info { font-size: 13px; }
  .footer__info span { display: block; }
  .footer__info span + span::before { content: none; }
  .footer__policy, .footer__copy { font-size: 13px; }
}

@media (max-width: 480px) {
  .logo__en { font-size: 22px; }
}

/* 작업내역·포트폴리오에 아직 항목이 없을 때 안내 문구 (js/card-list.js) */
.card-empty { grid-column: 1 / -1; padding: 100px 20px; text-align: center; font-size: 17px; line-height: 1.7; color: var(--c-text-sub); }
