@charset "utf-8";
/* =============================================
   womensecret-renewal.css
   index.php 전용 독립 스타일시트
   (womensecret.css 없이도 index.php가 동일하게 동작하도록
    필요한 폰트·Reset·GNB·상단 영상·팝업 기본 스타일을 이전)
   ============================================= */

/* ── 1. 폰트 (index.php에서 실제 사용하는 폰트만) ── */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700&display=swap');

@font-face { font-family: 'GmarketSans'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff'); font-weight: 500; font-style: normal;}

@font-face { font-family: 'GmarketSans'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff'); font-weight: 300; font-style: normal;}

@font-face { font-family: 'GmarketSans'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff'); font-weight: 800; font-style: normal;}

/* ── 2. 최소 Reset · 페이지 기본값
   index.php · private.html에서 실제 사용하는 요소만 대상.
   deprecated 태그 등 사용하지 않는 대규모 Reset은 옮기지 않음 ── */

html,body,nav,section,aside,figure,figcaption,div,ul,li,form,h1,h2,h3,img,video,a,label,p,span,b,strong,input,textarea,button { border: 0; padding: 0; margin: 0; color: inherit; font-family: inherit; font-size: inherit; line-height: inherit;}

nav,section,aside,figure,figcaption { display: block;}

ul,li { list-style: none; word-break: break-all;}

a { text-decoration: none; display: inline-block;}
label { display: inline-block;}

html { overflow-y: auto;}
html,body { height: 100%;}

body { color: var(--ws-brown); font-size: 15px; font-family: 'GmarketSans', 'Noto Sans KR', sans-serif, "Nanum Gothic"; font-weight: 500; min-width: 320px; background: var(--ws-ivory);}

img { vertical-align: middle;}

button,input,textarea { font-family: inherit;}

/* ── 3. GNB 기본 스타일 (fixed 위치·기본 높이·배경·z-index)
   PC 가로 정렬(flex)과 모바일 햄버거 규칙은 하단의 기존 renewal
   컴포넌트 스타일(Mobile Navigation / PC GNB 가로 메뉴)이 계속 담당 ── */

.gnb { position: fixed; width: 100%; height: 80px; top: 0; left: 0; z-index: 100; background-color: #65656581;}

.gnb .gnb_warp { position: relative; width: 1200px; margin: 0 auto;}

.gnb .gnb_warp .logo { position: absolute; top: 22px; left: 0;}

.gnb .gnb_warp .logo img { width: 160px;}

.gnb .gnb_warp .menu { position: relative; padding: 43px 0 0 230px;}

.gnb .gnb_warp .menu li { float: left; margin-right: 40px;}

.gnb .gnb_warp .menu li a { color: #fff; font-size: 15px;}

.gnb .gnb_warp .menu li .on,.gnb .gnb_warp .menu li a:hover { color: #c9787d; font-weight: 700;}

.gnb_fixed { position: fixed; top: 0; left: 0; background-color: #fff; border-bottom: 1px solid #e5e5e5; height: 50px;}

.gnb.gnb_fixed { position: fixed !important; top: 0; left: 0; width: 100%;}

.gnb_fixed .gnb_warp .logo { top: 7px;}

.gnb_fixed .gnb_warp .logo img { width: 100px;}

.gnb_fixed .gnb_warp .menu { padding: 24px 0 0 180px;}

.gnb_fixed .gnb_warp .menu li a { color: #333;}

/* ── 4. 상단 메인 영상(.visual) 기본 스타일
   PC 높이 clamp·max-height 900px, 영상 max-width 2560px, isolation/z-index,
   object-fit: cover, 서브 문구 letter-spacing(0.16em/0.08em)은
   하단의 기존 renewal 전용 스타일이 계속 담당(이 기본값들은 옮기지 않음) ── */

.visual { position: relative; width: 100%; height: 100%; text-align: center;}

.visual .text { position: absolute; width: 1200px; top: 50%; left: 50%; margin-left: -600px; margin-top: -150px; text-align: center; color: #fff;}

.visual .text h2 { font-family: 'Nanum Myeongjo'; font-size: 50px; font-weight: 500;}

.visual .text h1 { font-family: 'Nanum Myeongjo'; font-size: 80px; font-weight: 500;}

.visual .text h1 b { color: #c22620;}

/* 상단 메인 카피 타이핑 효과 — 글자는 처음부터 레이아웃 공간을 차지하며,
   display:none이 아닌 visibility로만 노출 여부를 제어(폭·줄바꿈·위치 불변).
   커서/깜빡임 요소는 생성하지 않음. */
.ws-hero-typing-char { visibility: visible;}

.visual .text.is-hero-typing .ws-hero-typing-char { visibility: hidden;}

.visual .text.is-hero-typing .ws-hero-typing-char.is-visible { visibility: visible;}

@media (prefers-reduced-motion: reduce) {
  .visual .text.is-hero-typing .ws-hero-typing-char { visibility: visible;}
}

.visual .text .linetx { position: relative; margin: 35px 0;}

.visual .text .linetx p { font-size: 17px; border-top: 1px solid #fff; border-bottom: 1px solid #fff; display: inline-block; padding: 13px 0 9px 0; letter-spacing: 0.16em;}

/* PC·태블릿 기본: 모바일 전용 줄바꿈 숨김, "솔루션" 이어서 표시 */
.ws-hero-subcopy-mobile-break { display: none;}

.ws-hero-subcopy-solution { display: inline;}

.visual .text img { width: 200px;}

.visual .scroll { position: absolute; width: 100px; bottom: 30px; left: 50%; margin-left: -50px; text-align: center; color: #fff; font-size: 13px; animation-name: ani_sroll; animation-duration: 1s; animation-delay: 1s; animation-iteration-count: infinite;}

.visual .scroll img { width: 20px; padding: 0 5px 2px 0; filter: invert(100);}

@keyframes ani_sroll {
  0% { bottom: 30px;}
  50% { bottom: 20px;}
  100% { bottom: 30px;}
}

.fullscreen-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; z-index: -100;}

.fullscreen-bg__video { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video { height: 300%; top: -100%;}
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video { width: 300%; left: -100%;}
}

/* 태블릿(기존 max-width:1200px 대응): 메인 문구 크기·위치 */
@media screen and (max-width: 1200px) {
  .visual .text { width: 100%; left: 50%; margin-left: -50%; margin-top: -160px;}

  .visual .text h2 { font-size: 38px; padding-bottom: 10px;}
  .visual .text h1 { font-size: 65px;}
  .visual .text .linetx { margin: 30px 0;}
  .visual .text .linetx p { font-size: 15px; padding: 13px 0 9px 0;}
  .visual .text img { width: 200px;}
}

/* 모바일(기존 max-width:767px 대응): 메인 문구 크기·위치·영상 비율 */
@media screen and (max-width: 767px) {
  .visual .text { width: 100%; left: 50%; margin-left: -50%; margin-top: -30%;}

  .visual .text h2 { font-size: 1.8em; padding-bottom: 5px;}
  .visual .text h1 { font-size: 2.4em;}
  .visual .text .linetx { margin: 20px 0;}
  .visual .text .linetx p { font-size: 0.9em; padding: 13px 0 9px 0; border-top: 1px solid #848484; border-bottom: 1px solid #848484; letter-spacing: 0.08em;}
  .visual .text .linetx .ws-hero-subcopy-mobile-break { display: block;}
  .visual .text .linetx .ws-hero-subcopy-solution { display: none;}
  .visual .text img { width: 45%;}
}

@media screen and (max-width: 767px) and (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video { width: 320%; left: -100%;}
}

/* =============================================
   기존 renewal 전용 스타일
   index.php 전용 리뉴얼 컴포넌트
   ============================================= */

:root { --ws-cream: #fbf4ec; --ws-ivory: #fffaf5; --ws-rose: #c9787d; --ws-rose-dark: #a85f65; --ws-brown: #3f2d25; --ws-brown-soft: #6f5a50; --ws-gold: #c9a46a; --ws-line: #ead8cb; --ws-white: #ffffff;}

.ws-renewal-section { position: relative; padding: clamp(70px, 7vw, 96px) 20px; background: var(--ws-ivory); box-sizing: border-box;}

/* PC(1024px 이상): 상담사 섹션(72~78px) 기준에 맞춰 상하 여백 편차를 좁혀 리듬 통일 */
@media screen and (min-width: 1024px) {
  .ws-renewal-section { padding: clamp(76px, 6vw, 92px) 20px;}
}

.ws-renewal-inner { width: 100%; max-width: 1180px; margin: 0 auto; box-sizing: border-box;}

.ws-section-label { display: inline-block; margin-bottom: 14px; color: var(--ws-rose); font-size: 16px; font-weight: 600; letter-spacing: 0.06em;}

/* PC(1024px 이상): 라벨이 메인 제목보다 강조되어 보이지 않도록 소폭 축소 */
@media screen and (min-width: 1024px) {
  .ws-section-label { font-size: 15px;}
}

.ws-section-title { margin: 0; color: var(--ws-brown); font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; line-height: 1.25; letter-spacing: -0.06em;}

.ws-section-desc { margin-top: 22px; color: var(--ws-brown-soft); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.8; letter-spacing: -0.04em; max-width: 72ch;}

@media screen and (max-width: 767px) {
  .ws-renewal-section { padding: 56px 16px;}

  .ws-section-label { font-size: clamp(14px, 3.8vw, 18px);}

  .ws-section-title { font-size: clamp(24px, 7.1vw, 40px); line-height: 1.2; letter-spacing: -0.055em; word-break: keep-all; overflow-wrap: normal; max-width: 100%;}

  .ws-section-desc { margin-top: 16px; font-size: clamp(15px, 4.15vw, 20px); line-height: 1.75; word-break: keep-all;}
}

/* ==============================================
   상단 메인 영상(.visual) — PC 높이·영상 폭 상한 (1024px 이상)
   기존 womensecret.css의 .visual{height:100%}(=html/body 100% 트릭으로
   실질 100vh처럼 동작)가 초대형 화면에서 무제한으로 커지는 문제를 보정.
   .visual 자체는 계속 화면 전체 폭(GNB와 동일)을 유지하고,
   실제 영상을 감싸는 .fullscreen-bg(.vod, inset:0 absolute)만
   max-width:2560px로 제한해 중앙 정렬.
   좌우에 남는 영역은 흰색이 아닌 어두운 배경으로 채워 영상과 자연스럽게 연결.

   [레이어 순서 보정] womensecret.css의 .fullscreen-bg{z-index:-100}는
   .visual이 자체 stacking context를 만들지 않으면 상위(root) 컨텍스트로
   빠져나가 .visual의 배경색보다 먼저 그려짐 → 영상이 배경 뒤로 가려짐.
   .visual에 isolation:isolate로 새 stacking context를 만들어 배경색을
   먼저 깔고, 그 안에서 .fullscreen-bg(z-index:0)와 텍스트/스크롤
   (z-index:2)의 순서를 명시적으로 고정.
   ============================================== */

@media screen and (min-width: 1024px) {
  .visual { position: relative; isolation: isolate; height: clamp(620px, 100vh, 900px); max-height: 900px; overflow: hidden; /* 2560px 초과 화면에서 영상 좌우로 남는 영역을 채우는 어두운 배경 */ background-color: #14100c;}

  /* 영상 컨테이너: 폭만 2560px로 제한, left/right:0(기존)+margin:0 auto로 중앙 정렬
       (margin 기본값 0이면 over-constrained로 left:0에 붙으므로 auto 지정이 핵심) */
  .visual .fullscreen-bg { max-width: 2560px; margin: 0 auto; z-index: 0;}

  .visual .text,.visual .scroll { z-index: 2;}

  /* 구형 aspect-ratio 기반 300% 확대 트릭 대신 object-fit: cover로 정리 */
  .fullscreen-bg__video { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center;}
}

/* ==============================================
   상담사 섹션 — PC 기본 (1024px 이상 기준)
   ============================================== */

.ws-counselor-section { background: radial-gradient(circle at 12% 20%, rgba(201, 164, 106, 0.12), transparent 30%), linear-gradient(135deg, var(--ws-ivory) 0%, var(--ws-cream) 100%); padding-left: 24px; padding-right: 24px;}

.ws-counselor-section .ws-renewal-inner { max-width: 1120px;}

/* 제목 영역 */
.ws-counselor-heading { width: 100%; max-width: 1100px; margin: 0 auto clamp(42px, 4vw, 50px); text-align: center;}

.ws-counselor-heading .ws-section-title { font-size: clamp(38px, 3vw, 48px); line-height: 1.15; letter-spacing: -0.055em; word-break: keep-all;}

/* 이미지·정보 2열 그리드 */
.ws-counselor-layout { display: grid; grid-template-columns: minmax(340px, 420px) minmax(480px, 560px); justify-content: center; align-items: center; gap: clamp(42px, 4vw, 56px);}

/* 상담사 이미지 */
.ws-counselor-visual { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; justify-self: end; overflow: hidden; border-radius: 16px;}

.ws-counselor-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center;}

/* 설명·연락처 정보 컬럼 */
.ws-counselor-info { width: 100%; min-width: 0;}

/* 설명·태그·이름 정보 묶음 (카드 배경/테두리 없음) */
.ws-counselor-content { width: 100%; padding: 0;}

/* 설명 문구 */
.ws-counselor-section .ws-section-desc { margin: 0; width: 100%; color: var(--ws-brown-soft); font-size: 18px; line-height: 1.85; letter-spacing: -0.03em; text-align: justify; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty;}

/* 특징 태그 */
.ws-counselor-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin-top: 22px;}

.ws-counselor-tag { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid rgba(234, 216, 203, 0.55); border-radius: 999px; background: var(--ws-ivory); color: var(--ws-brown-soft); font-size: 13px; font-weight: 400; letter-spacing: -0.02em; cursor: default; user-select: none;}

.ws-counselor-profile { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; width: 100%; margin: 20px 0 0; color: var(--ws-brown); text-align: right;}

.ws-counselor-profile-name { font-family: 'Nanum Myeongjo', serif; font-size: 25px; font-weight: 700; line-height: 1.2; letter-spacing: 0.06em;}

.ws-counselor-profile-role { font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: -0.03em;}

/* 자격증 확인 버튼 — 이름 아래, 태그·전화번호보다 강조되지 않는 차분한 사각형 버튼 */
.ws-counselor-certificate-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 5px; padding: 6px 10px; border: 0; border-radius: 5px; background: rgba(63, 45, 37, 0.06); color: var(--ws-brown-soft); font-size: 12px; font-weight: 500; font-family: inherit; letter-spacing: -0.02em; line-height: 1.4; white-space: nowrap; cursor: pointer; box-sizing: border-box; box-shadow: none; transition: background 0.15s ease, color 0.15s ease;}

.ws-counselor-certificate-btn:hover { background: rgba(201, 120, 125, 0.12); color: var(--ws-rose-dark);}

.ws-counselor-certificate-btn:focus-visible { outline: 2px solid var(--ws-rose); outline-offset: 2px;}

/* 연락처 영역 */
.ws-counselor-contact-guide { margin-top: 18px; color: var(--ws-brown-soft); font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: -0.03em;}

/* 모바일 전용 줄바꿈 — PC·태블릿에서는 숨김(한 줄 흐름 유지) */
.ws-counselor-guide-mobile-break { display: none;}

.ws-counselor-contact { display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 20px; margin-top: 16px; padding-left: 0;}

.ws-counselor-phone,.ws-counselor-kakao { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; color: var(--ws-brown); font-size: 20px; font-weight: 700; line-height: 1; text-decoration: none;}

.ws-counselor-phone:hover { color: var(--ws-rose);}

.ws-counselor-kakao { color: var(--ws-brown-soft); font-weight: 500; letter-spacing: -0.03em; transition: opacity 0.18s ease;}

.ws-counselor-kakao:hover { opacity: 0.72;}

.ws-counselor-phone-symbol { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; font-size: 25px; line-height: 1;}

.ws-counselor-phone-number,.ws-counselor-kakao span { font-size: inherit; line-height: 1;}

.ws-counselor-kakao img { display: block; width: 34px; height: 34px; flex: 0 0 34px; object-fit: cover; border-radius: 8px;}

/* PC(1024px 이상) */
@media screen and (min-width: 1024px) {
  .ws-counselor-section { padding: 72px 24px 78px;}

  .ws-counselor-heading { margin-bottom: 36px;}

  .ws-counselor-section .ws-section-desc { line-height: 1.6;}

  .ws-counselor-contact-guide { margin-top: 8px;}

  .ws-counselor-contact { margin-top: 5px;}

  .ws-counselor-phone,.ws-counselor-kakao { gap: 12px;}

  .ws-counselor-phone { font-size: 34px; font-weight: 500; letter-spacing: -0.01em;}

  .ws-counselor-kakao { font-size: 26px; font-weight: 500; color: var(--ws-brown);}

  .ws-counselor-phone-symbol { width: 44px; height: 44px; flex: 0 0 44px; font-size: 30px; background: rgba(201, 120, 125, 0.10); border: 1px solid rgba(201, 120, 125, 0.18); border-radius: 10px; box-sizing: border-box;}

  .ws-counselor-kakao img { width: 40px; height: 40px; flex: 0 0 40px;}
}

/* ==============================================
   상담사 섹션 — 태블릿 (768px ~ 1023px)
   ============================================== */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-counselor-section { padding: clamp(60px, 7vw, 80px) 24px;}

  .ws-counselor-section .ws-renewal-inner { max-width: 720px;}

  .ws-counselor-heading { margin: 0 auto clamp(32px, 4vw, 42px);}

  .ws-counselor-heading .ws-section-title { font-size: clamp(28px, 4vw, 38px); line-height: 1.22;}

  .ws-counselor-layout { display: flex; flex-direction: column; gap: 28px;}

  .ws-counselor-visual { width: 100%; aspect-ratio: 4 / 3; border-radius: 22px;}

  .ws-counselor-content { width: 100%; max-width: 100%; align-self: stretch; padding: 0; text-align: left;}

  .ws-counselor-kakao { display: inline-flex;}
}

/* ==============================================
   상담사 섹션 — 모바일 (767px 이하)
   ============================================== */

@media screen and (max-width: 767px) {
  .ws-counselor-section { padding: 60px 16px 78px;}

  .ws-counselor-heading { margin: 0 auto 28px; text-align: center;}

  .ws-counselor-heading .ws-section-label { margin-bottom: 11px; font-size: clamp(13px, 3.8vw, 16px);}

  .ws-counselor-heading .ws-section-title { font-size: clamp(23px, 7.1vw, 34px); line-height: 1.18; letter-spacing: -0.055em; word-break: keep-all;}

  .ws-counselor-layout { display: flex; flex-direction: column; gap: 22px;}

  .ws-counselor-visual { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px;}

  .ws-counselor-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center;}

  .ws-counselor-content { width: 100%; max-width: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding: 0; text-align: center;}

  .ws-counselor-section .ws-section-desc { margin: 0; width: 100%; max-width: 100%; font-size: clamp(15px, 4.15vw, 17px); line-height: 1.72; text-align: center; word-break: keep-all; overflow-wrap: break-word; text-wrap: balance;}

  .ws-counselor-tags { justify-content: center; gap: 6px; margin-top: 20px;}

  .ws-counselor-tag { padding: 6px 6px; font-size: clamp(12px, 3.4vw, 14px); white-space: nowrap;}

  .ws-counselor-profile { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: baseline; column-gap: 8px; row-gap: 6px; width: 100%; margin-top: 18px; text-align: center;}

  .ws-counselor-profile-name { font-size: 24px;}

  .ws-counselor-certificate-btn { grid-column: 1 / -1; justify-self: center; margin-top: 0; padding: 7px 12px; font-size: 13px; border-radius: 5px;}

  .ws-counselor-kakao { display: none;}

  .ws-counselor-contact-guide { text-align: center;}

  .ws-counselor-guide-mobile-break { display: block;}

  .ws-counselor-contact { justify-content: center; flex-wrap: wrap; margin-top: 26px;}

  .ws-counselor-phone { font-size: clamp(24px, 6.2vw, 28px);}

  .ws-counselor-phone-symbol { width: 30px; height: 30px; flex: 0 0 30px; font-size: 26px;}
}

/* ==============================================
   모바일 하단 3분할 고정 CTA
   ============================================== */

.ws-mobile-bottom-cta { display: none;}

@media screen and (max-width: 767px) {
  /* 모바일 하단 3분할 CTA */
  .ws-mobile-bottom-cta { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); z-index: 13500; border-top: 1px solid rgba(0, 0, 0, 0.12); overflow: hidden;}

  .ws-mobile-bottom-cta__item { display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px; height: 56px; box-sizing: border-box; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: -0.04em; white-space: nowrap;}

  .ws-mobile-bottom-cta__item + .ws-mobile-bottom-cta__item { border-left: 1px solid rgba(255, 255, 255, 0.25);}

  .ws-mobile-bottom-cta__phone { background: var(--ws-brown); color: #fff;}

  .ws-mobile-bottom-cta__kakao { background: #fee500; color: #3c1e1e;}

  .ws-mobile-bottom-cta__apply { background: var(--ws-rose); color: #fff;}

  /* 전화·카카오 아이콘 */
  .ws-mobile-bottom-cta__phone-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;}

  .ws-mobile-bottom-cta__kakao-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; object-fit: cover; border-radius: 5px;}

  /* 문의 자물쇠 CSS 아이콘 */
  .ws-mobile-bottom-cta__lock-icon { position: relative; display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; box-sizing: border-box;}

  .ws-mobile-bottom-cta__lock-icon::before { content: ''; position: absolute; top: 1px; left: 50%; width: 10px; height: 8px; transform: translateX(-50%); border: 2px solid currentColor; border-bottom: none; border-radius: 6px 6px 0 0; box-sizing: border-box;}

  .ws-mobile-bottom-cta__lock-icon::after { content: ''; position: absolute; bottom: 1px; left: 50%; width: 13px; height: 10px; transform: translateX(-50%); background: currentColor; border-radius: 2px;}

  /* 페이지 하단 콘텐츠가 CTA에 가려지지 않도록 */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom));}
}

/* ==============================================
   여성 고민 공감 섹션
   ============================================== */

.ws-empathy-section { background: #fff;}

.ws-empathy-section .ws-renewal-inner { max-width: 1120px;}

/* 제목 영역 */
.ws-empathy-heading { text-align: center; margin-bottom: 44px;}

.ws-empathy-lead { margin: 14px 0 0; color: var(--ws-brown-soft); font-size: 17px; line-height: 1.7; letter-spacing: -0.04em; word-break: keep-all; max-width: 72ch;}

/* 중앙 정렬 섹션의 리드 텍스트 — 중앙 기준 폭 제어 */
.ws-empathy-heading .ws-empathy-lead { margin-left: auto; margin-right: auto;}

/* 고민 카드 3열 그리드 */
.ws-empathy-list { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 22px; margin: 0; padding: 0; list-style: none;}

.ws-empathy-card { padding: 30px 32px; background: #fff; border: 1px solid var(--ws-line); border-radius: 22px; box-shadow: 0 2px 12px rgba(63, 45, 37, 0.06); box-sizing: border-box;}

.ws-empathy-number { display: block; margin-bottom: 14px; color: var(--ws-rose); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; line-height: 1;}

.ws-empathy-card-title { margin: 0 0 10px; color: var(--ws-brown); font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -0.04em; word-break: keep-all;}

.ws-empathy-card-desc { margin: 0; color: var(--ws-brown-soft); font-size: 15px; line-height: 1.75; letter-spacing: -0.03em; word-break: keep-all;}

/* 마무리 문구 */
.ws-empathy-closing { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(201, 120, 125, 0.25); text-align: center; color: var(--ws-brown-soft); font-size: 16px; line-height: 1.85; letter-spacing: -0.04em; word-break: keep-all;}

/* PC(1024px 이상): 카드 여백과 제목을 소폭 확대 */
@media screen and (min-width: 1024px) {
  .ws-empathy-card { padding: 34px; text-align: center; border-radius: 8px; background: rgba(201, 120, 125, 0.025);}

  .ws-empathy-card-title { font-size: 20px;}
}

/* 태블릿 (768px ~ 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-empathy-section .ws-renewal-inner { max-width: 640px;}

  .ws-empathy-heading { margin-bottom: 32px;}

  .ws-empathy-list { grid-template-columns: 1fr; gap: 16px;}
}

/* 모바일 (767px 이하) */
@media screen and (max-width: 767px) {
  .ws-empathy-heading { text-align: center; margin-bottom: 24px;}

  .ws-empathy-lead { font-size: 15px; max-width: 100%;}

  .ws-empathy-list { grid-template-columns: 1fr; gap: 14px;}

  .ws-empathy-card { padding: 22px 18px; border-radius: 18px; text-align: center;}

  .ws-empathy-number { font-size: 14px; margin-bottom: 10px; text-align: center;}

  .ws-empathy-card-title { font-size: 16px; margin-bottom: 8px; text-align: center; word-break: keep-all; text-wrap: balance;}

  .ws-empathy-card-desc { font-size: 14px; text-align: center; word-break: keep-all; text-wrap: balance;}

  .ws-empathy-closing { margin-top: 24px; padding-top: 20px; font-size: 14px; line-height: 1.75;}
}

/* ==============================================
   상담이 필요한 이유 섹션
   ============================================== */

.ws-reason-section { background: var(--ws-cream);}

.ws-reason-section .ws-renewal-inner { max-width: 1120px;}

/* PC 2열 레이아웃 */
.ws-reason-layout { display: flex; align-items: flex-start; gap: clamp(54px, 5vw, 64px);}

/* 왼쪽: 제목·설명 영역 */
.ws-reason-copy { flex: 0 0 40%; max-width: 40%; display: flex; flex-direction: column; justify-content: flex-start;}

.ws-reason-copy .ws-section-title { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; letter-spacing: -0.06em; word-break: keep-all;}

.ws-reason-lead { margin: 18px 0 0; color: var(--ws-brown-soft); font-size: 15px; line-height: 1.85; letter-spacing: -0.03em; word-break: keep-all; max-width: 72ch;}

/* PC·태블릿 기본: 모바일 전용 줄바꿈은 숨기고, 데스크톱 전용 줄바꿈만 표시 */
.ws-reason-lead-break--mobile { display: none;}

.ws-reason-lead-break--desktop { display: inline;}

/* PC(1024px 이상): 본문 확대 + 비밀상담 2열 구조와 컬럼 비율 통일 */
@media screen and (min-width: 1024px) {
  .ws-reason-lead { font-size: 16px;}

  .ws-reason-copy { flex: 0 0 42%; max-width: 42%;}
}

/* 왼쪽 감성 이미지 */
.ws-reason-visual { margin: 24px 0 0; width: 100%; max-width: 440px; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 12px; border: 1px solid var(--ws-line); box-shadow: 0 3px 14px rgba(63, 45, 37, 0.07); background: var(--ws-ivory); align-self: flex-start;}

.ws-reason-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center;}

/* 오른쪽: 흰색 패널 */
.ws-reason-panel { flex: 1; min-width: 0; align-self: flex-end; background: var(--ws-white); border: 1px solid var(--ws-line); border-radius: 12px; box-shadow: 0 4px 18px rgba(63, 45, 37, 0.06); overflow: hidden;}

/* 항목 목록 */
.ws-reason-list { margin: 0; padding: 0; list-style: none;}

/* 각 행: 번호 / 제목 / 설명 3열 그리드 */
.ws-reason-item { display: grid; grid-template-columns: 26px 95px 1fr; align-items: center; padding: 22px 30px; border-bottom: 1px solid var(--ws-line); box-sizing: border-box;}

.ws-reason-number { color: var(--ws-rose); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; line-height: 1;}

.ws-reason-item-title { margin: 0; color: var(--ws-brown); font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: -0.04em; word-break: keep-all;}

.ws-reason-item-desc { margin: 0; color: var(--ws-brown-soft); font-size: 14px; line-height: 1.75; letter-spacing: -0.03em; word-break: keep-all;}

/* PC(1024px 이상): 목록 본문 가독성을 위해 소폭 확대 */
@media screen and (min-width: 1024px) {
  .ws-reason-item { padding: 18px 24px;}

  .ws-reason-number { font-size: 15px; font-weight: 500;}

  .ws-reason-item-title { font-size: 16px;}

  .ws-reason-item-desc { font-size: 15px;}

  .ws-reason-closing p { font-size: 16px;}
}

/* 패널 하단 마무리 영역 */
.ws-reason-closing { padding: 20px 30px; background: rgba(201, 120, 125, 0.07); text-align: center;}

.ws-reason-closing p { margin: 0; color: var(--ws-brown-soft); font-size: 14px; line-height: 1.85; letter-spacing: -0.04em; word-break: keep-all;}

/* 태블릿 (768px ~ 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-reason-section .ws-renewal-inner { max-width: 740px;}

  .ws-reason-layout { flex-direction: column; align-items: stretch; gap: 28px;}

  .ws-reason-copy { flex: none; max-width: 100%;}

  .ws-reason-copy .ws-section-title { font-size: clamp(24px, 3.4vw, 34px);}

  .ws-reason-visual { max-width: 480px; align-self: flex-start;}

  .ws-reason-panel { width: 100%; align-self: stretch;}
}

/* 모바일 (767px 이하) */
@media screen and (max-width: 767px) {
  .ws-reason-layout { flex-direction: column; gap: 20px;}

  .ws-reason-copy { flex: none; max-width: 100%; text-align: center;}

  .ws-reason-copy .ws-section-title { font-size: clamp(22px, 6.5vw, 30px); line-height: 1.3;}

  .ws-reason-lead { font-size: 14px; line-height: 1.8; max-width: 100%;}

  /* 모바일 전용: 의미 단위 3줄 줄바꿈으로 전환 */
  .ws-reason-lead-break--mobile { display: inline;}

  .ws-reason-lead-break--desktop { display: none;}

  .ws-reason-visual { width: 100%; max-width: 100%; margin-top: 20px; border-radius: 16px; align-self: center; box-sizing: border-box;}

  .ws-reason-panel { border-radius: 18px; width: 100%; align-self: stretch;}

  /* 모바일 행: 번호(좌) / 제목+설명(우) 2열 구조 */
  .ws-reason-item { grid-template-columns: 38px 1fr; grid-template-rows: auto auto; align-items: start; padding: 16px 18px;}

  .ws-reason-number { grid-column: 1; grid-row: 1 / 3; align-self: start; padding-top: 1px; font-size: 13px;}

  .ws-reason-item-title { grid-column: 2; grid-row: 1; margin-bottom: 3px; font-size: 15px;}

  .ws-reason-item-desc { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 1.65;}

  .ws-reason-closing { padding: 16px 18px;}

  .ws-reason-closing p { font-size: 13px; line-height: 1.7;}

  .ws-reason-closing-break { display: none;}
}

/* ==============================================
   우먼시크릿 솔루션 소개 섹션
   ============================================== */

.ws-solution-intro-section { background: var(--ws-white);}

.ws-solution-intro-section .ws-renewal-inner { max-width: 1120px;}

/* 상단 제목 영역: 중앙 정렬 1열 구조 (라벨 → 제목 → 소개 문구) */
.ws-solution-intro-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 0; margin-bottom: 48px; box-sizing: border-box;}

/* 라벨·제목 */
.ws-solution-intro-heading .ws-section-label { color: var(--ws-rose);}

.ws-solution-intro-panel .ws-section-title { color: var(--ws-brown); font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; line-height: 1.34; letter-spacing: -0.055em; word-break: keep-all; margin-top: 4px;}

.ws-solution-intro-title-line { display: block;}

/* 소개 문구: 제목 아래 중앙 배치 */
.ws-solution-intro-desc { margin: 0 auto; max-width: 760px; color: var(--ws-brown-soft); font-size: 17px; font-weight: 400; line-height: 1.85; letter-spacing: -0.03em; word-break: keep-all;}

/* 보조 문구: 4단계 흐름 아래로 이동, 상단 구분선 + 중앙 정렬 */
.ws-solution-intro-support { margin: 40px auto 0; max-width: 760px; padding-top: 24px; border-top: 1px solid rgba(201, 120, 125, 0.30); text-align: center; color: var(--ws-brown-soft); font-size: 15px; font-weight: 400; line-height: 1.85; letter-spacing: -0.03em; word-break: keep-all;}

/* 하단 상담 진행 흐름: PC 가로 4단계 (우측 완만한 곡선 돌출 + 좌측 얕은 곡선 홈) */
.ws-solution-intro-scope { display: flex; align-items: stretch; justify-content: center; margin: 0; padding: 0; list-style: none; border-top: none; background: transparent; gap: 6px;}

.ws-solution-intro-scope-item { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 92px; padding: 18px 30px; background: linear-gradient(135deg, rgba(201, 120, 125, 0.16), rgba(214, 178, 145, 0.20)); border-radius: 0 40px 40px 0 / 0 50% 50% 0; box-sizing: border-box;}

/* 02~04 왼쪽에 얕은 곡선 홈 (가상 요소로 구현) */
.ws-solution-intro-scope-item:not(:first-child)::before { content: ''; position: absolute; top: 50%; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ws-white); transform: translate(-50%, -50%); z-index: 0;}

.ws-solution-intro-number { position: relative; z-index: 1; color: rgba(63, 45, 37, 0.45); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; line-height: 1;}

.ws-solution-intro-name { position: relative; z-index: 1; color: var(--ws-brown); font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -0.03em; word-break: keep-all;}

/* 태블릿 (768px ~ 1023px): 세로 흐름 (하단 완만한 곡선 돌출 + 상단 얕은 곡선 홈) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-solution-intro-section .ws-renewal-inner { max-width: 740px;}

  .ws-solution-intro-head { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(28px, 3.5vw, 34px); margin-bottom: 40px;}

  .ws-solution-intro-scope { flex-direction: column; align-items: center; gap: 6px;}

  .ws-solution-intro-scope-item { flex: none; width: 100%; max-width: 420px; min-height: 76px; padding: 18px 24px; border-radius: 0 0 22px 22px / 0 0 45% 45%;}

  .ws-solution-intro-scope-item:not(:first-child)::before { top: 0; left: 50%; width: 26px; height: 26px;}

  .ws-solution-intro-number { font-size: 12px;}

  .ws-solution-intro-name { font-size: 16px;}
}

/* 모바일 (767px 이하): 세로 흐름 (하단 완만한 곡선 돌출 + 상단 얕은 곡선 홈) */
@media screen and (max-width: 767px) {
  .ws-solution-intro-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 28px;}

  .ws-solution-intro-heading { text-align: center;}

  .ws-solution-intro-panel .ws-section-title { font-size: clamp(22px, 6.8vw, 29px); font-weight: 500; line-height: 1.32; word-break: keep-all; overflow-wrap: break-word;}

  .ws-solution-intro-title-line { white-space: normal;}

  .ws-solution-intro-desc { margin: 0 auto; font-size: 15px; font-weight: 400; line-height: 1.68; word-break: keep-all; overflow-wrap: break-word;}

  .ws-solution-intro-support { margin-top: 24px; padding-top: 16px; font-size: 14px; font-weight: 400; line-height: 1.75;}

  .ws-solution-intro-scope { flex-direction: column; align-items: center; gap: 5px;}

  .ws-solution-intro-scope-item { flex: none; width: 100%; max-width: 320px; min-height: 62px; padding: 13px 18px; gap: 2px; border-radius: 0 0 18px 18px / 0 0 45% 45%;}

  .ws-solution-intro-scope-item:not(:first-child)::before { top: 0; left: 50%; width: 24px; height: 24px;}

  .ws-solution-intro-number { font-size: 11px; line-height: 1;}

  .ws-solution-intro-name { font-size: 15px; line-height: 1.3;}
}

/* ==============================================
   남은 리뉴얼 단락 기본 구성
   — section3 상담 분야 + 비밀상담 원칙
   — section5 인증 및 특허 안내
   — section6 후기 / 상담 사례
   — section7 최종 상담 안내
   ============================================== */

/* ── section3: 프로그램 안내 ─────────────────── */

.ws-program-guide-section { background: var(--ws-cream);}

.ws-program-guide-section .ws-renewal-inner { max-width: 1120px;}

.ws-program-guide-heading { text-align: center; margin-bottom: 44px;}

.ws-program-guide-lead { margin: 14px 0 0; color: var(--ws-brown-soft); font-size: 17px; line-height: 1.75; letter-spacing: -0.04em; word-break: keep-all; max-width: 72ch;}

/* 중앙 정렬 섹션의 리드 텍스트 — 중앙 기준 폭 제어 */
.ws-program-guide-heading .ws-program-guide-lead { margin-left: auto; margin-right: auto;}

.ws-program-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none;}

.ws-program-guide-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 20px; background: #fff; border: 1px solid var(--ws-line); border-radius: 4px 10px 28px 8px; text-align: center; box-sizing: border-box;}

.ws-program-guide-name { color: var(--ws-rose-dark); font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -0.04em; word-break: keep-all;}

/* 태블릿 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-program-guide-section .ws-renewal-inner { max-width: 740px;}

  .ws-program-guide-heading { margin-bottom: 32px;}

  .ws-program-guide-grid { grid-template-columns: repeat(2, 1fr); gap: 16px;}
}

/* 모바일 */
@media screen and (max-width: 767px) {
  .ws-program-guide-heading { margin-bottom: 24px;}

  .ws-program-guide-lead { font-size: 15px; max-width: 100%; line-height: 1.68;}

  .ws-program-guide-grid { grid-template-columns: 1fr; gap: 10px;}

  .ws-program-guide-item { padding: 20px 16px;}

  .ws-program-guide-name { font-size: 16px; line-height: 1.45;}
}

/* 상담 분야 목록 아래 이어지는 비밀상담 원칙 소단락 */
.ws-program-private { margin-top: 64px; text-align: center;}

.ws-program-private-title { margin: 0; color: var(--ws-brown); font-size: 30px; font-weight: 500; line-height: 1.35; letter-spacing: -0.04em; word-break: keep-all;}

.ws-program-private-desc { max-width: 760px; margin: 20px auto 0; color: var(--ws-brown-soft); font-size: 16px; line-height: 1.8; letter-spacing: -0.04em; word-break: keep-all;}

.ws-program-private-desc p { margin: 0;}

.ws-program-private-desc p + p { margin-top: 5px;}

/* 태블릿 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-program-private { margin-top: 52px;}
}

/* 모바일 */
@media screen and (max-width: 767px) {
  .ws-program-private { margin-top: 34px;}

  .ws-program-private-title { font-size: 19px; font-weight: 500; line-height: 1.4;}

  .ws-program-private-desc { margin-top: 10px; font-size: 15px; line-height: 1.72;}

  /* 두 문단을 줄바꿈 없이 하나의 연속 문장처럼 표시 */
  .ws-program-private-desc p { display: inline; margin: 0;}

  .ws-program-private-desc p + p { margin-top: 0;}
}

/* ── section5: 인증 및 특허 / 신뢰 안내 ─────── */

.ws-trust-section { background: var(--ws-white);}

.ws-trust-section .ws-renewal-inner { max-width: 1120px;}

.ws-trust-heading { text-align: center; margin-bottom: 44px;}

.ws-trust-lead { margin: 14px 0 0; color: var(--ws-brown-soft); font-size: 17px; line-height: 1.75; letter-spacing: -0.04em; word-break: keep-all; max-width: 72ch;}

/* 중앙 정렬 섹션의 리드 텍스트 — 중앙 기준 폭 제어 */
.ws-trust-heading .ws-trust-lead { margin-left: auto; margin-right: auto;}

.ws-trust-panel { background: var(--ws-ivory); border: 1px solid var(--ws-line); border-radius: 24px; overflow: hidden;}

.ws-trust-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none;}

.ws-trust-item { padding: 30px 28px; box-sizing: border-box;}

.ws-trust-item + .ws-trust-item { border-left: 1px solid var(--ws-line);}

.ws-trust-item-title::before { content: ''; display: block; width: 28px; height: 2px; margin-bottom: 10px; background: var(--ws-rose);}

.ws-trust-item-title { display: block; color: var(--ws-rose-dark); font-size: 20px; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 5px; word-break: keep-all;}

.ws-trust-item-desc { margin: 0; color: var(--ws-brown-soft); font-size: 14px; line-height: 1.4; letter-spacing: -0.03em; word-break: keep-all;}

/* PC(1024px 이상): 목록 본문 확대 + 외곽 박스를 제거하고 얇은 상하선의 신뢰 스트립으로 정리 */
@media screen and (min-width: 1024px) {
  .ws-trust-item-desc { font-size: 15px;}

  .ws-trust-panel { background: transparent; border: none; border-radius: 0; overflow: visible;}

  .ws-trust-item { padding: 30px 24px;}

  .ws-trust-item + .ws-trust-item { border-left: 1px solid rgba(234, 216, 203, 0.7);}
}

/* 제조사 라이선스 이미지 영역 — PC 4열 / 태블릿·모바일 2×2 */
.ws-trust-license-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0 0; padding: 0;}

.ws-trust-license-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px;}

