@font-face {
  font-family: "Seoul Hangang";
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/SeoulHangang-Bold.woff2") format("woff2"), url("../assets/fonts/SeoulHangang-Bold.woff") format("woff");
}

:root {
  --ink: #162421;
  --deep: #073d3a;
  --river: #1c8178;
  --leaf: #8da672;
  --copper: #c97843;
  --plum: #9c1a5e;       /* 진한 자주색 — 마감임박/가격 강조 */
  --paper: #f4f7ee;
  --mist: #eaf4e1;
  --line: rgba(22, 36, 33, 0.14);
  --shadow: 0 24px 70px rgba(13, 35, 32, 0.18);
  --header-h: 76px;
  /* 이안 리버파크 브랜드 색 (로고에서 추출) */
  --brand: #88c038;      /* 로고 그린 — 주 강조색 */
  --brand-ink: #5f8f24;  /* 밝은 배경 위 텍스트/호버용 진한 그린 */
  --brand-navy: #002838; /* 로고 딥네이비 — 헤드라인/숫자 punch */
  --pastel: #e8f4d6;      /* 파스텔 민트 면(surface) */
  --pastel-tag: #dcefb8;  /* 파스텔 태그 배경 */
  --pastel-ink: #3a5e14;  /* 파스텔 태그 위 진한 그린 텍스트 (AA 4.5:1 확보) */
  /* 브로슈어(PREMIUM 6 / BENEFIT 7) 재현 전용 색 — 로고 정확값으로 보정 */
  --bnav: #002838;
  --blime: #88c038;
  --blime-ink: #5f8f24;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--brand);
  color: var(--brand-navy);
}

/* 화면엔 안 보이지만 스크린리더/검색엔진용 텍스트 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 키보드 포커스 표시 */
:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 2px;
}

/* 스킵링크로 프로그램적 포커스 이동 시 아웃라인 숨김 */
main:focus {
  outline: none;
}

/* 키보드 사용자용 본문 바로가기 (평소 숨김, Tab 시 노출) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--brand-navy);
  font-weight: 800;
  transition: top 160ms ease;
}
.skip-link:focus {
  top: 12px;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html {
  scroll-behavior: smooth;
}

/* reveal-slide의 translateX 시작 위치가 뷰포트 폭을 넓히지 않도록 가로 오버플로 차단 */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
  padding: 14px clamp(46px, 7vw, 112px);
  background: rgba(244, 247, 238, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-elevated {
  background: rgba(244, 247, 238, 0.92);
  box-shadow: 0 16px 48px rgba(8, 32, 29, 0.13);
}

.brand img {
  width: 184px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 15px;
  font-weight: 700;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-links a,
.nav-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.nav-top {
  font: inherit;
  color: inherit;
}

.nav-links a::after,
.nav-top::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.nav-links a:hover::after,
.nav-top:hover::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"],
.nav-top[aria-current="page"] {
  color: var(--river);
}

.nav-links a[aria-current="page"]::after,
.nav-top[aria-current="page"]::after {
  transform: scaleX(1);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 168px;
  padding: 10px;
  border: 1px solid rgba(22, 36, 33, 0.12);
  border-radius: 8px;
  background: rgba(244, 247, 238, 0.98);
  box-shadow: 0 20px 54px rgba(8, 32, 29, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.submenu::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
  content: "";
}

.submenu a {
  justify-content: center;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
}

.submenu a::after {
  display: none;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: var(--mist);
  color: var(--river);
}

.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(22, 36, 33, 0.18);
  border-radius: 8px;
  background: rgba(244, 247, 238, 0.9);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  grid-area: 1 / 1;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-6px);
}

.nav-toggle span:last-child {
  transform: translateY(6px);
}

.site-header.is-nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.header-call {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--deep);
  font-weight: 900;
  white-space: nowrap;
}

.header-call span {
  font-size: 12px;
  color: color-mix(in srgb, var(--deep) 64%, white);
}

.header-call strong {
  font-size: 18px;
}

.section-dark {
  color: #f7f1e7;
  background: var(--deep);
}

.hero {
  position: relative;
  min-height: min(840px, calc(100svh - var(--header-h)));
  margin-top: var(--header-h);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.72fr);
  align-items: stretch;
  gap: 0;
  padding: 0 clamp(14px, 2.4vw, 40px) 24px;
  color: #fff7ef;
  background:
    linear-gradient(90deg, #071311 0%, #102723 64%, #f2eadf 64%, #f2eadf 100%),
    var(--deep);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--pastel-tag);
  color: var(--pastel-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  font-family: "Gowun Batang", serif;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 700;
  word-break: keep-all;
}

h2 {
  max-width: 920px;
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 900;
  word-break: keep-all;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--ink) 72%, white);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
}

.hero-actions,
.hero-panel,
.plan-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.97);
}

.button.primary {
  background: var(--brand);
  color: var(--brand-navy);
  box-shadow: 0 14px 30px rgba(136, 192, 56, 0.4);
}

