/* ============================================================
   아키그린 (theme/32) - 보조 스타일
   본문은 Tailwind utility 중심. 여기는 예외 보정만:
   아이콘 정렬 고정 / full-bleed 배경 / 그리드 minmax / 슬라이더 보정 / 키프레임
   ============================================================ */

/* ---- 아이콘 밀림 방지: Lucide(svg)/FontAwesome 크기·정렬 고정 ---- */
.ws-icon,
.ws-icon-lg {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
  stroke-width: 2;
}
.ws-icon    { width: 1rem;    height: 1rem; }
.ws-icon-lg { width: 1.35rem; height: 1.35rem; }
[data-lucide] { stroke-width: 2; }

/* ---- 헤더 내비 ---- */
.pd-nav {
  position: relative;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.pd-nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #1FB96D;
  transition: width 0.25s;
}
.pd-nav:hover { color: #1FB96D; }
.pd-nav:hover::after { width: 100%; }

/* 헤더 스크롤 시 솔리드 상태 (script.js가 .is-solid 토글) */
#pdHeader.is-solid {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}
#pdHeader.is-solid .pd-nav { color: #222826; }
#pdHeader.is-solid .pd-nav:hover { color: #1FB96D; }
#pdHeader.is-solid #pdLogo { color: #222826; }
#pdHeader.is-solid #pdLogo .text-agreen { color: #1FB96D; }
#pdHeader.is-solid #pdBurger { color: #222826; }
#pdHeader.is-solid a[href^="tel"] {
  color: #222826;
  border-color: rgba(0, 0, 0, 0.18);
}
#pdHeader.is-solid a[href^="tel"]:hover {
  background: #222826;
  color: #fff;
}

/* ---- 모바일 드로어 메뉴 항목 ---- */
.pd-mnav {
  display: block;
  padding: 0.95rem 1rem;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.pd-mnav:hover { background: rgba(255, 255, 255, 0.08); color: #1FB96D; }

/* ---- 히어로 버튼 ---- */
.pd-btn-primary,
.pd-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3.1rem;
  padding: 0 1.6rem;
  border-radius: 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.18s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.pd-btn-primary {
  background: #1FB96D;
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 185, 109, 0.4);
}
.pd-btn-primary:hover  { background: #00954D; transform: translateY(-2px); }
.pd-btn-primary:active { transform: translateY(0); }
.pd-btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.pd-btn-ghost:hover  { background: #fff; color: #222826; transform: translateY(-2px); }
.pd-btn-ghost:active { transform: translateY(0); }

/* 히어로 켄번스 줌 */
.pd-kenburns { animation: pdKenburns 12s ease-in-out infinite alternate; }
@keyframes pdKenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

/* 히어로 텍스트 등장 (AOS 미발동 대비 자체 키프레임) */
.pdHeroSwiper .swiper-slide-active .pd-hero-label { animation: pdUp 0.7s 0.15s both; }
.pdHeroSwiper .swiper-slide-active .pd-hero-title { animation: pdUp 0.7s 0.30s both; }
.pdHeroSwiper .swiper-slide-active .pd-hero-desc  { animation: pdUp 0.7s 0.45s both; }
@keyframes pdUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Company 카드 ---- */
.pd-comp-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-width: 0;
  height: 340px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.pd-comp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pd-comp-card:hover .pd-comp-img { transform: scale(1.08); }
.pd-comp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 33, 26, 0.92) 0%, rgba(20, 33, 26, 0.35) 45%, rgba(20, 33, 26, 0.05) 100%);
}
.pd-comp-body {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1.6rem;
}
.pd-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.55rem 1.05rem;
  border-radius: 0.5rem;
  background: #1FB96D;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s, gap 0.2s;
}
.pd-comp-card:hover .pd-more { background: #00954D; gap: 0.7rem; }

/* ---- LeafGreen 강점 pill ---- */
.pd-feat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 1.05rem 1.3rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.pd-feat:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.pd-feat-active {
  background: #fff;
  color: #14543a;
  border-color: #fff;
}
.pd-feat-num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #1FB96D;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}
.pd-feat-active .pd-feat-num { background: #00954D; }
.pd-feat-label { font-size: 0.98rem; }

/* ---- Gallery 아이템 ---- */
.pd-gal {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.9rem;
  aspect-ratio: 4 / 3;
  min-width: 0;
  background: #e9eceb;
}
.pd-gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pd-gal:hover img { transform: scale(1.08); }
.pd-gal-cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(20, 33, 26, 0.8), transparent 55%);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.pd-gal:hover .pd-gal-cap { opacity: 1; }

/* ---- 시공소식 슬라이드 ---- */
.pdNewsSwiper .swiper-slide { height: auto; }
.pd-news-thumb {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 0.6rem;
}

/* ---- TOP 버튼 노출 ---- */
#pdTop.is-show { opacity: 1; transform: translateY(0); }

/* ---- 모바일 미세 보정 ---- */
@media (max-width: 360px) {
  .pd-feat { padding: 0.85rem 0.95rem; gap: 0.6rem; }
  .pd-feat-label { font-size: 0.9rem; }
  .pd-btn-primary, .pd-btn-ghost { height: 2.85rem; padding: 0 1.15rem; font-size: 0.9rem; }
}
