/* =========================================
   index.css — 메인 페이지 전용 스타일
   슬라이더 스타일은 sliders.css 에서 관리합니다.
   ========================================= */

/* sliders.css 는 head.php 자동 감지로 로드되므로
   여기서는 index.php 고유 스타일만 작성합니다.   */

/* 평형안내 카드 (unit.css 공용 컴포넌트) */
@import url('/assets/css/pages/unit.css');

/* =========================================
   HERO PROMO BAND
   ========================================= */
.promo-band {
  position: relative;
  padding: 30px 0 34px;
  background: #fff;
  color: #111827;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
}

.promo-band__inner {
  text-align: center;
}

.promo-band__eyebrow,
.promo-band__badge {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
}

.promo-band__eyebrow {
  font-size: clamp(1.8rem, 3.4vw, 2.1rem);
  color: #1f2a37;
  white-space: nowrap;
}

.promo-band__badge {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 225, 227, 0.48);
  border-radius: 999px;
  background: #8c1f28;
  color: #fff;
  box-shadow: 0 12px 30px rgba(78, 14, 24, 0.22);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

.promo-band__headline {
  margin: 18px auto 0;
  max-width: none;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: #111827;
}

.promo-band__headline-digit {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #0f172a;
}

.promo-band__points {
  display: grid;
  grid-template-columns: 1.02fr 1.24fr 0.84fr;
  gap: 12px;
  margin-top: 24px;
  align-items: stretch;
}

.promo-band__points p {
  margin: 0;
  min-height: 100%;
  padding: 17px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: clamp(0.84rem, 1vw, 0.98rem);
  line-height: 1.45;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 10px 22px rgba(8, 18, 33, 0.10);
}

.promo-band__points .promo-band__point--forest {
  border-color: rgba(210, 255, 245, 0.72);
  background: #007644;
  box-shadow: 0 12px 24px rgba(10, 92, 76, 0.18);
}

.promo-band__points .promo-band__point--transit {
  border-color: rgba(205, 225, 255, 0.76);
  background: #2f6fe4;
  box-shadow: 0 12px 24px rgba(18, 57, 120, 0.18);
}

.promo-band__points .promo-band__point--closing {
  border-color: rgba(255, 221, 207, 0.76);
  background: #c84b31;
  box-shadow: 0 12px 24px rgba(112, 40, 21, 0.18);
}

@media screen and (max-width: 1180px) {
  .promo-band__points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-band__points p {
    white-space: normal;
    word-break: keep-all;
  }
}

/* 모바일 전용 블록 */
.mo-block { display: inline; }
@media screen and (max-width: 768px) {
  .mo-block { display: block; }
  .promo-band {
    padding: 24px 0 28px;
  }

  .promo-band__eyebrow {
    font-size: clamp(1.6rem, 7vw, 3rem);
  }

  .promo-band__badge {
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    flex-direction: column;
    gap: 4px;
  }

  .promo-band__badge .badge-sep {
    display: none;
  }

  .promo-band__headline {
    max-width: none;
    font-size: clamp(1.35rem, 5.8vw, 1.9rem);
    white-space: normal;
    margin-top: 24px;
  }

  .promo-band__points {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .promo-band__points p {
    padding: 14px 16px;
    font-size: 0.98rem;
    white-space: normal;
    word-break: keep-all;
  }
}

/* =========================================
   LANDSCAPE SECTION — 조경 설계
   ========================================= */
.ls-feature {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  align-items: stretch;
  margin-top: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ls-feature__text {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ls-en {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-light);
  color: var(--color-text-light);
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.ls-dl dt {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: 10px;
}

.ls-dl dd {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.9;
}

.ls-feature__img {
  display: block;
}

.ls-feature__img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

/* 어반클러스터 소개 */
.ls-cluster-intro {
  text-align: center;
  margin: 64px 0 36px;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 2;
}

.ls-cluster-en {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: var(--fw-light);
  color: var(--color-text-light);
  letter-spacing: 0.12em;
  margin: 6px 0;
}

/* 4카드 그리드 */
.ls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ls-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 0.7px solid var(--color-border);
  transition: box-shadow 0.3s, transform 0.3s;
}

.ls-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ls-card picture img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ls-card__body {
  padding: 20px 24px 26px;
}

.ls-num {
  font-style: normal;
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  margin-right: 2px;
}

/* 주의 문구 */
.ls-notice {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  text-align: center;
  margin-top: 32px;
}

/* 모바일 */
@media screen and (max-width: 768px) {
  .ls-feature {
    grid-template-columns: 1fr;
  }
  .ls-feature__text {
    padding: 32px 24px;
  }
  .ls-feature__img img {
    min-height: 220px;
    max-height: 280px;
  }
  .ls-cluster-intro {
    margin: 44px 0 24px;
  }
  .ls-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .ls-feature__text {
    padding: 24px 20px;
  }
}

/* =========================================
   INTERIOR SECTION — 실내모습 (탭 방식)
   ========================================= */
.int-head { margin-bottom: 40px; }

/* ── 탭 바 (section-nav 스타일 통일) ── */
.int-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 14px 20px 16px;
  margin-bottom: 40px;
}
.int-tab {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  background-color: var(--color-nav-tab-bg);
  transition: background .18s, color .18s;
}
.int-tab:hover,
.int-tab.is-active { background: var(--color-nav-tab-active); color: #fff; }
.int-tab.is-active { font-weight: 600; }

/* ── 패널 ── */
.int-panel { display: none; }
.int-panel.is-active { display: block; }

/* ── 패널 헤더 ── */
.int-panel__head { margin-bottom: 32px; }
.int-panel__en {
  font-size: clamp(1.4rem, 3.5vw, 2.66rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: .04em;
  line-height: 1.05;
  margin: 0 0 10px;
}
.int-panel__ko {
  font-size: .95rem;
  color: var(--color-text-muted);
  letter-spacing: .03em;
  margin: 0;
}

/* ── 이미지 공통 ── */
.int-fw {
  overflow: hidden;
  background: var(--color-bg-soft);
}
.int-fw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.int-fw:hover img { transform: scale(1.04); }

/* ── 큰 이미지 1장 ── */
.int-panel__main { margin-bottom: 6px; }
.int-panel__main .int-fw { aspect-ratio: 16 / 7; }

/* ── 작은 이미지 2장 나란히 ── */
.int-panel__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.int-panel__row .int-fw { aspect-ratio: 16 / 9; }

/* ── 반응형 ── */
@media (max-width: 768px) {
  .int-tab { font-size: .8rem; padding: 8px 16px; }
  .int-panel__main .int-fw { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .int-tab { flex-shrink: 0; white-space: nowrap; }
  .int-tab-bar { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 10px 12px 12px; }
}

/* =========================================
   FO BANNER
   ========================================= */
.fo-banner { padding: 60px 0; }
.fo-banner__img { width: 100%; display: block; }
.fo-banner__text {
  font-size: clamp(1.4rem, 3vw, 38px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 24px 0 0;
  text-align: center;
}
@media (max-width: 768px) {
  .fo-banner { padding: 40px 0; }
}
