/*
Theme Name: Treemarket Lab
Theme URI: https://treemarketlab.com
Author: 나무시장연구소
Author URI: https://treemarketlab.com
Description: 나무시장연구소 공식 웹사이트 커스텀 테마
Version: 1.0.0
License: Private
Text Domain: treemarket
*/

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* 브랜드 컬러 */
  --brand-primary:      #2d6a2d;
  --brand-primary-dark: #1e4e1e;
  --brand-accent:       #4a9a4a;
  --brand-light:        #a3c9a3;

  /* 그린 팔레트 */
  --green-50:   #f0faf0;
  --green-100:  #d4edd4;
  --green-800:  #1a4d1a;
  --green-900:  #132e13;
  --green-950:  #0d2010;

  /* 서페이스 */
  --surface-page:  #ffffff;
  --surface-muted: #f5f7f5;
  --surface-card:  #ffffff;

  /* 텍스트 */
  --text-primary:      #1a2e1a;
  --text-secondary:    #4a6a4a;
  --text-muted:        #8aaa8a;
  --text-brand:        #2d6a2d;
  --text-on-dark:      rgba(255,255,255,0.9);
  --text-on-dark-soft: rgba(255,255,255,0.7);

  /* 보더 */
  --border-default: #e0e8e0;
  --border-brand:   #b3d9b3;
  --border-strong:  #c5d9c5;

  /* 그라디언트 */
  --gradient-hero-scrim:  linear-gradient(180deg,rgba(5,18,7,0.48) 0%,rgba(5,18,7,0.62) 100%);
  --gradient-forest-deep: linear-gradient(135deg,#0d2010 0%,#1e4e1e 100%);

  /* 폰트 */
  --font-sans: "Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  /* 타이포 스케일 */
  --fs-xs:      0.75rem;
  --fs-sm:      0.8125rem;
  --fs-base:    0.9375rem;
  --fs-lg:      1.125rem;
  --fs-h4:      1.0625rem;
  --fs-h3:      1.25rem;
  --fs-h2:      1.75rem;
  --fs-h1:      2rem;
  --fs-display: 3.5rem;

  /* 폰트 웨이트 */
  --fw-medium: 500;
  --fw-bold:   700;

  /* 레터스페이싱 */
  --ls-tight: -0.02em;
  --ls-wide:   0.1em;

  /* 라인하이트 */
  --lh-tight: 1.2;
  --lh-snug:  1.45;
  --lh-body:  1.65;

  /* 스페이싱 */
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  36px;
  --space-9:  48px;
  --space-10: 56px;
  --space-12: 80px;

  --section-pad-y:  96px;
  --container-max:  1280px;
  --container-pad:  24px;
  --header-height:  72px;

  /* 이펙트 */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-pill: 999px;

  --shadow-card:       0 2px 12px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-md:         0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg:         0 20px 60px rgba(0,0,0,0.15);
  --focus-ring:        0 0 0 3px rgba(45,106,45,0.35);

  --transition-base: all 0.25s ease-out;
  --dur-fast:  0.15s;
  --dur-base:  0.25s;
  --ease-out:  cubic-bezier(0.25,0,0,1);
  --ease-in-out: cubic-bezier(0.45,0,0.55,1);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--surface-page);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* WordPress 기본 마진 리셋 */
body.page,
body.home { margin: 0; }
.wp-site-blocks { padding: 0 !important; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad-y); }
.section--muted  { background: var(--surface-muted); }
.section--white  { background: var(--surface-page); }

/* ==========================================================================
   SECTION HEADING
   ========================================================================== */