.ws-trust-license-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--ws-line); border-radius: 8px; box-shadow: 0 1px 6px rgba(63, 45, 37, 0.05); box-sizing: border-box; padding: 14px;}

.ws-trust-license-caption { margin: 0; color: var(--ws-brown-soft); font-size: 13px; font-weight: 600; letter-spacing: -0.02em; text-align: center; word-break: keep-all;}

/* PC(1024px 이상): 세로 문서에 맞는 3:4 프레임으로 교체, 4열 유지 */
@media screen and (min-width: 1024px) {
  .ws-trust-license-grid { gap: 28px; margin-top: 48px;}

  .ws-trust-license-item img { aspect-ratio: 3 / 4; max-width: 250px; padding: 10px; border-color: rgba(234, 216, 203, 0.35); box-shadow: none;}

  .ws-trust-license-caption { font-size: 14px; font-weight: 500;}
}

@media screen and (max-width: 1023px) {
  .ws-trust-license-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px;}
}

@media screen and (max-width: 767px) {
  /* 2×2 그리드 대신 가로 스와이프 트랙으로 전환 */
  .ws-trust-license-scroll {
    position: relative;
    width: 100%;
    margin-top: 24px;
  }

  .ws-trust-license-grid {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0 8px 6px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .ws-trust-license-grid::-webkit-scrollbar {
    display: none;
  }

  .ws-trust-license-item {
    flex: 0 0 38%;
    min-width: 0;
    gap: 6px;
    scroll-snap-align: start;
  }

  .ws-trust-license-item img {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ws-trust-license-caption {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--ws-brown-soft);
    text-align: center;
    word-break: keep-all;
  }
}
  

/* 태블릿 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-trust-section .ws-renewal-inner { max-width: 740px;}

  .ws-trust-heading { margin-bottom: 32px;}

  .ws-trust-list { grid-template-columns: 1fr;}

  .ws-trust-item + .ws-trust-item { border-left: none; border-top: 1px solid var(--ws-line);}
}

/* 모바일 */
@media screen and (max-width: 767px) {
  .ws-trust-heading { margin-bottom: 24px;}

  .ws-trust-lead { font-size: 15px; max-width: 100%;}

  .ws-trust-lead-nowrap { white-space: nowrap;}

  .ws-trust-panel { border-radius: 18px;}

  .ws-trust-list { grid-template-columns: 1fr;}

  .ws-trust-item { padding: 18px 18px;}

  .ws-trust-item-title { font-size: 18px; margin-bottom: 5px;}

  .ws-trust-item-title::before { margin-bottom: 8px;}

  .ws-trust-item-desc { line-height: 1.6;}

  .ws-trust-item + .ws-trust-item { border-left: none; border-top: 1px solid var(--ws-line);}
}

/* ── section6: 후기 / 상담 사례 ─────────────── */

.ws-story-section { background: var(--ws-ivory);}

.ws-story-section .ws-renewal-inner { max-width: 1120px;}

.ws-story-heading { text-align: center; margin-bottom: 44px;}

.ws-story-heading .ws-section-title { font-size: clamp(26px, 2.6vw, 38px); word-break: keep-all;}

.ws-story-lead { margin: 14px 0 0; color: var(--ws-brown-soft); font-size: 17px; line-height: 1.75; letter-spacing: -0.04em; word-break: keep-all; max-width: 72ch;}

/* 중앙 정렬 섹션의 리드 텍스트 — 중앙 기준 폭 제어 */
.ws-story-heading .ws-story-lead { margin-left: auto; margin-right: auto;}

/* 상담 사례 감성 이미지 — 카드 목록 위, 여백만 확보한 최소 처리 */
.ws-story-visual { margin: 0 0 32px;}

.ws-story-visual img { display: block; width: 100%; height: auto; border-radius: 16px;}

.ws-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none;}

