/*
Theme Name: Hansol Energyon
Theme URI: https://hansolenergyon.co.kr
Author: 웹닷
Author URI: https://webdot.kr
Description: 한솔에너지온 공식 웹사이트 커스텀 테마
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hansol-energyon
*/

/* ============================================================
   Common CSS — 한솔에너지온 공통 스타일
   모든 페이지에서 공유 (GNB, Footer, Sitemap, Tokens 등)
   ============================================================ */

/* ============================================================
   Core Tokens
   ============================================================ */
:root {
  --wd-primary:         #0181c6;
  --wd-primary-light:   #8fd4f5;
  --wd-primary-hover:   #006aa3;
  --wd-secondary:       #0165a0;

  --wd-text-primary:    #191919;
  --wd-text-secondary:  #5A5757;
  --wd-text-tertiary:   #666666;
  --wd-text-muted:      #939393;
  --wd-text-disabled:   #B1B1B1;
  --wd-text-inverse:    #FFFFFF;

  --wd-surface-white:   #FFFFFF;
  --wd-surface-light:   #F6F6F6;
  --wd-surface-subtle:  #F0F0F0;
  --wd-surface-dark:    #191919;
  --wd-surface-dark-section: #0C1F1A;

  --wd-border-default:  #D9D9D9;
  --wd-border-light:    #EAEAEA;
  --wd-border-strong:   #CCCCCC;
  --wd-border-on-dark:  rgba(255,255,255,0.15);

  --wd-font-primary:    'Pretendard Variable', 'Pretendard', sans-serif;
  --wd-font-secondary:  'Montserrat', 'Poppins', 'Pretendard Variable', sans-serif;

  --wd-duration-fast:   0.2s;
  --wd-duration-default: 0.3s;
  --wd-duration-slow:   0.8s;

  --wd-shadow-dropdown: 0 10px 30px 3px rgba(25,25,25,0.08);
  --wd-shadow-card:     2px 10px 24px rgba(25,25,25,0.16);

  --wd-container-max:   1800px;
  --wd-container-content: 1800px;
  --wd-container-padding: 40px;
}


/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wd-font-primary);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wd-text-primary);
  background: var(--wd-surface-white);
  letter-spacing: -0.04em;
  overflow-x: hidden;
  word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--wd-duration-default); }
ul, ol { list-style: none; }

.wd-container {
  max-width: var(--wd-container-content);
  margin: 0 auto;
  padding: 0 var(--wd-container-padding);
}

.wd-font-en { font-family: var(--wd-font-secondary); }


/* ============================================================
   GNB
   ============================================================ */
.wd-gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: background var(--wd-duration-default), border-color var(--wd-duration-default);
}

.wd-gnb--transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.wd-gnb--scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--wd-border-light);
  backdrop-filter: blur(10px);
}