.button.primary:hover {
  background: var(--brand-ink);
  color: #fff7ef;
}

.button.ghost {
  color: #fff7ef;
  border-color: rgba(255, 247, 239, 0.48);
  background: rgba(255, 247, 239, 0.08);
}

.button.full {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: clamp(520px, 70vh, 720px);
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.92);
  border-right: 0;
  background: #071311;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0) 64%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-badges {
  position: absolute;
  top: clamp(24px, 5vw, 52px);
  right: clamp(16px, 3vw, 40px);
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(46%, 410px);
}

.hero-badges span {
  position: relative;
  min-height: 42px;
  padding: 8px 18px 8px 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 247, 239, 0.22);
  background: rgba(7, 61, 58, 0.9);
  color: #fff7ef;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 900;
  line-height: 1.05;
  box-shadow: 0 10px 26px rgba(0, 50, 73, 0.24);
}

.hero-badges span:nth-child(2) {
  background: rgba(22, 36, 33, 0.9);
}

.hero-badges span::before {
  position: absolute;
  left: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-navy);
  font-size: 20px;
  content: "✓";
  transform: translateY(-50%);
}

.hero-title-block {
  position: absolute;
  left: clamp(22px, 4vw, 54px);
  right: clamp(22px, 5vw, 74px);
  bottom: clamp(24px, 5vw, 58px);
  z-index: 2;
}