.ws-story-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 18px; background: var(--ws-white); border: 1px solid var(--ws-line); border-radius: 20px; box-sizing: border-box;}

.ws-story-label { display: block; color: var(--ws-rose); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; text-align: center;}

.ws-story-title { margin: 0; color: var(--ws-brown); font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -0.04em; word-break: keep-all; text-align: center;}

/* PC·태블릿 기본: 모바일 전용 줄바꿈은 숨김(자연 줄바꿈 유지) */
.ws-story-title-mobile-break { display: none;}

.ws-story-desc { margin: 0; color: var(--ws-brown-soft); font-size: 14px; line-height: 1.64; letter-spacing: -0.03em; word-break: keep-all; text-align: center;}

/* PC(1024px 이상): 제목·본문 비중 확대, 카드 그림자 보강 */
@media screen and (min-width: 1024px) {
  .ws-story-heading .ws-section-title { font-size: clamp(32px, 3.2vw, 46px);}

  .ws-story-visual img { height: 410px; object-fit: cover; object-position: center;}

  .ws-story-card { box-shadow: 0 2px 14px rgba(63, 45, 37, 0.05);}

  .ws-story-title { font-size: 18px;}

  .ws-story-desc { font-size: 15px;}
}

/* 태블릿 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-story-section .ws-renewal-inner { max-width: 740px;}

  .ws-story-heading { margin-bottom: 32px;}

  .ws-story-grid { grid-template-columns: 1fr; gap: 16px;}
}

/* 모바일 */
@media screen and (max-width: 767px) {
  .ws-story-heading { margin-bottom: 24px;}

  .ws-story-heading .ws-section-title { font-size: clamp(22px, 6.5vw, 30px);}

  .ws-story-lead { font-size: 15px; max-width: 100%;}

  .ws-story-visual { margin-bottom: 24px;}

  .ws-story-grid { grid-template-columns: 1fr; gap: 12px;}

  .ws-story-card { padding: 20px 18px; border-radius: 16px; gap: 8px;}

  .ws-story-title-mobile-break { display: block;}

  .ws-story-desc { line-height: 1.58;}
}

