:root {
  --navy: #07172f;
  --navy-2: #0c2345;
  --ink: #111a29;
  --muted: #687384;
  --line: #dfe4ea;
  --paper: #f5f2ec;
  --soft: #eef2f5;
  --white: #ffffff;
  --accent: #b99462;
  --header-h: 84px;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 10px 14px; background: #000; color: #fff;
}
.skip-link:focus { top: 12px; }
.is-hidden { display: none !important; }
.honeypot { position: absolute !important; left: -99999px !important; opacity: 0 !important; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(10, 25, 45, .08);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 32px rgba(3, 17, 38, .08); }
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  height: 100%; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.brand-mark { font-size: 10px; font-weight: 700; letter-spacing: .25em; color: #778295; }
.brand-name { margin-top: 5px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.primary-nav { display: flex; align-items: center; gap: 38px; font-size: 15px; font-weight: 650; }
.primary-nav a { position: relative; padding: 28px 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 2px; background: var(--navy); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.header-phone { justify-self: end; display: flex; align-items: baseline; gap: 12px; padding: 12px 18px; border-left: 1px solid #d9dee5; }
.header-phone span { font-size: 11px; color: var(--muted); }
.header-phone strong { font-size: 21px; letter-spacing: .01em; color: var(--navy); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s ease; }

main { padding-top: var(--header-h); }
.hero { position: relative; min-height: 680px; background: #e9e2d9; overflow: hidden; }
.hero > img { width: 100%; height: min(76vw, 820px); min-height: 680px; object-fit: cover; object-position: center center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2, 10, 20, .04) 60%, rgba(2, 10, 20, .48)); pointer-events: none; }
.hero-bottom {
  position: absolute; z-index: 2; left: 50%; bottom: 36px; transform: translateX(-50%);
  width: min(var(--max), calc(100% - 48px)); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hero-badge { color: #fff; font-size: 14px; letter-spacing: .01em; }
.hero-cta { display: inline-flex; align-items: center; gap: 20px; padding: 16px 20px; min-width: 190px; justify-content: space-between; color: #fff; border: 1px solid rgba(255,255,255,.7); background: rgba(4,17,38,.35); backdrop-filter: blur(8px); transition: .2s ease; }
.hero-cta:hover { background: #fff; color: var(--navy); }

.quick-summary { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.summary-item { padding: 34px 28px; border-right: 1px solid var(--line); }
.summary-item:first-child { padding-left: 0; }
.summary-item:last-child { border-right: 0; }
.summary-item span { display: block; margin-bottom: 8px; font-size: 10px; color: #9a7b53; font-weight: 800; letter-spacing: .15em; }
.summary-item strong { font-size: 19px; letter-spacing: -.03em; }

.section { padding: 120px 0; scroll-margin-top: calc(var(--header-h) - 2px); }
.section-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading .eyebrow, .eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--accent); }
.section-heading h1, .section-heading h2 { margin: 0; font-size: clamp(36px, 4.2vw, 62px); line-height: 1.15; letter-spacing: -.055em; font-weight: 700; }
.section-heading > p:last-child { margin: 20px 0 0; max-width: 620px; color: var(--muted); font-size: 17px; }

.overview-section { background: #fff; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.overview-card { min-height: 190px; padding: 32px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.overview-card:nth-child(3n) { border-right: 0; }
.card-label { font-size: 13px; color: var(--muted); font-weight: 650; }
.overview-card strong { font-size: clamp(22px, 2vw, 30px); line-height: 1.34; letter-spacing: -.045em; font-weight: 650; }
.overview-card em { font-style: normal; color: #a7afb9; font-weight: 400; padding: 0 5px; }

.location-section { background: var(--navy); color: #fff; overflow: hidden; }
.section-heading--light > p:last-child { color: #aeb9c8; }
.location-stack { display: grid; gap: 30px; }
.visual-card { background: #fff; color: var(--ink); border-radius: 2px; overflow: hidden; }
.visual-card-head { display: flex; align-items: center; gap: 22px; padding: 28px 34px; border-bottom: 1px solid #e8ebef; }
.visual-card-head > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #c9d0d8; border-radius: 50%; font-size: 12px; color: #7a8491; }
.visual-card-head small { display: block; margin-bottom: 2px; color: #9a7b53; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.visual-card-head h3 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.visual-frame { background: #f4f6f8; }
.visual-frame img { width: 100%; }
.visual-frame--contain { display: flex; justify-content: center; align-items: center; padding: 26px; }
.visual-frame--contain img { width: auto; max-width: 100%; height: auto; object-fit: contain; }
.visual-card--compact .visual-frame img { max-height: 720px; }
.visual-frame--tall img { max-height: 1080px; }
.premium-card .visual-frame { background: #dce5eb; }
.vr-banner { margin-top: 30px; padding: 44px 50px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: linear-gradient(115deg, rgba(255,255,255,.08), rgba(255,255,255,.015)); }
.vr-banner h3 { margin: 3px 0 8px; font-size: 30px; letter-spacing: -.04em; }
.vr-banner p { margin: 0; color: #aeb9c8; }
.vr-banner a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #fff; font-weight: 700; }

.complex-section { background: var(--paper); }
.complex-hero { display: grid; grid-template-columns: 310px minmax(0, 1fr); background: #fff; }
.complex-copy { padding: 48px 36px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); color: #fff; }
.complex-copy > span { font-size: 10px; letter-spacing: .18em; color: #b9c7d8; }
.complex-copy h3 { margin: 10px 0 20px; font-size: 34px; line-height: 1.28; letter-spacing: -.05em; }
.complex-copy p { margin: 0; color: #aeb9c8; font-size: 14px; }
.complex-hero figure { margin: 0; overflow: hidden; }
.complex-hero img { width: 100%; min-height: 620px; height: 100%; object-fit: cover; object-position: center; }

.optional-complex { margin-top: 70px; }
.sub-heading { margin-bottom: 28px; }
.sub-heading > span { display: block; color: var(--accent); font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.sub-heading h2, .sub-heading h3 { margin: 4px 0 0; font-size: 30px; letter-spacing: -.04em; }
.optional-block { margin-top: 45px; }
.optional-block > h4, .floorplan-header h4 { margin: 0 0 18px; font-size: 24px; }
.document-image { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); }
.document-image img { width: 100%; height: auto; object-fit: contain; }
.community-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.community-card { background: #fff; }
.community-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.community-card strong { display: block; padding: 16px 18px 18px; }
.floorplan-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.floorplan-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.floorplan-tab { border: 1px solid #c8ced6; background: #fff; padding: 10px 18px; color: var(--ink); }
.floorplan-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.floorplan-stage { background: #fff; border: 1px solid var(--line); min-height: 300px; display: grid; place-items: center; padding: 28px; }
.floorplan-stage img { max-width: 100%; max-height: 1100px; object-fit: contain; }

.site-record { margin-top: 80px; padding-top: 70px; border-top: 1px solid #d4d0c8; display: grid; grid-template-columns: 1fr 520px; gap: 70px; align-items: center; }
.site-record-copy h3 { margin: 4px 0 18px; font-size: 36px; letter-spacing: -.045em; }
.site-record-copy > p { color: var(--muted); }
.record-note { padding-top: 18px; border-top: 1px solid #d4d0c8; font-size: 13px; line-height: 1.75; }
.site-record-image { margin: 0; background: #fff; padding: 12px; box-shadow: 0 18px 50px rgba(50, 45, 37, .08); }
.site-record-image img { width: 100%; max-height: 760px; object-fit: contain; }

.register-section { background: #f8fafc; }
.register-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(520px, 1fr); gap: 90px; align-items: start; }
.register-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.register-copy h2 { margin: 8px 0 22px; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.14; letter-spacing: -.055em; }
.register-copy .lead { max-width: 520px; font-size: 18px; color: var(--muted); }
.register-points { margin: 42px 0 36px; border-top: 1px solid #d9dee5; }
.register-points > div { display: flex; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid #d9dee5; }
.register-points span { font-size: 10px; color: #a67d4e; font-weight: 800; }
.register-points p { margin: 0; font-weight: 650; }
.phone-panel { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; align-items: center; padding: 24px 26px; background: var(--navy); color: #fff; }
.phone-panel span { grid-row: 1 / span 2; font-size: 12px; color: #aeb9c8; }
.phone-panel strong { font-size: 29px; line-height: 1.1; }
.phone-panel small { color: #9cabbc; }

.form-card { padding: 42px; background: #fff; border: 1px solid #e2e7ec; box-shadow: 0 20px 65px rgba(6, 25, 50, .06); }
.form-success { margin-bottom: 26px; padding: 18px 20px; background: #eef6f0; border: 1px solid #cfe4d2; }
.form-success strong { display: block; margin-bottom: 4px; color: #245d34; }
.form-success p { margin: 0; color: #52705a; font-size: 14px; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-card label > span, .form-card legend { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.form-card b { color: #ad5a52; }
.form-card input[type="text"], .form-card input[type="tel"], .form-card select, .form-card textarea {
  width: 100%; border: 1px solid #d5dbe2; border-radius: 0; background: #fff; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-card input[type="text"], .form-card input[type="tel"], .form-card select { height: 54px; padding: 0 15px; }
.form-card textarea { padding: 14px 15px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: #61728a; box-shadow: 0 0 0 3px rgba(22, 54, 93, .06); }
.form-card fieldset { margin: 26px 0; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid label span { display: grid; place-items: center; height: 50px; margin: 0; border: 1px solid #d5dbe2; font-weight: 650; transition: .15s ease; }
.choice-grid input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.select-label, .message-label { display: block; margin-top: 24px; }
.privacy-check { margin-top: 24px; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.privacy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.privacy-check span { margin: 0 !important; font-size: 13px !important; color: #596575; }
.submit-button { width: 100%; margin-top: 28px; height: 62px; padding: 0 22px; border: 0; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; font-weight: 750; transition: background .2s ease; }
.submit-button:hover { background: var(--navy-2); }
.form-note { margin: 12px 0 0; text-align: center; color: #8a94a1; font-size: 12px; }

.site-footer { padding: 46px 0 110px; background: #050f20; color: #fff; }
.footer-inner, .footer-notice { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-inner strong { font-size: 19px; }
.footer-inner p { margin: 4px 0 0; color: #91a0b2; font-size: 13px; }
.footer-inner a { align-self: center; font-size: 18px; font-weight: 700; }
.footer-notice { padding-top: 24px; color: #75869a; font-size: 12px; line-height: 1.75; }
.footer-notice p { margin: 4px 0; }
.mobile-cta { display: none; }

@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .primary-nav { gap: 22px; }
  .header-phone { min-width: 164px; padding-right: 0; }
  .header-phone span { display: none; }
  .header-phone strong { font-size: 18px; }
  .quick-summary { grid-template-columns: repeat(2, 1fr); }
  .summary-item:nth-child(2) { border-right: 0; }
  .summary-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .summary-item:nth-child(3) { padding-left: 0; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .overview-card:nth-child(2n) { border-right: 0; }
  .complex-hero { grid-template-columns: 250px 1fr; }
  .complex-hero img { min-height: 500px; }
  .site-record { grid-template-columns: 1fr 430px; gap: 45px; }
  .register-layout { grid-template-columns: 1fr 1.15fr; gap: 50px; }
}

@media (max-width: 860px) {
  .site-header { height: 68px; }
  :root { --header-h: 68px; }
  .header-inner { width: calc(100% - 28px); grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand-mark { display: none; }
  .brand-name { margin: 0; font-size: 17px; }
  .menu-toggle { display: block; order: 3; }
  .header-phone { order: 2; min-width: 0; border: 0; padding: 8px 10px; background: var(--navy); color: #fff; }
  .header-phone strong { color: #fff; font-size: 14px; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(4, 20, 42, .08);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 6px; border-bottom: 1px solid #edf0f3; }
  .primary-nav a::after { display: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 0; }
  .hero > img { height: auto; min-height: 0; object-fit: contain; background: #e9e2d9; }
  .hero-bottom { bottom: 18px; width: calc(100% - 28px); }
  .hero-badge { display: none; }
  .hero-cta { margin-left: auto; min-width: 160px; padding: 12px 15px; font-size: 13px; }

  .section { padding: 82px 0; }
  .section-inner, .quick-summary, .footer-inner, .footer-notice { width: calc(100% - 32px); }
  .section-heading { margin-bottom: 36px; }
  .section-heading h1, .section-heading h2 { font-size: 36px; }
  .section-heading > p:last-child { font-size: 15px; }
  .quick-summary { grid-template-columns: 1fr 1fr; }
  .summary-item { padding: 22px 16px; }
  .summary-item strong { font-size: 16px; }

  .overview-card { min-height: 150px; padding: 24px 20px; }
  .overview-card strong { font-size: 21px; }
  .visual-card-head { padding: 20px; }
  .visual-card-head h3 { font-size: 20px; }
  .visual-frame--contain { padding: 12px; }
  .vr-banner { padding: 30px; align-items: flex-start; flex-direction: column; gap: 22px; }
  .vr-banner h3 { font-size: 25px; }

  .complex-hero { grid-template-columns: 1fr; }
  .complex-copy { padding: 28px 24px; }
  .complex-copy h3 { font-size: 28px; }
  .complex-hero img { min-height: 0; height: auto; object-fit: contain; }
  .community-grid { grid-template-columns: 1fr; }
  .site-record { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; padding-top: 55px; }
  .site-record-image { max-width: 560px; }

  .register-layout { grid-template-columns: 1fr; gap: 40px; }
  .register-copy { position: static; }
  .register-copy h2 { font-size: 39px; }
  .form-card { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { padding-bottom: 120px; }
  .mobile-cta {
    position: fixed; z-index: 1100; display: grid; grid-template-columns: 1fr 38%; left: 0; right: 0; bottom: 0; min-height: 66px;
    background: #fff; box-shadow: 0 -8px 30px rgba(3, 17, 38, .14); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-call { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--navy); }
  .mobile-call span { font-size: 11px; color: #7b8592; }
  .mobile-call strong { font-size: 17px; }
  .mobile-register { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 750; }
}

@media (max-width: 520px) {
  .header-phone { padding: 8px 9px; }
  .header-phone strong { font-size: 13px; }
  .hero-cta { display: none; }
  .hero::after { background: linear-gradient(to bottom, transparent 70%, rgba(2, 10, 20, .2)); }
  .quick-summary { grid-template-columns: 1fr; }
  .summary-item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .summary-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-card, .overview-card:nth-child(3n), .overview-card:nth-child(2n) { border-right: 0; }
  .overview-card { min-height: 132px; }
  .section-heading h1, .section-heading h2 { font-size: 32px; }
  .visual-card-head > span { width: 36px; height: 36px; }
  .visual-card-head h3 { font-size: 18px; }
  .vr-banner { padding: 24px 20px; }
  .site-record-copy h3 { font-size: 30px; }
  .register-copy h2 { font-size: 34px; }
  .phone-panel { padding: 20px; }
  .phone-panel strong { font-size: 24px; }
  .form-card { padding: 24px 18px; }
  .footer-inner { flex-direction: column; }
  .footer-inner a { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