.hero-title-block .eyebrow {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--brand);
  color: var(--brand-navy);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.hero-tagline {
  margin: 0 0 12px;
  color: #fff7ef;
  font-family: "Seoul Hangang", "Gowun Batang", serif;
  font-size: clamp(21px, 2.7vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-title-block h1 {
  max-width: 900px;
  color: #fff7ef;
  font-family: "Black Han Sans", "Gowun Batang", serif;
  font-weight: 400;
  font-size: clamp(48px, 6.6vw, 96px);
  letter-spacing: 0.005em;
  line-height: 1.02;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

.hero-main-offer {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 26px;
  border-left: 6px solid var(--copper);
  background: rgba(7, 61, 58, 0.88);
  color: #fff7ef;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.hero-main-offer span {
  color: rgba(255, 247, 239, 0.68);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 800;
}

.hero-main-offer strong {
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffe7cf;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero-offer-panel {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: clamp(520px, 70vh, 720px);
  padding: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 54px);
  background: linear-gradient(180deg, #ffffff, var(--pastel));
  color: var(--deep);
  text-align: center;
}

.hero-offer-panel::before,
.hero-offer-panel::after {
  position: absolute;
  inset: 62px 32px;
  border: 2px solid rgba(7, 61, 58, 0.34);
  content: "";
  pointer-events: none;
}

.hero-offer-panel::before {
  clip-path: polygon(0 0, 100% 0, 100% 12%, 0 12%);
}

.hero-offer-panel::after {
  clip-path: polygon(0 88%, 100% 88%, 100% 100%, 0 100%);
}

.hero-deadline {
  position: absolute;
  top: 30px;
  right: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: var(--plum);
  color: #fff7ef;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.05;
  transform: rotate(-4deg);
  animation: deadlinePulse 1.8s ease-in-out infinite;
}

@keyframes deadlinePulse {
  0%,
  100% {
    transform: rotate(-4deg) scale(1);
    box-shadow: 0 0 0 0 rgba(156, 26, 94, 0.55);
  }
  50% {
    transform: rotate(-4deg) scale(1.06);
    box-shadow: 0 0 0 16px rgba(156, 26, 94, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-deadline,
  .hero-price-stack strong {
    animation: none;
  }
}

.hero-panel-kicker {
  display: inline-block;
  margin: 0 0 28px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--pastel-tag);
  color: var(--pastel-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-price-stack {
  display: grid;
  gap: clamp(24px, 5vh, 48px);
  width: 100%;
}

.hero-price-stack p {
  margin: 0;
}

.hero-price-stack span,
.hero-price-stack strong {
  display: block;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-price-stack span {
  color: color-mix(in srgb, var(--deep) 68%, white);
  font-size: clamp(18px, 2vw, 26px);
}

.hero-price-stack strong {
  margin-top: 8px;
  color: var(--plum);
  font-size: clamp(38px, 4.7vw, 72px);
  font-variant-numeric: tabular-nums;
  animation: price-glow 2.2s ease-in-out infinite;
}

/* 2억원대/3억원대 강조 — 은은한 확대 + 자주색 글로우 펄스 */
@keyframes price-glow {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(156, 26, 94, 0);
  }
  50% {
    transform: scale(1.04);
    text-shadow: 0 6px 26px rgba(156, 26, 94, 0.45);
  }
}

.hero-panel-note {
  display: grid;
  gap: 6px;
  margin-top: clamp(24px, 5vh, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(7, 61, 58, 0.18);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 900;
}

.hero-offer-panel .hero-actions {
  justify-content: center;
  margin-top: 26px;
}

.hero-offer-panel .button.ghost {
  border-color: rgba(7, 61, 58, 0.26);
  background: transparent;
  color: var(--deep);
}

/* 메인 배너(hero) 전용 등장 효과 — Ken Burns 줌 + 요소 순차 등장 */
.hero-visual img {
  animation: hero-kenburns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-badges span {
  opacity: 0;
  animation: hero-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-badges span:nth-child(1) {
  animation-delay: 0.35s;
}

.hero-badges span:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-badges span:nth-child(3) {
  animation-delay: 0.65s;
}

@keyframes hero-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-title-block {
  opacity: 0;
  animation: hero-rise 0.75s ease forwards;
  animation-delay: 0.2s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-offer-panel {
  opacity: 0;
  animation: hero-slide-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes hero-slide-in {
  from {
    opacity: 0;
    transform: translateX(44px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img,
  .hero-badges span,
  .hero-title-block,
  .hero-offer-panel {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.home-lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(130px, 0.34fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  width: min(calc(100% - clamp(32px, 6vw, 88px)), 1120px);
  margin: clamp(22px, 3vw, 34px) auto 0;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 42px);
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 82, 72, 0.94), rgba(7, 54, 63, 0.98)),
    var(--deep);
}

.home-lead::before {
  content: "";
  position: absolute;
  inset: auto -8vw -42% auto;
  width: clamp(220px, 30vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(247, 241, 231, 0.22);
  border-radius: 50%;
  opacity: 0.55;
}

.home-lead-copy,
.lead-points,
.home-lead-form {
  position: relative;
  z-index: 1;
}

.home-lead h2 {
  margin: 8px 0 0;
  color: #fff7ef;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.02;
}

.home-lead-copy p:not(.eyebrow) {
  max-width: 450px;
  margin: 12px 0 0;
  color: rgba(247, 241, 231, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.home-lead-number {
  display: inline-block;
  margin-top: 14px;
  color: #fff7ef;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1;
}

.lead-points {
  display: grid;
  gap: 10px;
}

.lead-points span {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(247, 241, 231, 0.18);
  border-radius: 999px;
  color: rgba(247, 241, 231, 0.86);
  background: rgba(247, 241, 231, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.home-lead-form {
  justify-self: end;
  width: min(100%, 360px);
  gap: 10px;
  padding: 18px;
  background: rgba(247, 241, 231, 0.12);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.home-lead-form input {
  min-height: 42px;
}

.home-lead-form .check {
  font-size: 13px;
}

.home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(60px, 8vw, 118px) clamp(18px, 6vw, 88px);
  background: #fffdf8;
}

.home-showcase-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-showcase-media img {
  width: 100%;
  height: clamp(360px, 52vw, 680px);
  object-fit: cover;
}

.home-showcase-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--ink) 72%, white);
  font-size: 17px;
  font-weight: 600;
}

.home-showcase-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.home-riverview {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.08fr);
}

.home-riverview .home-showcase-media {
  order: 2;
}

.home-riverview .home-showcase-copy {
  order: 1;
}

.home-riverview .home-showcase-media img {
  transform-origin: center 40%;
  animation: riverview-pan 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes riverview-pan {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-riverview .home-showcase-media img {
    animation: none;
  }
}

.button.outline {
  border-color: rgba(7, 61, 58, 0.28);
  background: transparent;
  color: var(--deep);
}

.home-compare {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  background:
    linear-gradient(180deg, var(--mist), rgba(244, 247, 238, 0.96)),
    var(--mist);
}

.home-compare-copy p:not(.eyebrow) {
  max-width: 500px;
  margin: 16px 0 0;
  color: color-mix(in srgb, var(--ink) 70%, white);
  font-size: 16px;
  font-weight: 600;
}

.home-compare-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 14px;
  align-items: center;
}

.home-compare-link {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(13, 35, 32, 0.12);
}

.home-compare-link:first-child {
  aspect-ratio: 1.18 / 1;
}

.home-compare-link:last-child {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1.3;
  justify-self: center;
}

.home-compare-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.home-compare-link:first-child img {
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.home-compare-link:hover img {
  transform: scale(1.025);
}

.home-compare-link span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(7, 61, 58, 0.9);
  color: #fff7ef;
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.intro,
.location,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 480px);
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(56px, 7vw, 96px) clamp(18px, 6vw, 88px);
}

.intro-copy p,
.location-copy p,
.interior-copy p,
.contact-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--ink) 72%, white);
  font-size: 16px;
  font-weight: 500;
}

.intro-image,
.location-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-image img,
.location-media img {
  width: 100%;
  height: min(68vw, 680px);
  object-fit: cover;
}

.section-pad {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 88px);
}

.section-heading {
  margin-bottom: clamp(22px, 4vw, 42px);
}

.benefits {
  background: #fdfaf3;
}

.first-content {
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 48px));
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit {
  min-height: 300px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--mist) 72%, white);
}

.benefit img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 6px;
}

.benefit span {
  display: block;
  margin-top: 16px;
  color: var(--river);
  font-size: 13px;
  font-weight: 900;
}

.benefit strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.18;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-card {
  display: grid;
  align-content: start;
  min-height: 340px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 42px rgba(13, 35, 32, 0.08);
}

.page-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.page-card span {
  display: block;
  margin-top: 16px;
  color: var(--river);
  font-size: 13px;
  font-weight: 900;
}

.page-card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.18;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.split-section p:not(.eyebrow) {
  max-width: 560px;
  color: color-mix(in srgb, var(--ink) 72%, white);
  font-size: 16px;
  font-weight: 600;
}

.split-section img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.plain-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.visual-strip {
  padding: clamp(52px, 7vw, 92px) 0;
  overflow: hidden;
}

.strip-copy {
  padding: 0 clamp(18px, 6vw, 88px) 28px;
}

.tower-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding: 0 clamp(18px, 6vw, 88px) 8px;
  scroll-snap-type: x mandatory;
}

.tower-row img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
}

.plans {
  background: #f7fbf7;
}

.plan-tabs {
  margin-bottom: 14px;
}

.tab {
  min-width: 98px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--deep);
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  background: var(--deep);
  color: #f8f4ec;
}

.plan-stage {
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.plan-panel {
  display: none;
  width: 100%;
  gap: 18px;
}

.plan-panel.active {
  display: grid;
}

.plan-panel-pair.active {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.plan-card {
  margin: 0;
}

.plan-panel:not(.plan-panel-pair) .plan-card {
  width: min(100%, 640px);
  margin: 0 auto;
}

.plan-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 36, 33, 0.1);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: color-mix(in srgb, var(--deep) 92%, white);
  color: #fff7ef;
}

.plan-card figcaption span {
  color: color-mix(in srgb, #fff7ef 78%, var(--leaf));
  font-size: 13px;
  font-weight: 900;
}

.plan-card figcaption strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
}

.plan-card img {
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(22, 36, 33, 0.08);
  border-radius: 0 0 6px 6px;
  background: #fff;
}

.plan-image {
  display: none;
  width: 100%;
  max-width: 620px;
  max-height: 720px;
  object-fit: contain;
}

.plan-image#site {
  max-width: 100%;
}

.plan-image.active {
  display: block;
}

.interior {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.interior-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.interior-grid .wide {
  grid-column: 1 / -1;
  height: 380px;
}

.section-soft {
  background: var(--mist);
}

.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.feature-pair.single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.feature-pair img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.document-section {
  background: #fffdf8;
}

.document-section > img {
  display: block;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: clamp(6px, 1vw, 14px);
  background: #ffffff;
  border: 1px solid rgba(7, 61, 58, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* 여러 이미지를 세로로 쌓아 스크롤 리빌(단지배치도+동호수, 커뮤니티, 프리미엄) */
.document-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  overflow-x: clip; /* 슬라이드 등장 시 가로 스크롤 방지 */
}

.document-stack .doc-heading {
  width: min(100%, 1400px);
  margin: 0;
  text-align: center;
}

/* 전역 h2의 max-width:920px가 박스를 왼쪽에 붙게 해 title이 안 맞음 → 컨테이너 폭으로 풀어 중앙 정렬 */
.document-stack .doc-heading h2 {
  max-width: none;
}

/* 가로형 단지배치도는 더 넓게 확장 */
.document-section > img.doc-wide {
  width: min(100%, 1680px);
}

/* 유니트 쇼케이스: 좌측 영상(16:9) + 우측 사진(3:4) + 하단 썸네일 슬라이드 */
.unit-chip {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.unit-showcase {
  display: grid;
  /* 2.37fr:1fr — 16:9 영상과 3:4 사진의 높이가 정확히 일치하는 비율 */
  grid-template-columns: minmax(0, 2.37fr) minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  /* 문서형 페이지(.document-section img)와 동일한 컨텐츠 폭 */
  width: min(100%, 1400px);
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.unit-showcase video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000;
  box-shadow: var(--shadow);
}

.showcase-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: opacity 0.22s ease;
}

.showcase-thumbs {
  grid-column: 1 / -1;
  display: flex;
  justify-content: safe center;
  gap: clamp(10px, 1.2vw, 16px);
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.showcase-thumb {
  flex: 0 0 auto;
  width: clamp(76px, 7vw, 112px);
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.showcase-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-thumb.is-active,
.showcase-thumb:hover {
  opacity: 1;
  border-color: var(--brand);
}

@media (max-width: 860px) {
  .unit-showcase {
    grid-template-columns: 1fr;
  }
  .showcase-photo {
    aspect-ratio: 4 / 3;
  }
}

/* ===== 원본 브로슈어 재현: PREMIUM 6 / BENEFIT 7 ===== */
.brochure-title {
  margin: 0 0 clamp(24px, 4vw, 46px);
  text-align: center;
  color: var(--bnav);
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* PREMIUM 6 - 원본 3열×2행 카드 */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 30px);
  width: min(100%, 1200px);
  margin: 0 auto;
}

.pcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(22px, 2.6vw, 38px) clamp(14px, 1.8vw, 26px) clamp(26px, 3vw, 40px);
  border: 2px solid var(--blime);
  border-radius: 24px;
  background: #fff;
}

.pcard:nth-child(even) {
  border-color: var(--bnav);
}

.pcard-icon {
  width: clamp(66px, 7vw, 92px);
}

.pcard-icon img {
  width: 100%;
  height: auto;
}

.pcard-num {
  margin-top: 12px;
  color: var(--bnav);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
}

.pcard-title {
  margin: 2px 0 14px;
  color: var(--bnav);
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 800;
}

.pcard-desc {
  margin: 0;
  color: #3a4a4a;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.6;
}

/* BENEFIT 7 - 원본 7열 스트립 */
.bft-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(6px, 0.8vw, 12px);
  width: min(100%, 1280px);
  margin: 0 auto;
  align-items: start;
}

.bft-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(12px, 1.4vw, 20px) clamp(6px, 0.8vw, 12px);
  border: 2px dashed transparent;
  border-radius: 14px;
}

.bft-item:nth-child(even) {
  border-color: var(--bnav);
}

.bft-icon {
  width: clamp(56px, 5.4vw, 80px);
}

.bft-icon img {
  width: 100%;
  height: auto;
}

.bft-title {
  margin: 10px 0 4px;
  color: var(--bnav);
  font-size: clamp(14px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.2;
}

.bft-title .mu {
  color: var(--blime-ink);
}

.bft-desc {
  margin: 0;
  color: #46565a;
  font-size: clamp(11px, 0.95vw, 13px);
  line-height: 1.5;
}

.bft-tagline {
  margin-top: clamp(26px, 3.4vw, 46px);
  text-align: center;
}

.bft-tag-sub {
  margin: 0 0 10px;
  color: var(--bnav);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
}

.bft-tag-main {
  margin: 0;
  color: var(--bnav);
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.35;
}

.bft-tag-main .lime {
  color: var(--blime-ink);
}

@media (max-width: 900px) {
  .pcard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bft-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .bft-item:nth-child(even) {
    border-color: transparent;
  }
}

@media (max-width: 560px) {
  .pcard-grid {
    grid-template-columns: 1fr;
  }
  .bft-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 프리미엄 1~6 카드 — 스크롤 시 문서 순서대로 순차 등장(reveal 시차는 script.js) */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  width: min(100%, 1400px);
  margin: 16px auto 0;
}

.premium-grid img {
  display: block;
  width: 100%;
  padding: clamp(6px, 1vw, 14px);
  background: #ffffff;
  border: 1px solid rgba(7, 61, 58, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .premium-grid {
    grid-template-columns: 1fr;
  }
}

.contact {
  align-items: center;
}

.contact-page {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(40px, 5vw, 72px));
  padding-bottom: clamp(48px, 6vw, 88px);
  background: var(--mist);
  color: var(--ink);
}

.contact-page::before {
  position: absolute;
  inset: auto -8vw -28vw auto;
  width: min(54vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(7, 61, 58, 0.08);
  border-radius: 50%;
  content: "";
}

.contact-page::after {
  position: absolute;
  inset: var(--header-h) auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 61, 58, 0.14), transparent);
  content: "";
}

.contact-page > * {
  position: relative;
  z-index: 1;
}

.contact-copy p {
  color: color-mix(in srgb, var(--ink) 68%, white);
}

.contact-page h1 {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--deep);
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1;
}