/* ── section7: 최종 상담 안내 ───────────────── */

.ws-final-consult-section { background: var(--ws-white);}

.ws-final-consult-section .ws-renewal-inner { max-width: 860px;}

.ws-final-consult-panel { background: transparent; border: none; border-radius: 0; padding: 0; text-align: center; box-sizing: border-box;}

.ws-final-consult-label { display: inline-block; margin-bottom: 16px;}

.ws-final-consult-title { font-size: clamp(28px, 3vw, 44px); line-height: 1.3; letter-spacing: -0.06em; word-break: keep-all;}

.ws-final-consult-title-line { display: block;}

.ws-final-consult-desc { margin: 20px 0 0; color: var(--ws-brown-soft); font-size: 17px; line-height: 1.8; letter-spacing: -0.04em; word-break: keep-all; max-width: 72ch;}

.ws-final-consult-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 36px;}

/* 전화·카카오톡·비밀상담: 아이콘 + 텍스트로 통일, 배경·테두리·캡슐 없음 */
.ws-final-consult-phone,.ws-final-consult-kakao,.ws-final-consult-btn { display: inline-flex; align-items: center; gap: 10px; border: none; background: none; padding: 0; margin: 0; color: var(--ws-brown); font-size: 22px; font-weight: 500; font-family: inherit; letter-spacing: -0.04em; text-decoration: none; line-height: 1; white-space: nowrap; cursor: pointer; box-sizing: border-box; transition: opacity 0.18s ease;}