.sec-head { max-width: 720px; }
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--space-3);
}
.sec-title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
}
.sec-sub {
  margin-top: var(--space-4);
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: var(--lh-snug);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn--lg  { font-size: var(--fs-lg); padding: 17px 34px; }
.btn--md  { padding: 14px 24px; }

.btn--primary { background: var(--brand-primary); color: #fff; }
.btn--primary:hover {
  background: var(--brand-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--border-brand);
}
.btn--secondary:hover { background: var(--green-50); border-color: var(--brand-primary); }

.btn--ondark-outline {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
}
.btn--ondark-outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   TAGS & BADGES
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-brand);
  border: 1px solid var(--border-brand);
  background: var(--green-50);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.badge--brand { background: var(--green-100); color: var(--brand-primary-dark); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  transition: var(--transition-base);
}
.card--flush { padding: 0; overflow: hidden; }
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
}
.input, .select {
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0 16px;
  height: 52px;
  width: 100%;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input::placeholder { color: var(--text-muted); }
.input:focus, .select:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: var(--focus-ring);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232d6a2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

/* ==========================================================================
   ICON CHIP
   ========================================================================== */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--brand-primary);
}
.icon-chip svg { width: 28px; height: 28px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--green-950);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { height: 52px; width: auto; }
.brand__name { display: block; color: #fff; font-weight: var(--fw-bold); font-size: 1.125rem; letter-spacing: -0.5px; line-height: 1.2; }
.brand__latin { display: block; color: var(--brand-light); font-weight: var(--fw-bold); font-size: 0.625rem; letter-spacing: 2.5px; line-height: 1.4; }

.site-nav { display: flex; align-items: center; gap: var(--space-7); }
.site-nav__link {
  color: var(--text-on-dark);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  transition: color var(--dur-fast);
  text-decoration: none;
}
.site-nav__link:hover { color: var(--brand-light); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: var(--transition-base);
  text-decoration: none;
}
.nav-phone:hover { background: var(--brand-primary-dark); transform: translateY(-1px); }
.nav-phone svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; }

.mobile-nav {
  display: none;
  background: var(--green-900);
  padding: var(--space-4) var(--container-pad);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.is-open { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-nav a {
  color: #fff;
  padding: 12px 4px;
  font-size: 1.05rem;
  font-weight: var(--fw-medium);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s var(--ease-in-out);
}
.hero__slide.is-active { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-scrim);
}
.hero__inner {
  position: relative;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.hero__eyebrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2rem, 5vw, var(--fs-display));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  max-width: 820px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  line-height: var(--lh-snug);
}
.hero__cta { display: flex; gap: var(--space-3); margin-top: var(--space-7); flex-wrap: wrap; }
.hero__dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0;
  background: rgba(255,255,255,0.5);
  transition: var(--transition-base);
}
.hero__dot.is-active { width: 32px; background: var(--brand-light); }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band { background: var(--green-800); padding-block: var(--space-10); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
}
.stat { text-align: center; }
.stat__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat__unit { font-size: 0.55em; color: var(--brand-light); margin-left: 3px; font-weight: var(--fw-bold); }
.stat__label { margin-top: 10px; font-size: var(--fs-sm); color: var(--text-on-dark-soft); }

/* ==========================================================================
   QUICK CONSULT BAR
   ========================================================================== */
.quick-consult {
  background: var(--surface-muted);
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--border-default);
}
.quick-consult__row {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.quick-consult__intro { display: flex; align-items: center; gap: 12px; flex: 1 1 240px; min-width: 220px; }
.quick-consult__intro svg { width: 30px; height: 30px; color: var(--brand-primary); flex: none; }
.quick-consult__intro-title { font-weight: var(--fw-bold); font-size: 1.125rem; color: var(--text-primary); }
.quick-consult__intro-sub { font-size: var(--fs-sm); color: var(--text-secondary); }
.quick-consult .field { flex: 1 1 200px; }
.quick-consult .btn { flex: 0 0 auto; height: 52px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-12);
  align-items: center;
}
.about__body { margin-top: var(--space-5); font-size: var(--fs-lg); color: var(--text-secondary); }
.about__tags { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.about__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}
.services-grid { margin-top: var(--space-10); }
.service-card { text-align: left; }
.service-card__title { margin-top: var(--space-5); font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--text-primary); }
.service-card__desc { margin-top: var(--space-3); font-size: var(--fs-base); color: var(--text-secondary); }

