/* =====================================================
   법률사무소 완 (LAW OFFICE WAN)
   custom.css
   - Figma 기준 확대 버전
   - 콘텐츠 최대 넓이: 1280px
   - 서브탑: 화면 100% - 좌우 20px
   - 헤더: 로고 높이 60px 기준
   - 클래스 접두사: wan-
====================================================== */

/* ─── Web Font ─── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ─── CSS Variables ─── */
:root {
  --wan-navy: #002E5E;
  --wan-gold: #A48141;
  --wan-text: #333333;
  --wan-muted: #666666;
  --wan-line: #dedede;
  --wan-section-bg: #f5f5f5;
  --wan-white: #ffffff;

  --wan-content-width: 1280px;
  --wan-header-height: 88px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
}

html,
body {
  width: 100%;
  font-size: 10px;
}

body {
  color: var(--wan-text);
  letter-spacing: -0.02em;
}



img {
  max-width: 100%;
  vertical-align: top;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* =====================================================
   Header
====================================================== */

.wan-header {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  z-index: 9000;
  background: #ffffff;
  border-bottom: none;
}

.wan-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--wan-header-height);
  margin: 0 auto;
  padding: 0 70px;
}

/* ─── Logo ─── */
.wan-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.wan-logo svg {
  display: block;
  height: 60px;
  width: auto;
}

/* ─── GNB Navigation ─── */
.wan-gnb {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 68px;
  margin-left: auto;
  list-style: none;
}

.wan-gnb-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.wan-gnb-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;

  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: #111111;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;

  transition: color 0.2s ease;
}

.wan-gnb-link::after {
  display: none;
}

.wan-gnb-item:hover .wan-gnb-link {
  color: var(--wan-navy);
}

/* ─── 반응형 작업시 ─── */

.navbar_togglebtn{
	display: none; 
}

.navbar_menu {
    display: none; 
}

.navbar_menu ul {
    display: flex;           
    justify-content: center; 
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar_menu li {
    padding: 10px 20px;
}

.navbar_menu a {
    text-decoration: none;
    color: #002E5E; 
    font-weight: bold;
}

/* ─── Header Mega Background ─── */
.wan-header::before {
  content: '';
  position: absolute;
  top: var(--wan-header-height);
  left: 0;
  width: 100%;
  height: 0;
  background: #ffffff;
  transition: height 0.3s ease;
  z-index: 8990;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}

.wan-header:hover::before {
  height: 240px;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.wan-header:hover .wan-dropdown {
  display: block;
  animation: wanFadeIn 0.3s ease forwards;
}

@keyframes wanFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -5px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ─── Dropdown Menu ─── */
.wan-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9100;

  min-width: 120px;
  padding-top: 18px;
  list-style: none;
  text-align: center;

  background: transparent;
  border: none;
  box-shadow: none;
}

.wan-dropdown-link {
  display: inline-block;
  padding: 8px 0;

  font-size: 15px;
  font-weight: 400;
  color: #444444;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;

  transition: color 0.2s ease, font-weight 0.2s ease;
}

.wan-dropdown-link:hover {
  background: transparent;
  color: var(--wan-navy);
  font-weight: 500;
}

/* 헤더가 relative이므로 본문 강제 여백 제거 */
#wrapper.sub.practice {
  padding-top: 0 !important;
}

/* =====================================================
   Common Layout
====================================================== */