/* 다크 섹션 위일 때 — scrolled이지만 다크 배경 */
.wd-gnb--dark {
  background: rgba(10,26,46,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.wd-gnb__inner {
  max-width: var(--wd-container-content);
  margin: 0 auto;
  padding: 0 var(--wd-container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wd-gnb__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wd-font-secondary);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.wd-gnb__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.wd-gnb--transparent .wd-gnb__logo-img,
.wd-gnb--dark .wd-gnb__logo-img {
  filter: brightness(0) invert(1);
}

.wd-gnb--scrolled .wd-gnb__logo-img {
  filter: none;
}

.wd-gnb__nav {
  display: flex;
  align-items: center;
  gap: 80px;
  height: 100%;
}

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

.wd-gnb__nav-link {
  font-size: 18px;
  font-weight: 700;
  transition: color var(--wd-duration-default);
  cursor: pointer;
  white-space: nowrap;
}

.wd-gnb--transparent .wd-gnb__nav-link,
.wd-gnb--dark .wd-gnb__nav-link { color: rgba(255,255,255,0.9); }
.wd-gnb--transparent .wd-gnb__nav-link:hover,
.wd-gnb--dark .wd-gnb__nav-link:hover { color: #FFFFFF; }
.wd-gnb--scrolled .wd-gnb__nav-link { color: var(--wd-text-primary); }
.wd-gnb--scrolled .wd-gnb__nav-link:hover { color: var(--wd-primary); }

.wd-gnb__util {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wd-gnb__lang {
  position: relative;
  font-family: var(--wd-font-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.wd-gnb__lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding: 6px 0;
  transition: color var(--wd-duration-default);
}

.wd-gnb__lang-globe {
  width: 16px;
  height: 16px;
}

.wd-gnb__lang-arrow {
  font-size: 10px;
  transition: transform var(--wd-duration-default);
}

.wd-gnb__lang.is-open .wd-gnb__lang-arrow {
  transform: rotate(180deg);
}

.wd-gnb--transparent .wd-gnb__lang-toggle,
.wd-gnb--dark .wd-gnb__lang-toggle { color: rgba(255,255,255,0.8); }
.wd-gnb--scrolled .wd-gnb__lang-toggle { color: var(--wd-text-secondary); }

.wd-gnb__lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100px;
  background: #FFFFFF;
  border: 1px solid var(--wd-border-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.wd-gnb__lang.is-open .wd-gnb__lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wd-gnb__lang-dropdown a {
  display: block;
  padding: 10px 16px;
  font-family: var(--wd-font-secondary);
  font-size: 13px;
  font-weight: 600;
  color: var(--wd-text-secondary);
  transition: all var(--wd-duration-default);
}

.wd-gnb__lang-dropdown a:hover {
  background: var(--wd-surface-light);
  color: var(--wd-text-primary);
}

.wd-gnb__lang-dropdown a.wd-gnb__lang--active {
  color: var(--wd-text-primary);
  font-weight: 700;
}

.wd-gnb__contact-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  transition: all var(--wd-duration-default);
  cursor: pointer;
}

.wd-gnb--transparent .wd-gnb__contact-btn,
.wd-gnb--dark .wd-gnb__contact-btn {
  border: 1px solid rgba(255,255,255,0.5);
  color: #FFFFFF;
  background: transparent;
}
.wd-gnb--transparent .wd-gnb__contact-btn:hover,
.wd-gnb--dark .wd-gnb__contact-btn:hover {
  background: rgba(255,255,255,0.1);
}

.wd-gnb--scrolled .wd-gnb__contact-btn {
  border: 1px solid var(--wd-primary);
  color: var(--wd-primary);
  background: transparent;
}
.wd-gnb--scrolled .wd-gnb__contact-btn:hover {
  background: var(--wd-primary);
  color: #FFFFFF;
}

.wd-gnb__hamburger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.wd-gnb__hamburger span {
  width: 100%;
  height: 2px;
  transition: all var(--wd-duration-default);
}

.wd-gnb--transparent .wd-gnb__hamburger span,
.wd-gnb--dark .wd-gnb__hamburger span { background: #FFFFFF; }
.wd-gnb--scrolled .wd-gnb__hamburger span { background: var(--wd-text-primary); }

/* 사이트맵 버튼 — 2줄 햄버거 */
.wd-gnb__sitemap-btn {
  display: flex;
  width: 28px;
  height: 16px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.wd-gnb__sitemap-btn span {
  width: 100%;
  height: 2px;
  border-radius: 1px;
  transition: all var(--wd-duration-default);
}

.wd-gnb--transparent .wd-gnb__sitemap-btn span,
.wd-gnb--dark .wd-gnb__sitemap-btn span { background: #FFFFFF; }
.wd-gnb--scrolled .wd-gnb__sitemap-btn span { background: var(--wd-text-primary); }

.wd-gnb__sitemap-btn:hover span:first-child { transform: translateY(1px); }
.wd-gnb__sitemap-btn:hover span:last-child { transform: translateY(-1px); }


/* ============================================================
   사이트맵 오버레이
   ============================================================ */
.wd-sitemap {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  will-change: clip-path;
  contain: layout style paint;
}

.wd-sitemap.is-open {
  visibility: visible;
  clip-path: circle(150vmax at calc(100% - 40px) 40px);
}

.wd-sitemap__main {
  flex: 1;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.wd-sitemap__header {
  display: flex;
  align-items: center;
  padding: 20px 60px;
  height: 80px;
  flex-shrink: 0;
}

.wd-sitemap__body {
  flex: 1;
  display: flex;
  padding: 40px 60px 60px;
  gap: 0;
}

.wd-sitemap__info {
  width: 30%;
  min-width: 300px;
  max-width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 60px;
}

.wd-sitemap__tagline {
  margin-top: 40px;
}

.wd-sitemap__tagline h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--wd-text-primary);
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.wd-sitemap__tagline p {
  font-family: var(--wd-font-secondary);
  font-size: 18px;
  font-weight: 500;
  color: var(--wd-text-muted);
  margin-top: 16px;
}

.wd-sitemap__footer-info {
  padding-bottom: 20px;
}

.wd-sitemap__footer-info .wd-sitemap__privacy {
  font-size: 14px;
  font-weight: 700;
  color: var(--wd-primary);
  margin-bottom: 24px;
  margin-right: 16px;
  display: inline-block;
}

.wd-sitemap__footer-info .wd-sitemap__copy {
  font-family: var(--wd-font-secondary);
  font-size: 12px;
  color: var(--wd-text-muted);
  margin-top: 12px;
}

.wd-sitemap__menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wd-sitemap__row {
  display: flex;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--wd-border-light);
}

.wd-sitemap__row:first-child {
  border-top: 1px solid var(--wd-border-light);
}

.wd-sitemap__row-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--wd-text-primary);
  letter-spacing: -0.03em;
  min-width: 160px;
  flex-shrink: 0;
}

.wd-sitemap__row-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
}

.wd-sitemap__row-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--wd-text-secondary);
  transition: color var(--wd-duration-default);
  white-space: nowrap;
}

.wd-sitemap__row-links a:hover {
  color: var(--wd-primary);
}

.wd-sitemap__row-sep {
  color: var(--wd-border-strong);
  margin: 0 16px;
  font-size: 12px;
  user-select: none;
}

.wd-sitemap__sidebar {
  width: 80px;
  background: var(--wd-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
  gap: 16px;
  flex-shrink: 0;
}

.wd-sitemap__close {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #FFFFFF;
  cursor: pointer;
  transition: opacity var(--wd-duration-default);
}

.wd-sitemap__close:hover {
  opacity: 0.7;
}

.wd-sitemap__sidebar-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.wd-sitemap__sidebar-lang a {
  font-family: var(--wd-font-secondary);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color var(--wd-duration-default);
}

.wd-sitemap__sidebar-lang a.is-active {
  color: #FFFFFF;
}

.wd-sitemap__sidebar-lang a:hover {
  color: #FFFFFF;
}

body.wd-sitemap-open {
  overflow: hidden;
}


/* ============================================================
   메가메뉴
   ============================================================ */
.wd-gnb__mega {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid var(--wd-border-light);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.wd-gnb__nav-item:hover .wd-gnb__mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wd-gnb__mega-inner {
  max-width: var(--wd-container-content);
  margin: 0 auto;
  padding: 56px var(--wd-container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.wd-gnb__mega-desc h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--wd-text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.wd-gnb__mega-desc p {
  font-size: 15px;
  font-weight: 400;
  color: var(--wd-text-secondary);
  line-height: 1.8;
  word-break: keep-all;
}

/* Family Site 드롭다운 공통 */
.wd-family-site {
  position: relative;
  display: inline-block;
  margin-top: 40px;
}

.wd-family-site__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  min-width: 200px;
  border: 1px solid var(--wd-border-default);
  font-size: 14px;
  font-weight: 600;
  color: var(--wd-text-primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--wd-duration-default);
  font-family: var(--wd-font-primary);
}

.wd-family-site__toggle:hover {
  border-color: var(--wd-text-primary);
  background: var(--wd-surface-light);
}

.wd-family-site__toggle-icon {
  font-size: 16px;
  transition: transform var(--wd-duration-default);
}

.wd-family-site.is-open .wd-family-site__toggle-icon {
  transform: rotate(45deg);
}

.wd-family-site__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--wd-border-default);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
}

.wd-family-site.is-open .wd-family-site__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 푸터용 — 위로 열림 */
.wd-family-site--dark .wd-family-site__dropdown {
  top: auto;
  bottom: calc(100% + 4px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(6px);
}

.wd-family-site--dark.is-open .wd-family-site__dropdown {
  transform: translateY(0);
}

.wd-family-site__dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--wd-text-secondary);
  border-bottom: 1px solid var(--wd-border-light);
  transition: all var(--wd-duration-default);
}

.wd-family-site__dropdown a:last-child {
  border-bottom: none;
}

.wd-family-site__dropdown a:hover {
  background: var(--wd-surface-light);
  color: var(--wd-text-primary);
}

/* 푸터용 Family Site — 다크 테마 */
.wd-family-site--dark .wd-family-site__toggle {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

.wd-family-site--dark .wd-family-site__toggle:hover {
  background: rgba(255,255,255,0.18);
  color: #FFFFFF;
}

.wd-family-site--dark .wd-family-site__dropdown {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.wd-family-site--dark .wd-family-site__dropdown a {
  color: rgba(255,255,255,0.6);
  border-bottom-color: rgba(255,255,255,0.08);
}

.wd-family-site--dark .wd-family-site__dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
}

/* 중앙 — 하위메뉴 링크 */
.wd-gnb__mega-links {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.wd-gnb__mega-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--wd-border-light);
  font-size: 16px;
  font-weight: 500;
  color: var(--wd-text-primary);
  transition: all var(--wd-duration-default);
}

.wd-gnb__mega-links a:first-child {
  border-top: 1px solid var(--wd-border-light);
}

.wd-gnb__mega-links a:hover {
  color: var(--wd-primary);
  padding-left: 8px;
}

.wd-gnb__mega-links a span {
  font-size: 18px;
  color: var(--wd-text-muted);
  transition: all var(--wd-duration-default);
}

.wd-gnb__mega-links a:hover span {
  color: var(--wd-primary);
  transform: translateX(4px);
}

/* 우측 — placeholder 이미지 */
.wd-gnb__mega-image {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wd-gnb__mega-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8f4fd 0%, #d0e8f5 50%, #b8dced 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wd-gnb__mega-image p {
  font-size: 14px;
  color: var(--wd-text-secondary);
  font-weight: 400;
}


/* ============================================================
   Footer
   ============================================================ */
.wd-footer {
  background: #222222;
  padding: 48px 0 44px;
  color: var(--wd-text-muted);
}

.wd-footer__inner {
  max-width: var(--wd-container-content);
  margin: 0 auto;
  padding: 0 var(--wd-container-padding);
}

.wd-footer__top {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 28px;
}

.wd-footer__logo {
  flex-shrink: 0;
}

.wd-footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.wd-footer__links {
  display: flex;
  align-items: center;
  flex: 1;
}

.wd-footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--wd-duration-default);
  white-space: nowrap;
}

.wd-footer__links a:hover { color: #FFFFFF; }

.wd-footer__links a.wd-footer__privacy {
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.wd-footer__links-sep {
  color: rgba(255,255,255,0.2);
  margin: 0 16px;
  font-size: 13px;
  user-select: none;
}

.wd-footer__sns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.wd-footer__sns a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--wd-duration-default);
}

.wd-footer__sns a:hover {
  background: rgba(255,255,255,0.25);
  color: #FFFFFF;
}

.wd-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 24px;
  gap: 40px;
}