.ws-final-consult-phone:hover,.ws-final-consult-kakao:hover,.ws-final-consult-btn:hover { opacity: 0.82;}

.ws-final-consult-phone-symbol { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; background: rgba(201, 120, 125, 0.12); border-radius: 8px; color: var(--ws-rose); font-size: 22px; line-height: 1;}

.ws-final-consult-phone-number { font-size: inherit; line-height: 1;}

.ws-final-consult-kakao img { display: block; width: 38px; height: 38px; flex: 0 0 38px; object-fit: cover; border-radius: 8px;}

/* 비밀상담 앞 CSS 자물쇠 아이콘 */
.ws-final-consult-lock { position: relative; display: inline-flex; flex: 0 0 38px; width: 38px; height: 38px; background: rgba(201, 120, 125, 0.12); border-radius: 8px; box-sizing: border-box;}

.ws-final-consult-lock::before { content: ''; position: absolute; top: 10px; left: 50%; width: 14px; height: 10px; margin-left: -7px; border: 2px solid var(--ws-rose); border-bottom: none; border-radius: 7px 7px 0 0; box-sizing: border-box;}

.ws-final-consult-lock::after { content: ''; position: absolute; bottom: 9px; left: 50%; width: 16px; height: 12px; margin-left: -8px; background: var(--ws-rose); border-radius: 2px;}