.wan-inner {
  width: 100%;
  max-width: var(--wan-content-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.wan-sub-container {
  width: 100%;
  overflow: hidden;
}

/* =====================================================
   1. Sub Hero
   - 1차 메뉴 기준 배경
   - 2차 메뉴 기준 타이틀
   - Breadcrumb 드롭다운 지원
====================================================== */

.wan-sub-hero {
  position: relative;
  width: calc(100% - 40px);
  height: 420px;
  margin: 0 20px 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;

  background-color: var(--wan-navy);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  border-radius: 18px;
  overflow: hidden;
}

.wan-sub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;

  /* 기존 0.48 → 0.28로 변경 */
  background: rgba(0, 0, 0, 0.28);

  border-radius: inherit;
}

.wan-sub-hero .wan-inner {
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.wan-breadcrumb-wrap {
  display: inline-block;
  margin-bottom: 24px;
}

.wan-breadcrumb {
  display: flex;
  align-items: center;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wan-breadcrumb > li {
  position: relative;
  display: flex;
  align-items: center;
}

.wan-breadcrumb > li:not(:last-child)::after {
  display: none;
}

.wan-breadcrumb a,
.wan-breadcrumb button {
  height: 32px;
  padding: 0 16px;
  border: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;

  font-size: 14px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, color 0.2s ease;
}

.wan-breadcrumb a:hover,
.wan-breadcrumb button:hover {
  background: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.wan-breadcrumb .home a {
  width: 40px;
  padding: 0;
  border-radius: 16px 0 0 16px;
}

.wan-breadcrumb > li:last-child > a,
.wan-breadcrumb > li:last-child > button {
  border-radius: 0 16px 16px 0;
}

.wan-breadcrumb i {
  font-size: 13px;
}

.wan-breadcrumb .fa-angle-down {
  margin-top: 1px;
}

/* Breadcrumb Dropdown */
.breadcrumb-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;

  min-width: 150px;
  margin: 0;
  padding: 8px;

  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);

  list-style: none;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.has-dropdown:hover .breadcrumb-dropdown,
.has-dropdown.is-open .breadcrumb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.breadcrumb-dropdown li {
  display: block;
}

.breadcrumb-dropdown li + li {
  margin-top: 2px;
}

.breadcrumb-dropdown a {
  width: 100%;
  height: auto;
  min-height: 36px;
  padding: 9px 12px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  background: transparent;
  border-radius: 8px;
  color: #222222;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.035em;
  white-space: nowrap;

  backdrop-filter: none;
}

.breadcrumb-dropdown a:hover {
  background: #f3f4f6;
  color: #111111;
}

/* Hero Text */
.wan-hero-title {
  margin: 0;
  color: #ffffff;

  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.055em;
  text-align: center;
  word-break: keep-all;
}

.wan-hero-desc {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);

  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.04em;
  text-align: center;
  word-break: keep-all;
}

/* =====================================================
   2. Intro
====================================================== */

.wan-sub-intro {
  width: 100%;
  padding: 100px 20px 96px;
  text-align: center;
  background: #ffffff;
}

.wan-sub-intro .wan-inner {
  max-width: 1280px;
  padding-left: 0;
  padding-right: 0;
}

.wan-intro-kicker {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  color: #222222;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.wan-intro-title {
  margin: 0 0 20px;
  font-size: 48px;
  font-weight: 700;
  color: #333333;
  line-height: 1.28;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.wan-intro-title strong {
  font-weight: 700;
  color: var(--wan-gold);
}

.wan-intro-text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: #555555;
  line-height: 1.7;
  letter-spacing: -0.04em;
}

/* =====================================================
   Section Title
====================================================== */

.wan-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0 0 48px;

  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.wan-section-title::before,
.wan-section-title::after {
  content: '';
  display: block;
  width: 320px;
  max-width: 30%;
  height: 1px;
  background-color: var(--wan-line);
}

/* =====================================================
   3. 주요 업무
====================================================== */

.wan-practice-section {
  width: 100%;
  padding: 92px 0 96px;
  background: var(--wan-section-bg);
}

.wan-practice-areas {
  width: 100%;
  max-width: var(--wan-content-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.wan-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wan-grid-item {
  min-height: 270px;
  padding: 42px 46px 38px;

  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.045);

  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wan-grid-item:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.wan-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
}

.wan-icon svg,
.wan-icon img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.wan-icon svg path {
  fill: #222222;
}

.wan-grid-item h5 {
  margin: 0 0 18px;

  font-size: 24px;
  font-weight: 700;
  color: var(--wan-navy);
  line-height: 1.35;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.wan-grid-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wan-grid-item ul li {
  font-size: 17px;
  font-weight: 400;
  color: #555555;
  line-height: 1.78;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

/* =====================================================
   4. 3단계 핵심 전략
====================================================== */

.wan-strategy-steps {
  width: 100%;
  padding: 96px 20px 120px;
  background: #ffffff;
}

.wan-strategy-steps .wan-inner {
  max-width: var(--wan-content-width);
  padding-left: 20px;
  padding-right: 20px;
}

.wan-step-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.wan-step-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.wan-step-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
  background: #eeeeee;
}

.wan-step-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wan-step-item:hover .wan-step-img img {
  transform: scale(1.04);
}

.wan-step-content {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 14px;
  padding: 28px 0 0;
}

.wan-step-num {
  grid-column: 1;
  grid-row: 1;
  display: block;
  padding-top: 3px;

  font-size: 24px;
  font-weight: 800;
  color: #d8d8d8;
  line-height: 1;
}

.wan-step-content h5 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;

  font-size: 24px;
  font-weight: 700;
  color: var(--wan-navy);
  line-height: 1.35;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.wan-step-content p {
  grid-column: 2;
  margin: 0;

  font-size: 17px;
  font-weight: 400;
  color: #666666;
  line-height: 1.6;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

/* =====================================================
   Footer
====================================================== */

.wan-footer {
  width: 100%;
  background: #1f2020;
  color: #8f8f8f;
  padding: 96px 0 84px;
}

.wan-footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.wan-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 120px;
}

.wan-footer-logo {
  flex-shrink: 0;
  padding-top: 4px;
}

.wan-footer-logo a {
  display: inline-flex;
  align-items: center;
  color: #7a7a7a;
  text-decoration: none;
}

.wan-footer-logo svg {
  display: block;
  width: auto;
  height: 72px;
  color: #777777;
}

.wan-footer-logo svg path,
.wan-footer-logo svg rect,
.wan-footer-logo svg text,
.wan-footer-logo svg g {
  fill: currentColor;
  color: currentColor;
}

.wan-footer-logo svg rect {
  fill: none;
  stroke: currentColor;
}

.wan-footer-nav {
  display: flex;
  justify-content: flex-end;
  gap:50px;
  flex: 1;
}

.wan-footer-nav-col {
  min-width: 96px;
  text-align: center;
}

.wan-footer-nav-title {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 800;
  color: #f0f0f0;
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wan-footer-nav-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wan-footer-nav-col li + li {
  margin-top: 18px;
}

.wan-footer-nav-col li a {
  font-size: 17px;
  font-weight: 400;
  color: #b1b1b1;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wan-footer-nav-col li a:hover {
  color: #ffffff;
}

.wan-footer-line {
  width: 100%;
  height: 1px;
  margin: 76px 0 36px;
  background: rgba(255, 255, 255, 0.14);
}

.wan-footer-info {
  font-size: 17px;
  font-weight: 400;
  color: #969696;
  line-height: 1.9;
  letter-spacing: -0.035em;
}

.wan-footer-info p {
  margin: 0;
}

.wan-footer-company {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 16px !important;
}

.wan-footer-company span {
  position: relative;
  display: inline-block;
  padding-right: 28px;
  margin-right: 28px;
}

.wan-footer-company span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.wan-footer-copy {
  margin-top: 42px !important;
  font-size: 14px;
  color: #8b8b8b;
}

/* =====================================================
   Office Intro Page
   사무실 소개
====================================================== */

/* Cafe24 서명체 */
@font-face {
  font-family: 'Cafe24Oneprettynight';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.1/Cafe24Oneprettynight.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* 전체 소개 섹션 */
.wan-office-intro {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

.wan-office-inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: 780px;
  margin: 0 auto;
  padding: 92px 20px 0;
  display: grid;
  grid-template-columns: 1fr 354px;
  align-items: end;
}

/* 왼쪽 텍스트 */
.wan-office-text {
  position: relative;
  z-index: 2;
  padding-bottom: 96px;
}

.wan-office-kicker {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 800;
  color: var(--wan-navy);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.wan-office-title {
  margin: 0 0 38px;
  font-size: 48px;
  font-weight: 800;
  color: #333333;
  line-height: 1.28;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.wan-office-desc {
  max-width: 680px;
}

.wan-office-desc p {
  margin: 0 0 26px;
  font-size: 19px;
  font-weight: 400;
  color: #555555;
  line-height: 1.78;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.wan-office-desc p:last-child {
  margin-bottom: 0;
}

/* 서명 영역 */
.wan-office-sign {
  margin-top: 52px;
}

.wan-office-sign p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #222222;
  line-height: 1;
}

.wan-office-sign p strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wan-office-sign p span {
  font-size: 16px;
  font-weight: 400;
  color: #777777;
  letter-spacing: -0.04em;
}

.wan-office-sign-name {
  font-family: 'Cafe24Oneprettynight', 'Pretendard', sans-serif;
  font-size: 45px;
  font-weight: 400;
  color: #000000;
  line-height: 1;
  letter-spacing: 0;
}

.wan-office-sign-name span {
  margin-left: 10px;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  color: #777777;
  vertical-align: baseline;
}

/* 오른쪽 대표 이미지 */
.wan-office-photo {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 720px;
}

.wan-office-photo img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* 배경 워터마크 */
.wan-office-watermark {
  position: absolute;
  right:0px;
  top: 0px;
  z-index: 1;
  font-size: 520px;
  font-weight: 900;
  line-height: 1;
  color: #eef1f3;
  letter-spacing: -0.08em;
  user-select: none;
  pointer-events: none;
}

/* =====================================================
   Office Promise Section
====================================================== */

.wan-office-promise {
  position: relative;
  width: 100%;
  min-height: 620px;
  padding: 120px 20px 110px;
  overflow: hidden;
  background:
          url('../img/office_promise_bg.png') center center / cover no-repeat;
}

.wan-office-promise-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 54, .28);
  z-index: 1;
}

.wan-office-promise-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  color: #ffffff;
}

.wan-office-quote-mark {
  margin-bottom: 16px;
  text-align: center;
  font-size: 104px;
  font-weight: 800;
  line-height: .7;
  color: rgba(255, 255, 255, .62);
  font-family: Georgia, serif;
}

.wan-office-promise-title {
  margin: 0 0 86px;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.wan-office-promise-title span{display: block; margin: 20px 0;}

.wan-office-promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
}

.wan-office-promise-item {
  color: #ffffff;
}

.wan-office-promise-item span {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.wan-office-promise-item h4 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.wan-office-promise-item p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: #D0D0D0;
  line-height: 1.6;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

/* =====================================================
   Location Page
   location.php - 오시는 길
====================================================== */

.wan-location {
  width: 100%;
  background: #ffffff;
  padding: 92px 0 110px;
}

.wan-location-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 상단 문구 */
.wan-location-head {
  text-align: center;
  margin-bottom: 68px;
}

.wan-location-kicker {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  color: #222222;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.wan-location-title {
  margin: 0 0 20px;
  font-size: 48px;
  font-weight: 700;
  color: #333333;
  line-height: 1.28;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.wan-location-title strong {
  color: var(--wan-gold);
  font-weight: 700;
}

.wan-location-desc {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: #555555;
  line-height: 1.7;
  letter-spacing: -0.04em;
}

/* 주소 / 연락처 / 이메일 */
.wan-location-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 76px;
  border-left: 1px solid #e1e1e1;
  border-right: 1px solid #e1e1e1;
}

.wan-location-info-item {
  min-height: 126px;
  padding: 6px 40px 0;
  border-right: 1px solid #e1e1e1;
}

.wan-location-info-item:last-child {
  border-right: 0;
}

.wan-location-info-item h4 {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 800;
  color: #222222;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.wan-location-info-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  line-height: 1.65;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

/* 지도 */
.wan-location-map {
  width: 100%;
  height: 550px;
  margin-bottom: 92px;
  background: #eeeeee;
  overflow: hidden;
}

.wan-location-map img,
.wan-location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* 사무실 전경 */
.wan-office-gallery {
  width: 100%;
}

.wan-location-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0 0 48px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #222222;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.wan-location-section-title::before,
.wan-location-section-title::after {
  content: '';
  display: block;
  width: 320px;
  max-width: 30%;
  height: 1px;
  background: #dedede;
}

.wan-office-gallery-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.wan-office-gallery-item {
  height: 250px;
  overflow: hidden;
  background: #eeeeee;
}

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

/* =====================================================
   Consult Page
   consult.php - 온라인 상담
====================================================== */

.wan-consult-page {
  width: 100%;
  padding: 94px 0 120px;
  background: #f6f6f6;
}

.wan-consult-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.wan-consult-head {
  margin-bottom: 72px;
  text-align: center;
}

.wan-consult-kicker {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.wan-consult-title {
  margin: 0 0 30px;
  font-size: 52px;
  font-weight: 800;
  color: #333333;
  line-height: 1.25;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.wan-consult-title strong {
  color: var(--wan-gold);
  font-weight: 800;
}

.wan-consult-desc {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: #555555;
  line-height: 1.8;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

/* form card */

.wan-consult-form-box fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.wan-consult-form-box legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.wan-consult-field {
  margin-bottom: 22px;
}

.wan-consult-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.wan-consult-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.wan-consult-field input,
.wan-consult-field select,
.wan-consult-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #dddddd;
  background: #ffffff;
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.035em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wan-consult-field input {
  height: 48px;
  padding: 0 16px;
}

.wan-consult-field textarea {
  height: 150px;
  padding: 16px;
  line-height: 1.65;
  resize: none;
}

.wan-consult-field select {
  height: 56px;
  padding: 0 16px;
  appearance: none;
  background: #fff;
}

.wan-consult-field input::placeholder,
.wan-consult-field textarea::placeholder {
  color: #aaaaaa;
}

.wan-consult-field input:focus,
.wan-consult-field textarea:focus {
  border-color: var(--wan-navy);
  box-shadow: 0 0 0 3px rgba(0, 46, 94, 0.08);
}

/* agree */
.wan-consult-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 32px;
}

.wan-consult-agree input {
  width: 16px;
  height: 16px;
  accent-color: var(--wan-navy);
}

.wan-consult-agree label {
  font-size: 15px;
  font-weight: 400;
  color: #444444;
  letter-spacing: -0.035em;
}

.wan-privacy-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 23px;
  padding: 0 9px;
  border: 0;
  border-radius: 3px;
  background: #c9a460;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* submit */
.wan-consult-submit {
  text-align: center;
}

.wan-consult-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  background: #8a6b35;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wan-consult-submit button:hover {
  background: #74592b;
  transform: translateY(-2px);
}

/* =====================================================
   Modal
====================================================== */

.wan-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.wan-modal.active {
  display: block;
}

.wan-modal-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.wan-modal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  max-height: 72vh;
  padding: 34px 36px 38px;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  max-width: calc(100% - 40px);
}

.wan-modal-box h3 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.wan-modal-content {
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 14px;
  font-size: 14px;
  color: #333;
  line-height: 1.75;
  letter-spacing: -0.035em;
}

.wan-modal-content h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.wan-modal-content p {
  margin: 0 0 12px;
}

.wan-modal-close {
  position: absolute;
  right: 24px;
  top: 20px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #333333;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

/* complete modal */
.wan-complete-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 430px;
  padding: 46px 40px 42px;
  background: #ffffff;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.wan-complete-box h3 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.wan-complete-box p {
  margin: 0 0 30px;
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
  letter-spacing: -0.035em;
}

.wan-complete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 40px;
  border: 0;
  background: var(--wan-gold);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* Privacy Modal Content */
.wan-privacy-content {
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 14px;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  line-height: 1.55;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.wan-privacy-content p {
  margin: 0 0 8px;
}

.wan-privacy-content h4 {
  margin: 20px 0 8px;
  padding: 10px 12px;
  background: #f5f5f5;
  border-left: 3px solid var(--wan-gold);
  font-size: 14px;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.wan-privacy-content h4:first-child {
  margin-top: 0;
}

.wan-privacy-content ol,
.wan-privacy-content ul {
  margin: 0 0 10px;
  padding-left: 18px;
}

.wan-privacy-content li {
  margin: 0 0 5px;
  line-height: 1.55;
}

.wan-privacy-content strong {
  font-weight: 700;
  color: #111;
}

.wan-consult-submit button:disabled,
.wan-consult-submit button.is-loading {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.wan-consult-submit button:disabled:hover,
.wan-consult-submit button.is-loading:hover {
  background: #8a6b35;
  transform: none;
}

:root {
  --wan-main-width: 1280px;
  --wan-main-navy: #002E5E;
  --wan-main-navy-deep: #00264F;
  --wan-main-gold: #A48141;
  --wan-main-black: #222222;
  --wan-main-text: #333333;
  --wan-main-muted: #666666;
  --wan-main-line: #D9D9D9;
  --wan-main-card-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}