.wd-footer__info {
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.wd-footer__copyright {
  font-family: var(--wd-font-secondary);
  font-size: 14px;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

.wd-footer__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.wd-footer__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--wd-duration-default);
  white-space: nowrap;
}

.wd-footer__action-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #FFFFFF;
}

.wd-footer__action-btn span {
  font-size: 16px;
  opacity: 0.6;
}

.wd-footer__action-btn:hover span { opacity: 1; }


/* ============================================================
   Scroll Reveal
   ============================================================ */
[data-motion] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-motion].is_animated {
  opacity: 1;
  transform: translateY(0);
}

[data-motion] [data-motion-child] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-motion].is_animated [data-motion-child] {
  opacity: 1;
  transform: translateY(0);
}

[data-motion].is_animated [data-motion-child]:nth-child(1) { transition-delay: 0.1s; }
[data-motion].is_animated [data-motion-child]:nth-child(2) { transition-delay: 0.2s; }
[data-motion].is_animated [data-motion-child]:nth-child(3) { transition-delay: 0.3s; }
[data-motion].is_animated [data-motion-child]:nth-child(4) { transition-delay: 0.4s; }
[data-motion].is_animated [data-motion-child]:nth-child(5) { transition-delay: 0.5s; }
[data-motion].is_animated [data-motion-child]:nth-child(6) { transition-delay: 0.6s; }


