:root {
  --navy: #071324;
  --navy2: #0d2035;
  --gold: #c8a45d;
  --gold2: #ead49a;
  --ivory: #f7f5ef;
  --white: #ffffff;
  --ink: #17202b;
  --muted: #657080;
  --line: #e7e3d8;
  --shadow: 0 18px 50px rgba(5, 16, 30, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Header — reference one-page tone */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 19, 36, .95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand span { color: var(--gold2); }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #dce3ec;
  font-size: 13px;
  font-weight: 700;
}
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--gold2); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
}

/* Hero — same structure, redesigned only in tone */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(200,164,93,.16), transparent 28%),
    radial-gradient(circle at 70% 90%, rgba(234,212,154,.08), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy2) 68%, #102942 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -120px;
  top: -190px;
  border: 1px solid rgba(234,212,154,.18);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: 30px;
  top: -145px;
  border: 1px solid rgba(234,212,154,.10);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 790px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(234,212,154,.34);
  border-radius: 999px;
  color: var(--gold2);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
h1 {
  margin: 16px 0 16px;
  font-size: clamp(36px, 5.1vw, 60px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 900;
}
.hero p {
  margin: 0;
  color: rgba(231,237,244,.78);
  font-size: 16px;
  line-height: 1.8;
}
.search-wrap {
  margin-top: 31px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 790px;
}
.search {
  height: 58px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.20);
  padding: 0 19px;
  color: var(--ink);
  background: rgba(255,255,255,.98);
  outline: none;
  box-shadow: 0 12px 35px rgba(0,0,0,.13);
}
.search::placeholder { color: #7e8795; }
.search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,93,.13); }
.search-btn {
  min-width: 118px;
  border: 1px solid var(--gold);
  border-radius: 15px;
  background: var(--gold);
  color: #091321;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.search-btn:hover { background: var(--gold2); transform: translateY(-1px); }

/* Content sections — same composition, one-page reference palette */
.section { padding: 68px 0; background: #fff; }
main > .section:nth-of-type(even) { background: var(--ivory); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head h2 {
  position: relative;
  margin: 0;
  padding-top: 14px;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -.045em;
  color: var(--navy);
}
.section-head h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.section-head p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }

.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.featured-card {
  min-height: 350px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--navy2);
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,19,36,.08);
}
.featured-card img { width: 100%; height: 350px; object-fit: cover; opacity: .86; transition: transform .35s ease; }
.featured-card:hover img { transform: scale(1.025); }
.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,36,.02) 24%, rgba(7,19,36,.93) 100%);
}
.featured-content { position: absolute; z-index: 2; left: 23px; right: 23px; bottom: 23px; color: #fff; }
.featured-content h3 { margin: 10px 0 7px; font-size: 23px; line-height: 1.35; letter-spacing: -.04em; }
.featured-content p { margin: 0; color: rgba(255,255,255,.74); font-size: 13px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid rgba(200,164,93,.58);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  color: #17120a;
  background: var(--gold2);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 23px; }
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  color: #536176;
  transition: .18s ease;
}
.filter-btn:hover { border-color: #cdbb94; color: var(--navy); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.apartment-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.apt-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.apt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6c8aa; }
.apt-thumb { aspect-ratio: 16 / 10; background: #e3e6e8; position: relative; overflow: hidden; }
.apt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.apt-card:hover .apt-thumb img { transform: scale(1.025); }
.apt-thumb .badge { position: absolute; top: 14px; left: 14px; }
.apt-body { padding: 20px 20px 21px; }
.apt-body h3 { margin: 0 0 11px; font-size: 19px; line-height: 1.42; letter-spacing: -.035em; color: var(--navy); }
.meta { display: grid; gap: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.empty {
  grid-column: 1/-1;
  padding: 58px 20px;
  text-align: center;
  background: rgba(255,255,255,.72);
  border: 1px dashed #d7d0c1;
  border-radius: 20px;
  color: var(--muted);
}

.region-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; }
.region-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-weight: 800;
  color: #405066;
  transition: .18s ease;
}
.region-link:hover { color: var(--navy); border-color: #cdbb94; box-shadow: 0 10px 28px rgba(5,16,30,.06); }
.schedule-strip { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.month {
  padding: 20px 12px;
  text-align: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.month strong { display: block; color: var(--navy); font-size: 16px; }
.month span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

.site-footer {
  margin-top: 0;
  color: #dce3ec;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(220,227,236,.68);
  font-size: 13px;
}
.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.footer-brand strong {
  color: var(--gold);
  font-size: inherit;
  font-weight: 900;
}
.footer-links { display: flex; gap: 18px; font-weight: 750; }
.footer-links a:hover { color: var(--gold2); }

/* Privacy page follows the same tone */
.privacy {
  max-width: 920px;
  margin: 52px auto;
  background: #fff;
  padding: 40px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(5,16,30,.06);
}
.privacy h1 { margin-top: 0; color: var(--navy); font-size: 36px; }
.privacy h2 { margin-top: 31px; color: var(--navy); font-size: 20px; }
.privacy p, .privacy li { color: #536176; line-height: 1.8; }
.hidden { display: none !important; }

@media (max-width: 900px) {
  .header-inner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding-top: 10px;
  }
  .brand {
    display: block;
    width: 100%;
    padding: 4px 0 10px;
    text-align: center;
  }
  .nav {
    display: flex;
    position: static;
    width: 100%;
    padding: 0 0 10px;
    background: transparent;
    border: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    flex: 0 0 auto;
    padding: 4px 0;
    line-height: 1.35;
  }
  .menu-btn { display: none !important; }
  .featured-grid, .apartment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .region-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px,1180px); }
  .header-inner { min-height: 0; padding-top: 9px; }
  .brand { font-size: 17px; padding-bottom: 9px; }
  .nav {
    gap: 14px;
    padding-bottom: 9px;
    font-size: 12px;
  }
  .hero { padding: 58px 0 48px; }
  h1 {
    font-size: clamp(21px, 5.8vw, 29px);
    line-height: 1.15;
    letter-spacing: -.055em;
    white-space: nowrap;
  }
  .hero p { font-size: 15px; }
  .search-wrap { grid-template-columns: 1fr; }
  .search-btn { height: 52px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 24px; }
  .featured-grid, .apartment-grid { grid-template-columns: 1fr; }
  .featured-card, .featured-card img { min-height: 310px; height: 310px; }
  .region-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .schedule-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { padding: 28px 0; min-height: 0; flex-direction: column; align-items: flex-start; }
  .footer-brand { font-size: 20px; }
  .privacy { margin: 28px auto; padding: 24px; border-radius: 18px; }
  .privacy h1 { font-size: 30px; }
}

/* performance */
@supports (content-visibility:auto){main > .section{content-visibility:auto;contain-intrinsic-size:auto 760px}}

.future-schedule{margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}.future-schedule>strong{display:block;color:var(--navy);font-size:15px;margin-bottom:12px}.future-schedule-list{display:flex;flex-wrap:wrap;gap:10px}.future-schedule-list a{display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:12px;background:var(--ivory);border:1px solid var(--line);font-size:12px}.future-schedule-list b{color:#8a672c}.future-schedule-list span{color:#536176}