/* ==========================================================================
   GROWTH FUNNEL
   ========================================================================== */
.funnel {
  margin-top: var(--space-10);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.funnel__step {
  flex: 1 1 150px;
  max-width: 210px;
  background: var(--surface-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}
.funnel__num { font-size: 0.8125rem; font-weight: var(--fw-bold); color: var(--brand-accent); letter-spacing: 0.06em; }
.funnel__icon {
  width: 60px;
  height: 60px;
  margin: 12px auto;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.funnel__icon svg { width: 26px; height: 26px; }
.funnel__title { font-size: 1.125rem; font-weight: var(--fw-bold); color: var(--text-primary); }
.funnel__desc { font-size: var(--fs-sm); color: var(--text-secondary); margin-top: 4px; }
.funnel__arrow { display: flex; align-items: center; color: var(--brand-light); }
.funnel__arrow svg { width: 30px; height: 30px; }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.case-grid { margin-top: var(--space-8); }
.case-card__img { aspect-ratio: 16 / 11; background-size: cover; background-position: center; }
.case-card__body { padding: var(--space-5); }
.case-card__title { margin: 12px 0 8px; font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--text-primary); }
.case-card__meta { font-size: var(--fs-sm); color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.case-card__meta svg { width: 15px; height: 15px; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-grid { margin-top: var(--space-10); }
.review__stars { display: flex; gap: 2px; color: #e0a82e; margin-bottom: 14px; }
.review__stars svg { width: 18px; height: 18px; fill: #e0a82e; }
.review__text { font-size: var(--fs-base); color: var(--text-primary); }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border-default); }
.review__avatar { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--green-100); color: var(--brand-primary-dark); display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); flex: none; }
.review__name { font-weight: var(--fw-bold); color: var(--text-primary); }
.review__role { font-size: 0.8125rem; color: var(--text-secondary); }

/* ==========================================================================
   YOUTUBE
   ========================================================================== */
.yt-grid { margin-top: var(--space-8); }
.yt-card__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--green-100); }
.yt-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-card__play {
  position: absolute;
  inset: 0;
  background: rgba(13,32,16,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-card__play span {
  width: 58px; height: 58px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4302b;
  transition: var(--transition-base);
}
.yt-card:hover .yt-card__play span { transform: scale(1.08); }
.yt-card__play svg { width: 26px; height: 26px; fill: #c4302b; }
.yt-card__body { padding: var(--space-5); }
.yt-card__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-card__meta { font-size: 0.8125rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }

/* ==========================================================================
   CONTACT BAND
   ========================================================================== */
.contact-band { background: var(--green-800); padding-block: var(--space-10); }
.contact-band__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.contact-band__title { color: #fff; font-size: var(--fs-h2); font-weight: var(--fw-bold); }
.contact-band__items { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.contact-item__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  flex: none;
  transition: var(--transition-base);
}
.contact-item:hover .contact-item__icon { background: rgba(255,255,255,0.2); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item__label { display: block; font-size: 0.8125rem; color: var(--text-on-dark-soft); margin-bottom: 2px; }
.contact-item__value { display: block; font-size: 1.0625rem; font-weight: var(--fw-bold); color: #fff; }

/* ==========================================================================
   PAGE HERO (뉴스룸 등 서브페이지)
   ========================================================================== */
.page-hero {
  background: var(--gradient-forest-deep);
  color: #fff;
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, rgba(125,200,125,0.18) 0%, rgba(125,200,125,0) 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero__eyebrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: var(--space-3);
}
.page-hero__title {
  font-size: clamp(2.25rem, 5vw, var(--fs-display));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.page-hero__sub { margin-top: var(--space-4); font-size: var(--fs-lg); color: var(--text-on-dark-soft); }

/* ==========================================================================
   NEWSROOM POST CARDS
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.post-card { display: flex; flex-direction: column; }
.post-card__thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.post-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(13,32,16,0.78);
  color: #fff;
  backdrop-filter: blur(3px);
}
.post-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__date { font-size: var(--fs-sm); color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.post-card__date svg { width: 14px; height: 14px; }
.post-card__title { margin: 10px 0 12px; font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--text-primary); line-height: var(--lh-snug); }
.post-card__excerpt {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__more {
  margin-top: auto;
  padding-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-brand);
}
.post-card__more svg { width: 16px; height: 16px; transition: transform var(--dur-fast); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--green-950);
  color: var(--text-on-dark-soft);
  padding: var(--space-12) var(--container-pad) var(--space-7);
}
.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
}
.footer-brand { max-width: 320px; }
.footer-brand__lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand__mark { height: 56px; }
.footer-brand__name { display: block; color: #fff; font-weight: var(--fw-bold); font-size: 1.0625rem; line-height: 1.2; }
.footer-brand__latin { display: block; color: var(--brand-light); font-weight: var(--fw-bold); font-size: 0.5625rem; letter-spacing: 2.5px; }
.footer-brand__desc { font-size: 0.9375rem; line-height: var(--lh-body); }
.footer-brand__meta { margin-top: 18px; font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.footer-col h4 { margin-bottom: 16px; color: #fff; font-size: 0.9375rem; font-weight: var(--fw-bold); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-on-dark-soft); font-size: 0.9375rem; transition: color var(--dur-fast); text-decoration: none; }
.footer-col a:hover { color: var(--brand-light); }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; }
.footer-bottom {
  max-width: var(--container-max);
  margin: var(--space-8) auto 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   CONTACT FORM 7 — 빠른 상담 바 스타일 통합
   ========================================================================== */
.quick-consult__cf7 { flex: 1; }

.quick-consult__cf7 .wpcf7-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-consult__cf7 .wpcf7-form-control-wrap {
  flex: 1 1 200px;
}

.quick-consult__cf7 select,
.quick-consult__cf7 input[type="tel"] {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0 16px;
  height: 52px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.quick-consult__cf7 select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232d6a2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.quick-consult__cf7 select:focus,
.quick-consult__cf7 input[type="tel"]:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(45,106,45,0.35);
}

.quick-consult__cf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0 24px;
  height: 52px;
  cursor: pointer;
  transition: all 0.25s ease-out;
  white-space: nowrap;
  flex: 0 0 auto;
}

.quick-consult__cf7 input[type="submit"]:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-1px);
}

/* CF7 메시지 스타일 */
.quick-consult__cf7 .wpcf7-response-output {
  width: 100%;
  margin: 8px 0 0;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  border: none !important;
}

.quick-consult__cf7 .wpcf7-mail-sent-ok {
  background: var(--green-100);
  color: var(--brand-primary-dark);
}

.quick-consult__cf7 .wpcf7-validation-errors,
.quick-consult__cf7 .wpcf7-mail-sent-ng {
  background: #fef2f2;
  color: #991b1b;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 880px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .funnel__arrow { transform: rotate(90deg); }
  :root { --section-pad-y: var(--space-12); }
}
@media (max-width: 520px) {
  .hero { min-height: 560px; }
  .contact-band__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CF7 가로 레이아웃 강제 적용
   ========================================================================== */
.quick-consult__cf7 .wpcf7 { width: 100%; }

.quick-consult__cf7 form.wpcf7-form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.quick-consult__cf7 form.wpcf7-form > p {
  display: contents !important;
  margin: 0 !important;
}

.quick-consult__cf7 form.wpcf7-form .wpcf7-form-control-wrap {
  flex: 1 !important;
  min-width: 0 !important;
  display: block !important;
}

.quick-consult__cf7 form.wpcf7-form select,
.quick-consult__cf7 form.wpcf7-form input[type="tel"] {
  width: 100% !important;
  flex: 1 !important;
}

.quick-consult__cf7 form.wpcf7-form input[type="submit"] {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.quick-consult__cf7 .wpcf7-response-output {
  width: 100% !important;
  flex: 0 0 100% !important;
}