/* ============================================================
   Responsive — Tablet (≤1080px) — 공통 부분
   ============================================================ */
@media (max-width: 1080px) {
  .wd-gnb__nav { display: none; }
  .wd-gnb__contact-btn { display: none; }
  .wd-gnb__hamburger { display: none; }

  .wd-sitemap__body { flex-direction: column; }
  .wd-sitemap__info { width: 100%; padding-right: 0; padding-bottom: 40px; border-bottom: 1px solid var(--wd-border-light); }
  .wd-sitemap__tagline { margin-top: 0; }
  .wd-sitemap__tagline h2 { font-size: 24px; }
  .wd-sitemap__row-title { min-width: 120px; font-size: 18px; }
  .wd-sitemap__header { padding: 20px 40px; }
  .wd-sitemap__body { padding: 30px 40px 40px; }
}


/* ============================================================
   Responsive — Mobile (≤640px) — 공통 부분
   ============================================================ */
@media (max-width: 640px) {
  .wd-gnb { height: 60px; }
  .wd-gnb__inner { padding: 0 20px; }
  .wd-gnb__logo { font-size: 18px; }
  .wd-gnb__logo-img { height: 34px; }

  .wd-sitemap__sidebar { width: 60px; }
  .wd-sitemap__header { padding: 15px 20px; height: 60px; }
  .wd-sitemap__body { padding: 20px 20px 40px; }
  .wd-sitemap__row { flex-direction: column; gap: 8px; }
  .wd-sitemap__row-title { font-size: 16px; min-width: auto; }
  .wd-sitemap__tagline h2 { font-size: 20px; }
  .wd-sitemap__info { padding-bottom: 24px; }
  .wd-sitemap__footer-info { display: none; }

  .wd-footer__top { flex-wrap: wrap; gap: 16px; }
  .wd-footer__logo { order: 0; }
  .wd-footer__sns { order: 1; margin-left: auto; }
  .wd-footer__links { order: 2; flex-basis: 100%; flex-wrap: wrap; padding-top: 8px; }
  .wd-footer__bottom { flex-direction: column; gap: 24px; }
  .wd-footer__actions { flex-wrap: wrap; width: 100%; }
  .wd-footer__actions .wd-footer__action-btn { flex: 1; justify-content: center; padding: 14px 12px; }
  .wd-footer__actions .wd-family-site { flex: 1 1 100%; }
  .wd-footer__actions .wd-family-site__toggle { width: 100%; }
  .wd-footer__inner { padding: 0 20px; }
}