.ws-final-consult-note { margin: 28px 0 0; color: var(--ws-brown-soft); font-size: 13px; line-height: 1.7; letter-spacing: -0.03em; opacity: 0.65;}

/* PC·태블릿 기본: 모바일 전용 줄바꿈은 숨김(한 문장 흐름 유지) */
.ws-final-consult-note-mobile-break { display: none;}

/* 태블릿 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-final-consult-section .ws-renewal-inner { max-width: 740px;}
}

/* 모바일: 하단 고정 CTA와 중복되어 숨김 */
@media screen and (max-width: 767px) {
  .ws-final-consult-section { padding-top: 48px; padding-bottom: 44px;}

  .ws-final-consult-title { font-size: clamp(24px, 6.8vw, 32px); line-height: 1.32;}

  .ws-final-consult-desc { margin-top: 16px; font-size: 15px; line-height: 1.68; max-width: 100%;}

  .ws-final-consult-actions { display: none;}

  .ws-final-consult-note { margin-top: 22px; line-height: 1.6; word-break: keep-all;}

  .ws-final-consult-note-mobile-break { display: block;}
}

/* ── 리뉴얼 푸터 ── */
.footer { position: static; float: none; width: 100%; height: auto; min-height: 0; margin: 0; padding: 30px 20px; box-sizing: border-box; text-align: center;}

.ws-footer-inner { width: 100%; max-width: 1120px; margin: 0 auto; box-sizing: border-box;}

.footer .finfo { position: static; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: auto; max-width: none; margin: 0; padding: 0; gap: 5px 16px; text-align: center; font-size: 12px; line-height: 1.7; color: var(--ws-brown-soft);}

.footer .finfo span { display: inline; float: none; padding: 0; margin: 0; font-size: 12px; line-height: 1.7; color: var(--ws-brown-soft);}

.footer .finfo a { display: inline-flex; align-items: center; float: none; background-color: transparent; margin: 0; padding: 0; color: var(--ws-brown-soft); font-size: 12px; line-height: 1.7; opacity: 1; text-decoration: none;}

.footer .finfo a:hover,.footer .finfo a:focus-visible { color: var(--ws-brown); text-decoration: underline;}

.footer .finfo a:focus-visible { outline: 2px solid var(--ws-brown); outline-offset: 2px;}

@media screen and (max-width: 767px) {
  .footer { padding: 22px 20px 22px;}

  .footer .finfo { gap: 4px 14px;}
}

/* =========================================================
   Mobile Navigation
   햄버거: 1023px 이하 / PC 가로 메뉴: 1024px 이상
========================================================= */

/* 기본 상태: 모바일·태블릿 전용 요소 숨김 */
.mobile_nav_btn,.mobile_nav_dim,.mobile_nav { display: none;}

@media screen and (max-width: 1023px) {
  html,body { max-width: 100%; overflow-x: hidden;}

  body.mobile_nav_open { overflow: hidden;}

  .gnb { left: 0 !important; position: fixed !important; right: 0 !important; width: 100% !important; height: 56px !important; z-index: 14000 !important; background: rgba(0, 0, 0, 0.5) !important; box-sizing: border-box;}

  /* 네비게이션 바 높이 통일 */
  .gnb,.gnb_warp { height: 56px !important;}

  .gnb .gnb_warp { display: flex !important; align-items: center; justify-content: space-between; position: relative; width: 100% !important; height: 56px !important; padding: 0 20px !important; box-sizing: border-box;}

  /* 로고 정렬 초기화 */
  .gnb_warp .logo { position: static !important; transform: none !important; margin: 0 !important; display: flex; align-items: center;}

  .gnb_warp .logo img { height: 32px !important; width: auto !important; object-fit: contain;}

  /* 기존 가로 스크롤 메뉴 숨김 */
  .gnb .gnb_warp > .scroll { display: none !important;}

  /* 햄버거 버튼 */
  .mobile_nav_btn { display: flex !important; position: static !important; transform: none !important; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent !important; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer;}

  .mobile_nav_btn span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s ease;}

  .mobile_nav_btn:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.8); outline-offset: 3px; border-radius: 4px;}

  /* 딤 배경 */
  .mobile_nav_dim { display: block; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.58); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; z-index: 14001 !important;}

  /* 우측 슬라이드 메뉴 */
  .mobile_nav { display: block; position: fixed; right: 0; top: 0; width: 72%; max-width: 300px; height: 100vh; background: #fff; transform: translateX(100%); visibility: hidden; pointer-events: none; transition: transform 0.3s ease, visibility 0s linear 0.3s; z-index: 14002 !important; overflow-y: auto; box-shadow: -8px 0 28px rgba(0, 0, 0, 0.22);}

  .mobile_nav_head { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px; border-bottom: 1px solid #eee;}

  .mobile_nav_close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: transparent; color: #333; font-size: 34px; cursor: pointer; border-radius: 6px;}

  .mobile_nav_close:focus-visible { outline: 3px solid var(--ws-rose); outline-offset: 2px;}

  .mobile_nav ul { margin: 0; padding: 8px 0; list-style: none;}

  .mobile_nav li { border-bottom: 1px solid #f1f1f1;}

  .mobile_nav li a { display: block; padding: 18px 22px; color: #333; font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: -0.5px; text-decoration: none; box-sizing: border-box; transition: color 0.15s ease, background 0.15s ease;}

  .mobile_nav li a:hover,.mobile_nav li a[aria-current="location"] { color: var(--ws-rose); background: var(--ws-cream);}

  .mobile_nav li a:focus-visible { outline: 3px solid var(--ws-rose); outline-offset: -3px;}

  body.mobile_nav_open .mobile_nav_dim { opacity: 1; visibility: visible;}

  body.mobile_nav_open .mobile_nav { transform: translateX(0); visibility: visible; pointer-events: auto; transition: transform 0.3s ease, visibility 0s linear 0s;}

  /* 모바일 nav 열릴 때 PC 우측 CTA 숨김 */
  body.mobile_nav_open .ws-consult-trigger { display: none !important;}
}

/* 모바일(≤767px): 로고 이미지 소폭 축소 */
@media screen and (max-width: 767px) {
  .gnb_warp .logo img { height: 28px !important;}
}

/* 태블릿(768~1023px): 좌우 여백 확대 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .gnb .gnb_warp { padding: 0 28px !important;}
  .gnb_warp .logo img { height: 34px !important;}
}

/* prefers-reduced-motion: 슬라이드 애니메이션 제거 */
@media (prefers-reduced-motion: reduce) {
  .mobile_nav_dim,.mobile_nav { transition: visibility 0s linear 0.3s !important;}
  body.mobile_nav_open .mobile_nav { transition: visibility 0s linear 0s !important;}
}

/* =========================================================
   스크린 리더 전용 유틸리티
========================================================= */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;}

/* =========================================================
   PC 우측 고정 CTA 트리거 (768px 이상)
========================================================= */

.ws-consult-trigger { display: none;}

@media screen and (min-width: 768px) {
  .ws-consult-trigger { display: flex; align-items: center; justify-content: center; position: fixed; right: 0; top: 50%; transform: translateY(-50%); width: 86px; padding: 16px 10px; box-sizing: border-box; background: var(--ws-rose); color: #fff; border: none; border-radius: 12px 0 0 12px; cursor: pointer; writing-mode: horizontal-tb; text-orientation: initial; font-size: 14px; font-weight: 700; font-family: inherit; letter-spacing: 0.05em; line-height: 1.45; overflow: visible; z-index: 14900; box-shadow: -3px 0 16px rgba(168, 95, 101, 0.3); transition: background 0.18s ease, box-shadow 0.18s ease;}

  .ws-consult-trigger span { display: block; width: 100%; text-align: center; white-space: nowrap;}

  .ws-consult-trigger:hover { background: var(--ws-rose-dark); box-shadow: -4px 0 20px rgba(168, 95, 101, 0.44);}

  .ws-consult-trigger:focus-visible { outline: 3px solid var(--ws-rose); outline-offset: 3px; background: var(--ws-rose-dark);}
}

/* =========================================================
   상담 패널 Overlay
========================================================= */

.ws-consult-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.52); opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s ease; z-index: 15000;}

.ws-consult-overlay.is-open { opacity: 1; visibility: visible;}

/* =========================================================
   상담 패널 Drawer
========================================================= */

.ws-consult-drawer { position: fixed; top: 0; right: 0; width: 440px; max-width: 100%; height: 100%; height: 100dvh; background: #fff; transform: translateX(100%); visibility: hidden; pointer-events: none; transition: transform 0.32s cubic-bezier(0.25, 0, 0.1, 1), visibility 0s linear 0.32s; z-index: 15001; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: -4px 0 32px rgba(63, 45, 37, 0.18); display: flex; flex-direction: column;}

.ws-consult-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; transition: transform 0.32s cubic-bezier(0.25, 0, 0.1, 1), visibility 0s linear 0s;}

@media screen and (max-width: 767px) {
  .ws-consult-drawer { width: 100%;}
}

/* 모션 감소 선호 사용자 */
@media (prefers-reduced-motion: reduce) {
  .ws-consult-overlay,.ws-consult-drawer { transition: none !important;}

  .ws-consult-drawer { visibility: hidden;}

  .ws-consult-drawer.is-open { visibility: visible;}
}

/* =========================================================
   상담사 자격증 확인 모달 Overlay
   (z-index는 상담 drawer(15001)보다 위, 개인정보 팝업(16000)보다 아래)
========================================================= */

.ws-certificate-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.22s ease, visibility 0.22s ease; z-index: 15500;}