.contact-lead {
  max-width: 520px;
  font-size: clamp(18px, 2vw, 22px);
}

.contact-number-card {
  display: inline-grid;
  gap: 6px;
  min-width: min(100%, 380px);
  margin-top: clamp(24px, 4vw, 40px);
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 16px 40px rgba(13, 35, 32, 0.1);
}

.contact-number-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--ink) 58%, white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-number-card span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18a05a;
  box-shadow: 0 0 0 3px rgba(24, 160, 90, 0.2);
  content: "";
}

.contact-number-card strong {
  color: var(--deep);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}

.contact-number-call {
  justify-self: start;
  margin-top: 6px;
  color: var(--copper);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.contact-number-call::after {
  content: " →";
  transition: margin 160ms ease;
}

.contact-number-call:hover::after {
  margin-left: 4px;
}

.contact-benefits {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: color-mix(in srgb, var(--ink) 82%, white);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
}

.contact-benefits li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff7ef;
  font-size: 13px;
  font-weight: 900;
  content: "✓";
}

.lead-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(13, 35, 32, 0.12);
  overflow: hidden;
}

.lead-form::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--deep)));
  content: "";
}

.contact-form {
  width: min(100%, 500px);
  justify-self: end;
}

.form-head {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(22, 36, 33, 0.1);
}