.ws-certificate-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto;}

/* =========================================================
   상담사 자격증 확인 모달
========================================================= */

.ws-certificate-modal { position: fixed; top: 50%; left: 50%; width: calc(100% - 40px); max-width: 660px; max-height: 84vh; max-height: 84dvh; margin: 0; background: #fff; border-radius: 14px; box-shadow: 0 18px 48px rgba(63, 45, 37, 0.28); transform: translate(-50%, -50%) scale(0.96); opacity: 0; visibility: hidden; pointer-events: none; overflow-y: auto; -webkit-overflow-scrolling: touch; box-sizing: border-box; z-index: 15501; transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;}

.ws-certificate-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%) scale(1); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;}

.ws-certificate-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0;}

.ws-certificate-modal__title { margin: 0; color: var(--ws-brown); font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -0.03em;}

.ws-certificate-modal__close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border: 0; background: transparent; color: #555; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 8px; font-family: inherit; transition: background 0.15s ease, color 0.15s ease;}

.ws-certificate-modal__close:hover { background: var(--ws-cream); color: var(--ws-brown);}

.ws-certificate-modal__close:focus-visible { outline: 3px solid var(--ws-rose); outline-offset: 2px;}

.ws-certificate-modal__body { padding: 14px 16px 16px;}

.ws-certificate-modal__body img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; border-radius: 8px;}

@media screen and (max-width: 767px) {
  .ws-certificate-modal { width: calc(100% - 28px); max-width: none; max-height: 88dvh;}

  .ws-certificate-modal__title { font-size: 17px;}

  .ws-certificate-modal__body { padding: 12px 16px 16px;}
}

/* 모션 감소 선호 사용자 */
@media (prefers-reduced-motion: reduce) {
  .ws-certificate-overlay,.ws-certificate-modal { transition: none !important;}

  .ws-certificate-modal { visibility: hidden;}

  .ws-certificate-modal.is-open { visibility: visible;}
}

/* 헤더 — 닫기 버튼 행 */
.ws-consult-drawer__header { display: flex; align-items: center; justify-content: flex-end; padding: 16px 20px 0; flex-shrink: 0;}

.ws-consult-drawer__close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: transparent; color: #555; font-size: 30px; line-height: 1; cursor: pointer; border-radius: 8px; font-family: inherit; transition: background 0.15s ease, color 0.15s ease;}

.ws-consult-drawer__close:hover { background: var(--ws-cream); color: var(--ws-brown);}

.ws-consult-drawer__close:focus-visible { outline: 3px solid var(--ws-rose); outline-offset: 2px;}

/* =========================================================
   상담 패널 내부 콘텐츠
========================================================= */

.ws-consult-drawer__inner { padding: 10px 28px 44px; flex: 1;}

@media screen and (max-width: 767px) {
  .ws-consult-drawer__inner { padding: 6px 20px 36px;}

  /* 모바일: 하단 3분할 CTA(전화·카톡·문의)와 중복되므로 Drawer 내부 연락처 카드는 숨김 */
  .ws-consult-drawer__contact { display: none;}
}

/* 연락처 정보 (텍스트 전용, 링크 없음) — 폼 아래, 정확한 2열 기준선 정렬 */
.ws-consult-drawer__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; column-gap: 20px; row-gap: 8px; margin-top: 20px; padding: 16px 18px; background: var(--ws-cream); border-radius: 12px;}

.ws-consult-drawer__contact-item { display: flex; flex-direction: column; gap: 3px; min-width: 0;}

.ws-consult-drawer__contact-label { font-size: 11px; font-weight: 700; color: var(--ws-rose); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;}

.ws-consult-drawer__contact-value { font-size: 15px; font-weight: 700; color: var(--ws-brown); letter-spacing: -0.03em; line-height: 1.3;}

/* 제목 */
.ws-consult-drawer__title { margin: 0 0 10px; color: var(--ws-brown); font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.05em;}

/* 안내 문구 */
.ws-consult-drawer__desc { margin: 0 0 22px; color: var(--ws-brown-soft); font-size: 14px; line-height: 1.75; letter-spacing: -0.03em; word-break: keep-all;}

/* PC(1024px 이상): 제목 굵기·설명 줄바꿈 보정 (연락처는 기본 2열 규칙을 그대로 사용) */
@media screen and (min-width: 1024px) {
  .ws-consult-drawer__title { font-weight: 600;}

  .ws-consult-drawer__desc { font-size: 15px; line-height: 1.7;}
}

/* =========================================================
   상담 폼
========================================================= */

.ws-consult-form { display: flex; flex-direction: column; gap: 14px;}

.ws-consult-form__field { display: flex; flex-direction: column; gap: 5px;}

/* 이름·나이 한 줄 배치 (PC·모바일 공통, 항상 가로 유지) */
.ws-consult-form__row { display: flex; gap: 10px;}

.ws-consult-form__row > .ws-consult-form__field { min-width: 0;}

.ws-consult-form__row--name-age > .ws-consult-form__field:first-child { flex: 65 1 0%;}

.ws-consult-form__row--name-age > .ws-consult-form__field:last-child { flex: 35 1 0%;}

.ws-consult-form__label { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600; color: var(--ws-brown); letter-spacing: -0.03em;}

.ws-consult-form__req { color: var(--ws-rose); font-size: 15px; line-height: 1; margin-left: 1px;}

.ws-consult-form__input,.ws-consult-form__textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--ws-line); border-radius: 10px; background: #fff; color: var(--ws-brown); font-size: 15px; font-family: inherit; line-height: 1.5; letter-spacing: -0.03em; box-sizing: border-box; transition: border-color 0.15s ease, box-shadow 0.15s ease; -webkit-appearance: none; appearance: none;}

.ws-consult-form__input::placeholder,.ws-consult-form__textarea::placeholder { color: #bba89e;}

.ws-consult-form__input:focus,.ws-consult-form__textarea:focus { outline: none; border-color: var(--ws-rose); box-shadow: 0 0 0 3px rgba(201, 120, 125, 0.15);}

.ws-consult-form__input[aria-invalid="true"],.ws-consult-form__textarea[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);}