.form-head p {
  justify-self: start;
  margin: 0;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--pastel-tag);
  color: var(--pastel-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-head strong {
  color: var(--deep);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.form-head span {
  color: color-mix(in srgb, var(--ink) 64%, white);
  font-size: 14px;
  font-weight: 500;
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form label > span {
  color: color-mix(in srgb, var(--ink) 78%, white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.lead-form label > span em {
  color: var(--copper);
  font-style: normal;
}

.lead-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(22, 36, 33, 0.16);
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lead-form input::placeholder {
  color: rgba(22, 36, 33, 0.4);
  font-weight: 400;
}

.lead-form input:hover {
  border-color: rgba(22, 36, 33, 0.3);
}

.lead-form input:focus {
  outline: none;
  border-color: var(--brand-ink);
  background: #fffdf8;
  box-shadow: 0 0 0 4px rgba(136, 192, 56, 0.22);
}

.lead-form .button.primary {
  margin-top: 4px;
  min-height: 56px;
  font-size: 17px;
  box-shadow: 0 16px 34px rgba(136, 192, 56, 0.42);
}

.lead-form .button.primary:hover {
  background: color-mix(in srgb, var(--brand-ink) 90%, black);
}

.lead-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(22, 36, 33, 0.78);
  font-size: 14px;
}

.check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--brand);
}

.form-trust {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: color-mix(in srgb, var(--ink) 56%, white);
  font-size: 12.5px;
  font-weight: 500;
}

.form-trust::before {
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5 3.8 9.4 9 11 5.2-1.6 9-6 9-11V5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5 3.8 9.4 9 11 5.2-1.6 9-6 9-11V5z'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}

.form-note {
  min-height: 0;
  margin: 0;
  color: var(--copper);
  font-weight: 800;
}

.form-note:empty {
  display: none;
}

.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid rgba(22, 36, 33, 0.1);
  border-radius: 10px;
  background: var(--mist);
}

.privacy-view {
  flex: none;
  padding: 6px 12px;
  border: 1px solid rgba(28, 129, 120, 0.4);
  border-radius: 999px;
  background: rgba(28, 129, 120, 0.08);
  color: var(--river);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.privacy-view:hover,
.privacy-view:focus-visible {
  border-color: var(--river);
  background: var(--river);
  color: #fff7ef;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.privacy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 30, 28, 0.55);
  backdrop-filter: blur(2px);
}

.privacy-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(82vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: privacy-pop 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes privacy-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.privacy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.privacy-modal-head h2 {
  margin: 0;
  font-size: 18px;
  color: var(--deep);
}

.privacy-modal-close {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(22, 36, 33, 0.06);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.privacy-modal-close:hover,
.privacy-modal-close:focus-visible {
  background: rgba(22, 36, 33, 0.14);
}

.privacy-modal-body {
  padding: 22px 24px 26px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.privacy-modal-body section {
  margin-bottom: 18px;
}

.privacy-modal-body section:last-of-type {
  margin-bottom: 12px;
}

.privacy-modal-body h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--river);
  font-weight: 800;
}

.privacy-modal-body p {
  margin: 0;
  font-size: 14px;
  color: rgba(22, 36, 33, 0.82);
  line-height: 1.6;
}

.privacy-modal-body ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(22, 36, 33, 0.82);
  line-height: 1.6;
}

.privacy-modal-body ul li {
  margin-bottom: 4px;
}

.privacy-modal-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: rgba(22, 36, 33, 0.66);
  line-height: 1.6;
}

body.privacy-open {
  overflow: hidden;
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px clamp(28px, 5vw, 88px);
  align-items: start;
  padding: clamp(34px, 5vw, 48px) clamp(18px, 6vw, 88px) 92px;
  background: #101715;
  color: rgba(247, 241, 231, 0.78);
}

.footer-brand {
  grid-column: 1;
}

.footer-brand img {
  width: 270px;
  max-width: 72vw;
  height: auto;
}

.footer-info {
  display: grid;
  gap: 3px;
  grid-column: 1;
  margin-top: 10px;
  color: rgba(247, 241, 231, 0.86);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.footer-info p,
.footer-copy {
  margin: 0;
}

.footer-info span {
  color: rgba(247, 241, 231, 0.36);
}

.footer-copy {
  grid-column: 1;
  margin-top: 8px;
  color: rgba(247, 241, 231, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.footer-actions {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  justify-items: end;
  gap: clamp(22px, 5vw, 44px);
  min-width: 220px;
}

.footer-top {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  border: 1px solid rgba(247, 241, 231, 0.22);
  border-radius: 50%;
  color: rgba(247, 241, 231, 0.58);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-top:hover {
  color: #fff7ef;
  border-color: rgba(247, 241, 231, 0.48);
  transform: translateY(-2px);
}

.footer-phone {
  position: relative;
  color: rgba(247, 241, 231, 0.8);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.footer-phone::before {
  margin-right: 8px;
  color: rgba(247, 241, 231, 0.62);
  content: "☎";
  font-size: 0.56em;
  vertical-align: 18%;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

.mobile-cta a,
.mobile-cta span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  color: #fff7ef;
  font-weight: 900;
}

.mobile-cta a:first-child,
.mobile-cta span:first-child {
  background: #121615;
}

.mobile-cta a:last-child {
  background: var(--river);
}

.contact-body .mobile-cta {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.js .reveal.is-animated {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 우→좌 슬라이드 등장 변형 — 반투명 상태에서 시작해 선명해진다 */
.js .reveal.reveal-slide {
  opacity: 0.35;
  transform: translateX(min(90px, 14vw));
}

.js .reveal.reveal-slide.is-animated {
  transition: opacity 1.6s ease, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.reveal-slide.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.reveal-slide {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .nav-links a::after {
    transition: none;
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
    padding-inline: clamp(28px, 5vw, 52px);
    row-gap: 8px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 0 0;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .submenu {
    display: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .header-call {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-lead {
    grid-template-columns: 1fr 1fr;
  }

  .home-lead-copy {
    grid-column: 1 / -1;
  }

  .home-lead-form {
    justify-self: stretch;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 18px 42px;
    background: linear-gradient(180deg, #102723, #f2eadf 56%);
  }

  .hero-visual {
    min-height: 520px;
    border-right: 10px solid rgba(255, 255, 255, 0.92);
  }

  .hero-offer-panel {
    min-height: auto;
  }

  .hero-offer-panel::before,
  .hero-offer-panel::after {
    inset: 34px 22px;
  }

  .intro,
  .location,
  .contact,
  .split-section,
  .interior,
  .home-showcase {
    grid-template-columns: 1fr;
  }

  .home-compare {
    grid-template-columns: 1fr;
  }

  .home-compare-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-compare-link:last-child {
    width: 100%;
  }

  .contact-form {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand img {
    width: 148px;
  }

  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    display: grid;
    grid-template-columns: 1fr;
    max-height: min(72svh, 560px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid rgba(22, 36, 33, 0.12);
    border-radius: 8px;
    background: rgba(244, 247, 238, 0.98);
    box-shadow: 0 22px 64px rgba(8, 32, 29, 0.2);
    font-size: 15px;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    white-space: normal;
  }

  .site-header.is-nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
    transform: translateY(0);
  }

  .nav-group {
    display: grid;
    grid-template-columns: 1fr;
    align-self: auto;
    border-bottom: 1px solid rgba(22, 36, 33, 0.1);
  }

  .nav-links > a,
  .nav-top {
    justify-content: space-between;
    min-height: 46px;
    padding: 0 4px;
  }

  .nav-links > a {
    border-bottom: 1px solid rgba(22, 36, 33, 0.1);
  }

  .nav-links > a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after,
  .nav-top::after {
    display: none;
  }

  .submenu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 0 0 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-group:hover .submenu,
  .nav-group:focus-within .submenu {
    transform: none;
  }

  .submenu a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 10px;
    color: rgba(22, 36, 33, 0.72);
    font-size: 14px;
  }

  .nav-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .header-call span {
    display: none;
  }

  .header-call {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-call strong {
    font-size: 15px;
  }

  .hero {
    gap: 28px;
    padding: 18px 14px 34px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
    border-width: 6px;
  }

  .hero-badges {
    top: 18px;
    left: 14px;
    right: 14px;
    width: auto;
  }

  .hero-badges span {
    min-height: 34px;
    padding: 7px 12px 7px 40px;
    font-size: 14px;
  }

  .hero-badges span::before {
    left: 9px;
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .hero-title-block {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .hero-title-block h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-main-offer {
    display: grid;
    gap: 6px;
    margin-top: 12px;
  }

  .hero-main-offer strong {
    font-size: clamp(26px, 8vw, 38px);
  }

  .hero-offer-panel {
    padding: 54px 22px 34px;
  }

  .hero-offer-panel::before,
  .hero-offer-panel::after {
    border-width: 4px;
    inset: 22px 16px;
  }

  .hero-deadline {
    top: 14px;
    right: 16px;
    width: 70px;
    font-size: 16px;
  }

  .hero-price-stack {
    gap: 20px;
  }

  .hero-panel-note {
    font-size: 13px;
  }

  .hero-offer-panel .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-lead {
    grid-template-columns: 1fr;
    padding: 28px 16px;
  }

  .home-showcase {
    padding: 48px 18px;
  }

  .home-showcase-media img {
    height: 320px;
  }

  .home-showcase-actions .button {
    width: 100%;
  }

  .home-compare-preview {
    grid-template-columns: 1fr;
  }

  .home-compare-link:first-child,
  .home-compare-link:last-child {
    width: 100%;
  }

  .lead-points {
    grid-template-columns: 1fr;
  }

  .contact-page {
    gap: 28px;
    padding: calc(var(--header-h) + 30px) 16px 42px;
  }

  .contact-page h1 {
    font-size: clamp(46px, 15vw, 70px);
  }

  .contact-number-card {
    width: 100%;
    padding: 18px;
  }

  .contact-benefits {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 22px 16px;
  }

  .intro-image img,
  .location-media img {
    height: 320px;
  }

  .benefit-grid,
  .page-card-grid,
  .feature-pair,
  .interior-grid {
    grid-template-columns: 1fr;
  }

  .plan-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 홍보센터는 탭 3개라 2열이면 2+1로 감쌈 → 3열 균등 */
  .tab {
    width: 100%;
  }

  .plan-panel-pair.active {
    grid-template-columns: 1fr;
  }

  .plan-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .page-card {
    min-height: 0;
  }

  .benefit {
    min-height: 0;
  }

  .tower-row {
    grid-template-columns: repeat(4, 76vw);
  }

  .tower-row img {
    min-height: 340px;
  }

  .interior-grid .wide,
  .interior-grid img {
    height: 280px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 18px 92px;
  }

  .footer-brand img {
    width: 210px;
    max-width: 68vw;
  }

  .footer-info {
    gap: 7px;
    margin-top: 4px;
    padding: 16px;
    border: 1px solid rgba(247, 241, 231, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 12px;
    line-height: 1.55;
  }

  .footer-copy {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .footer-actions {
    grid-column: 1;
    grid-row: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(247, 241, 231, 0.12);
  }

  .footer-top {
    order: 2;
    width: 48px;
    flex: 0 0 48px;
    font-size: 26px;
  }

  .footer-phone {
    order: 1;
    font-size: clamp(26px, 8vw, 32px);
  }

  .mobile-cta {
    display: grid;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav-links {
    gap: 0;
  }

  .contact-page {
    padding-inline: 14px;
  }

  .contact-page h1 {
    font-size: clamp(32px, 9.7vw, 42px);
  }

  .contact-lead {
    font-size: 17px;
  }

  .contact-number-card {
    padding: 16px;
  }

  .contact-number-card strong {
    font-size: clamp(31px, 10vw, 42px);
  }

  .lead-form {
    gap: 14px;
    padding: 20px 14px;
  }

  .form-head strong {
    font-size: 21px;
  }

  .footer {
    padding: 30px 14px 86px;
  }

  .footer-brand img {
    width: 180px;
  }

  .footer-info {
    padding: 14px;
    font-size: 11px;
  }

  .footer-info span {
    display: none;
  }

  .footer-copy {
    font-size: 11px;
  }

  .footer-phone {
    font-size: 26px;
  }

  .footer-top {
    width: 44px;
    flex-basis: 44px;
    font-size: 24px;
  }
}

/* 홍보센터 (Promotion Center) */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}

/* 스크랩 카드는 details 펼침 시 옆 카드가 같이 늘어나지 않게 각자 높이 유지 */
.press-grid-scrap {
  align-items: start;
}

.press-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--copper);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(13, 35, 32, 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-left-color 0.3s ease;
}

.press-card:hover,
.press-card:focus-visible {
  transform: translateY(-6px);
  border-left-color: var(--deep);
  box-shadow: 0 22px 48px rgba(13, 35, 32, 0.16);
  outline: none;
}

.press-source {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.press-title {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 800;
  line-height: 1.4;
  word-break: keep-all;
}

.press-summary {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 66%, white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
}

.press-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: color-mix(in srgb, var(--ink) 58%, white);
  font-size: 14px;
  font-weight: 700;
}

.press-more {
  color: var(--brand-ink);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.press-card:hover .press-more,
.press-card:focus-visible .press-more {
  transform: translateX(4px);
}

/* 스크랩 그리드는 행 높이를 공유해 카드 크기를 통일 (짧은 카드는 아래 여백 허용) */

/* 링크 없는 기사 스크랩 — <details> 펼쳐보기 */
details.press-scrap summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

details.press-scrap summary::-webkit-details-marker {
  display: none;
}

details.press-scrap .press-more::before {
  content: "펼쳐보기 +";
}

details.press-scrap[open] .press-more::before {
  content: "접기 −";
}

.press-body {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  color: color-mix(in srgb, var(--ink) 74%, white);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
  word-break: keep-all;
  white-space: pre-line; /* 붙여넣은 일반 텍스트의 줄바꿈/문단이 그대로 표시됨 */
}

/* 스크랩 기사 썸네일 — 접힌 상태에서도 보이도록 summary 상단에 배치, 16:9 크롭으로 카드 높이 통일 */
details.press-scrap summary img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.gallery-note {
  margin: clamp(28px, 4vw, 44px) auto 0;
  color: var(--ink);
  text-align: center;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(13, 35, 32, 0.1);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: clamp(200px, 24vw, 300px);
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* 모바일 1열에선 고정 높이(200px)가 가로로 넓게 잘려 보여 정사각 비율로 표시 */
@media (max-width: 720px) {
  .gallery-item img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.promo-cat-title {
  margin: clamp(40px, 5vw, 64px) 0 clamp(16px, 2.4vw, 24px);
  color: var(--deep);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  text-align: center;
}

.section-heading + .promo-cat-title {
  margin-top: 0;
}