.ws-consult-form__textarea { height: 96px; min-height: 96px; resize: vertical;}

.ws-consult-form__error { margin: 0; min-height: 16px; color: #c0392b; font-size: 12px; line-height: 1.4; letter-spacing: -0.02em;}

/* 값이 없는 오류 메시지는 불필요한 여백을 차지하지 않도록 숨김 */
.ws-consult-form__error:empty { display: none;}

/* 개인정보 동의 행 — 동의 문구(1열)와 내용 보기 버튼(2열)을 같은 행에서 수직 중앙 정렬 */
.ws-consult-form__agree-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 5px;}

.ws-consult-form__agree-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ws-brown); cursor: pointer; letter-spacing: -0.03em;}

.ws-consult-form__agree-label input[type="checkbox"] { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--ws-rose); cursor: pointer;}

.ws-consult-form__agree-view { display: inline-flex; align-items: center; flex-shrink: 0; padding: 4px 10px; border: 1px solid var(--ws-line); border-radius: 6px; background: transparent; color: var(--ws-brown-soft); font-size: 12px; font-family: inherit; cursor: pointer; letter-spacing: -0.02em; white-space: nowrap; width: fit-content; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;}

/* 오류 메시지는 두 열 전체 폭을 사용하는 다음 줄에 표시 */
.ws-consult-form__agree-wrap > .ws-consult-form__error { grid-column: 1 / -1;}

.ws-consult-form__agree-view:hover { background: var(--ws-cream); border-color: var(--ws-rose); color: var(--ws-rose);}

.ws-consult-form__agree-view:focus-visible { outline: 3px solid var(--ws-rose); outline-offset: 2px;}

/* 제출 버튼 */
.ws-consult-form__submit { width: 100%; height: 52px; margin-top: 8px; border: none; border-radius: 10px; background: linear-gradient(135deg, var(--ws-rose), var(--ws-rose-dark)); color: #fff; font-size: 16px; font-weight: 700; font-family: inherit; letter-spacing: -0.04em; cursor: pointer; transition: opacity 0.18s ease;}

.ws-consult-form__submit:hover { opacity: 0.88;}

.ws-consult-form__submit:focus-visible { outline: 3px solid var(--ws-rose); outline-offset: 3px;}

.ws-consult-form__submit:disabled { opacity: 0.5; cursor: not-allowed;}

/* 접수 완료 상태 — 기존 버튼과 분명히 구분되되 밝은 초록 등 새 색상 계열은 사용하지 않음 */
.ws-consult-form__submit.is-complete,
.ws-consult-form__submit.is-complete:disabled {
    background: var(--ws-brown);
    color: #fff;
    opacity: 1;
    cursor: default;
}

.ws-consult-form__submit.is-complete:hover { background: var(--ws-brown); color: #fff; opacity: 1;}

/* =========================================================
   button 요소 사용 시 기본값 재정의
========================================================= */

/* 모바일 하단 CTA 문의 버튼 */
button.ws-mobile-bottom-cta__apply { border: none; cursor: pointer; font-family: inherit;}

/* ==============================================
   개인정보처리방침 팝업 기본 스타일
   (z-index는 상담 drawer(15001)보다 위에 표시되도록 16000/16001로 지정)
   ============================================== */

.pop_back { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; opacity: 0.65; z-index: 16000 !important; display: none;}

.pop_private { position: fixed; top: 50%; left: 50%; width: 760px; height: 600px; margin-top: -300px; margin-left: -380px; z-index: 16001 !important; background-color: #fff; display: none;}

.pop_private .text { position: relative; padding: 20px;}

.pop_private .text h1 { font-size: 20px; font-weight: 500; padding: 5px 0 15px 0;}

.pop_private .text .insection { position: relative; background-color: #f2f2f2; padding: 15px; height: 435px; font-size: 12px; color: #666; line-height: 24px; overflow-y: scroll;}

.pop_private .btn { position: relative; background-color: #333; text-align: center; padding: 20px 0;}

.pop_private .btn a { color: #fff; font-size: 15px; line-height: 15px; display: block;}

/* 태블릿(기존 max-width:1200px 대응) */
@media screen and (max-width: 1200px) {
  .pop_private { width: 90%; height: 550px; margin-top: -300px; margin-left: -45%;}
  .pop_private .text { padding: 20px 20px 0 20px;}
  .pop_private .text h1 { font-size: 17px;}
  .pop_private .text .insection { line-height: 22px;}
  .pop_private .btn { padding: 15px 0;}
  .pop_private .btn a { font-size: 14px;}
}

/* 모바일(기존 max-width:767px 대응) */
@media screen and (max-width: 767px) {
  .pop_private { width: 90%; height: 500px; margin-top: -270px; margin-left: -45%;}
  .pop_private .text { padding: 10px;}
  .pop_private .text h1 { font-size: 16px; padding: 5px 0 10px 0;}
  .pop_private .text .insection { padding: 10px; height: 420px;}
  .pop_private .btn { padding: 15px 0;}
  .pop_private .btn a { font-size: 13px; line-height: 13px;}
}

/* ==============================================
   모바일: 입력 폼 font-size 16px — iOS 자동 확대 방지
   ============================================== */

@media screen and (max-width: 767px) {
  .ws-consult-form__input,.ws-consult-form__textarea { font-size: 16px;}
}

/* ==============================================
   로고 이중 이미지 전환 (white ↔ color)
   ============================================== */

/* 기본: 흰색 로고 표시, 컬러 로고 숨김 */
.gnb .logo .ws-logo-white { display: block;}
.gnb .logo .ws-logo-color { display: none;}

/* 스크롤 후 흰색 배경(gnb_fixed): 컬러 로고로 전환 (PC 1024px+) */
@media screen and (min-width: 1024px) {
  .gnb.gnb_fixed .logo .ws-logo-white { display: none;}
  .gnb.gnb_fixed .logo .ws-logo-color { display: block;}
}

/* 모바일·태블릿(≤1023px): GNB 배경이 어두우므로 항상 흰색 로고 유지 */
@media screen and (max-width: 1023px) {
  .gnb .logo .ws-logo-white { display: block !important;}
  .gnb .logo .ws-logo-color { display: none !important;}
}

/* 두 로고 이미지 크기 통일 — 레이아웃 시프트 방지 */
.gnb .logo .ws-logo-white,.gnb .logo .ws-logo-color { max-height: 40px; width: auto; object-fit: contain; vertical-align: middle;}

/* ==============================================
   PC GNB 가로 메뉴 — 정렬·크기 통합 (1024px 이상)
   womensecret.css의 절대좌표 정렬(로고 top, 메뉴 padding-left)을
   flex 중앙 정렬로 교체해 로고·메뉴의 수직 중앙선을 일치시키고,
   1024~1200px 구간에서 좁아지던 기존 태블릿 규칙과 충돌하지 않도록
   동일 선택자를 소스 순서로 덮어씀
   ============================================== */

@media screen and (min-width: 1024px) {
  .gnb .gnb_warp { display: flex; align-items: center; justify-content: flex-start; gap: 64px; width: 100%; max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box;}

  .gnb .gnb_warp .logo { position: static; top: auto; left: auto; display: flex; align-items: center; flex: 0 0 auto;}

  .gnb .gnb_warp .scroll { display: flex; align-items: center; width: auto; margin-left: 0; overflow: visible;}

  .gnb .gnb_warp .scroll .back { display: none;}

  .gnb .gnb_warp .menu { position: static; display: flex; align-items: center; padding: 0; width: auto;}

  .gnb .gnb_warp .menu ul { display: flex; align-items: center;}

  .gnb .gnb_warp .menu li { float: none; margin-right: 0;}

  .gnb .gnb_warp .menu li + li { margin-left: 34px;}

  .gnb .gnb_warp .menu li a { display: inline-flex; align-items: center; font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; white-space: nowrap;}
}

.gnb .menu li a[aria-current="location"] { color: var(--ws-rose, #c9787d);}

.gnb .menu li a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px;}

/* ==============================================
   PC 우측 고정 CTA 반응형 보완
   768~1023px(태블릿): width 74px, font-size 13px 유지
   ============================================== */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ws-consult-trigger { width: 74px; font-size: 13px; padding: 14px 8px;}
}

/* PC(1024px 이상): 굵기·자간·패딩을 완화해 문구가 답답하지 않도록 정리 */
@media screen and (min-width: 1024px) {
  .ws-consult-trigger { width: 84px; padding: 16px 12px; font-weight: 500; font-size: 16px; line-height: 1.6; letter-spacing: 0.02em; box-shadow: -3px 0 12px rgba(168, 95, 101, 0.22);}

  .ws-consult-trigger span { letter-spacing: 0.02em;}

  .ws-consult-trigger:hover,.ws-consult-trigger:focus-visible { box-shadow: -4px 0 16px rgba(168, 95, 101, 0.32);}
}

/* ==============================================
   가로 스크롤 방지 전역
   ============================================== */

@media screen and (max-width: 1023px) {
  .ws-renewal-section { overflow-x: hidden;}
}

/* ==============================================
   prefers-reduced-motion 전역 보완
   ============================================== */

@media (prefers-reduced-motion: reduce) {
  .ws-consult-trigger,.ws-final-consult-btn,.ws-counselor-kakao,.ws-consult-form__input,.ws-consult-form__textarea,.ws-consult-form__submit,.ws-consult-form__agree-view { transition: none !important;}
}
