/* Pretendard — SIL Open Font License 1.1
   CDN 대신 우리 서버에 두고 씁니다. 요청이 한 번 줄어 첫 화면이 빨리 뜹니다. */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("/assets/font/PretendardVariable.woff2") format("woff2-variations");
}

/* 베라시떼 하남 — 사이트 전체 모양
   흰 바탕 + 가는 선 + 큰 글씨. 참고했던 두 사이트(어두운 남색 그라데이션)와
   일부러 반대로 갑니다. 포인트 색은 로고에서 뽑은 남색과 금색 두 가지뿐입니다. */

:root {
  --먹:      #11151c;
  --흐린먹:  #5b6270;
  --남색:    #16306e;
  --진남색:  #0d1f4a;
  --금:      #a8874e;
  --바탕:    #ffffff;
  --아이보리:#f6f4ef;
  --선:      #e4e1da;
  --폭:      1180px;
  --머리높이: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--바탕);
  color: var(--먹);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo",
               "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.3; }
p { margin: 0; }

.wrap { width: min(100% - 40px, var(--폭)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--남색); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 0; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--남색);
  outline-offset: 2px;
}

/* ── 머리글 ───────────────────────────────────────────── */

.top {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--선);
}
.top__in {
  width: min(100% - 40px, var(--폭));
  margin-inline: auto;
  height: var(--머리높이);
  display: flex; align-items: center; gap: 28px;
}
.top__logo { display: flex; align-items: center; gap: 10px; flex: none; }
.top__logo img { width: 34px; height: auto; }
.top__name { font-weight: 700; font-size: 17px; letter-spacing: -0.04em; }

.top__nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 15px; font-weight: 500; color: var(--흐린먹);
  transition: color .15s;
}
.nav__link:hover { color: var(--먹); }
.nav__link.is-on { color: var(--남색); font-weight: 700; }
.nav__link.is-on::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--남색);
}

.top__tel { display: flex; flex-direction: column; line-height: 1.25; flex: none; }
.top__tel-label { font-size: 11px; letter-spacing: .12em; color: var(--금); font-weight: 600; }
.top__tel strong { font-size: 20px; letter-spacing: -0.02em; color: var(--진남색); }

.top__burger {
  display: none; flex: none;
  width: 42px; height: 42px; padding: 0;
  background: none; border: 1px solid var(--선); border-radius: 4px;
  cursor: pointer;
}
.top__burger span {
  display: block; width: 18px; height: 1.5px; margin: 4px auto;
  background: var(--먹); transition: transform .2s, opacity .2s;
}
.top__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.top__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.top__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--머리높이) 0 auto 0; z-index: 89;
  background: #fff; border-bottom: 1px solid var(--선);
  padding: 8px 20px 20px;
  box-shadow: 0 20px 40px rgba(17, 21, 28, .08);
}
.drawer[hidden] { display: none; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer .nav__link { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--선); }
.drawer .nav__link.is-on::after { display: none; }
.drawer__tel {
  display: block; margin-top: 16px; padding: 15px;
  background: var(--진남색); color: #fff; text-align: center;
  font-size: 19px; font-weight: 700; border-radius: 4px;
}

/* ── 첫 화면 ──────────────────────────────────────────── */

.hero { position: relative; background: var(--진남색); }
.hero__bg {
  width: 100%; height: clamp(440px, 72vh, 700px);
  object-fit: cover; object-position: 50% 22%;
  opacity: .92;
}
.hero__in {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(60px, 14vh, 130px) 0 clamp(28px, 6vh, 64px);
  /* 글씨가 밝은 건물 위에 얹히면 안 읽힙니다. 글씨가 있는 높이만큼 충분히 덮습니다. */
  background: linear-gradient(to top,
              rgba(8, 16, 38, .88) 0%, rgba(8, 16, 38, .74) 38%,
              rgba(8, 16, 38, .38) 72%, rgba(8, 16, 38, 0) 100%);
  color: #fff;
}
.hero__eng {
  font-size: 12px; letter-spacing: .34em; color: #d8c49a;
  font-weight: 600; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.18;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.hero__lead {
  margin-top: 14px; font-size: clamp(15px, 2vw, 19px);
  color: rgba(255, 255, 255, .88); max-width: 34em;
}
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* 첫 화면 아래 붙는 요약 띠 */
.facts { border-bottom: 1px solid var(--선); background: var(--아이보리); }
.facts__in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 26px 0;
}
.facts__it { padding: 4px 18px; border-left: 1px solid var(--선); }
.facts__it:first-child { border-left: 0; padding-left: 0; }
.facts__k { font-size: 12px; letter-spacing: .1em; color: var(--금); font-weight: 600; }
.facts__v { font-size: clamp(15px, 1.6vw, 18px); font-weight: 700; margin-top: 2px; }

/* ── 버튼 ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 3px;
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--fill { background: var(--진남색); color: #fff; }
.btn--fill:hover { background: #081735; }
.btn--line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .12); }
.btn--dark { border-color: var(--진남색); color: var(--진남색); }
.btn--dark:hover { background: var(--진남색); color: #fff; }
.btn--gold { background: var(--금); color: #fff; }
.btn--gold:hover { background: #967543; }
.btn--wide { width: 100%; padding: 17px 28px; font-size: 17px; }

/* ── 구역 공통 ────────────────────────────────────────── */

.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec--ivory { background: var(--아이보리); }
.sec--dark { background: var(--진남색); color: #fff; }

.shead { margin-bottom: clamp(28px, 4vw, 48px); }
.shead__eng {
  font-size: 12px; letter-spacing: .3em; color: var(--금); font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.shead__eng::after { content: ''; flex: 1; height: 1px; background: var(--선); }
.sec--dark .shead__eng::after { background: rgba(255, 255, 255, .2); }
.shead h2 { font-size: clamp(24px, 3.6vw, 38px); margin-top: 14px; }
.shead p { margin-top: 12px; color: var(--흐린먹); font-size: clamp(15px, 1.7vw, 17px); max-width: 46em; }
.sec--dark .shead p { color: rgba(255, 255, 255, .75); }

/* ── 서브 페이지 머리 ─────────────────────────────────── */

.phead { position: relative; background: var(--진남색); }
/* 글씨가 밝은 하늘 위에 얹히면 읽기 어려워집니다. 왼쪽을 한 겹 더 어둡게 깝니다. */
.phead::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(8, 16, 38, .72) 0%, rgba(8, 16, 38, .42) 45%, rgba(8, 16, 38, .10) 100%);
}
.phead__bg {
  width: 100%; height: clamp(220px, 34vh, 340px);
  object-fit: cover; object-position: 50% 30%; opacity: .55;
}
.phead__in {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
}
.phead__eng { font-size: 12px; letter-spacing: .3em; color: #d8c49a; font-weight: 600; }
.phead h1 { font-size: clamp(26px, 4.4vw, 44px); margin-top: 10px; }
.phead__lead { margin-top: 12px; color: rgba(255, 255, 255, .85); max-width: 40em; }

.pnav { border-bottom: 1px solid var(--선); background: #fff; }
.pnav__in { display: flex; align-items: center; gap: 2px; overflow-x: auto; }
.pnav__in::-webkit-scrollbar { display: none; }
.pnav__home { padding: 14px 14px 14px 0; color: var(--흐린먹); font-size: 16px; flex: none; }
.pnav__link {
  padding: 14px 16px; font-size: 15px; color: var(--흐린먹); white-space: nowrap; flex: none;
  border-bottom: 2px solid transparent;
}
.pnav__link.is-on { color: var(--남색); font-weight: 700; border-bottom-color: var(--남색); }

/* ── 메인: 큰 항목 목록 ───────────────────────────────── */

.menu__list { border-top: 1px solid var(--선); }
.menu__row {
  display: grid; grid-template-columns: 78px 1fr auto;
  align-items: center; gap: 20px;
  padding: 26px 4px; border-bottom: 1px solid var(--선);
  transition: background .15s;
}
.menu__row:hover { background: var(--아이보리); }
.menu__no { font-size: 13px; letter-spacing: .1em; color: var(--금); font-weight: 700; }
.menu__t { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.035em; }
.menu__d { color: var(--흐린먹); font-size: 15px; margin-top: 4px; }
.menu__go { font-size: 22px; color: var(--흐린먹); }
.menu__row:hover .menu__go { color: var(--남색); }

/* ── 사진 + 글 나란히 ─────────────────────────────────── */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.duo__fig { margin: 0; }
.duo__fig img { width: 100%; border-radius: 3px; }
.duo__cap { margin-top: 10px; font-size: 13px; color: var(--흐린먹); }

/* ── 표(개요) ─────────────────────────────────────────── */

.spec { border-top: 2px solid var(--진남색); }
.spec__row {
  display: grid; grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--선);
}
.spec__k {
  padding: 18px 20px; background: var(--아이보리);
  font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
}
.spec__v { padding: 18px 20px; font-size: 16px; }

/* ── 타입안내 ─────────────────────────────────────────── */

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  padding: 11px 22px; border: 1px solid var(--선); background: #fff; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--흐린먹); cursor: pointer;
  font-family: inherit; letter-spacing: -0.02em;
  transition: all .15s;
}
.tab:hover { border-color: var(--남색); color: var(--남색); }
.tab[aria-selected="true"] { background: var(--진남색); border-color: var(--진남색); color: #fff; }

.type[hidden] { display: none; }
.type__top { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.type__sheet { border: 1px solid var(--선); border-radius: 3px; overflow: hidden; }
.type__name { font-size: clamp(24px, 3vw, 34px); }
.type__sub { color: var(--금); font-weight: 600; font-size: 14px; letter-spacing: .04em; margin-top: 6px; }
.type__one { margin-top: 16px; color: var(--흐린먹); }
.type__nums { margin-top: 24px; border-top: 2px solid var(--진남색); }
.type__num {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 2px; border-bottom: 1px solid var(--선); font-size: 15px;
}
.type__num dt { color: var(--흐린먹); margin: 0; }
.type__num dd { margin: 0; font-weight: 700; }
.type__note { margin-top: 16px; font-size: 13px; color: var(--흐린먹); }

/* ── 입지 목록 ────────────────────────────────────────── */

.near { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--선); border: 1px solid var(--선); }
.near__it { background: #fff; padding: 24px 22px; }
.near__k { font-size: 12px; letter-spacing: .12em; color: var(--금); font-weight: 700; }
.near__t { font-size: 18px; font-weight: 700; margin-top: 8px; }
.near__d { color: var(--흐린먹); font-size: 15px; margin-top: 6px; }

/* ── 자주 묻는 질문 ───────────────────────────────────── */

.faq { border-top: 2px solid var(--진남색); }
.faq__it { border-bottom: 1px solid var(--선); }
.faq__it summary {
  list-style: none; cursor: pointer;
  padding: 20px 44px 20px 2px; position: relative;
  font-size: clamp(16px, 1.9vw, 18px); font-weight: 700; letter-spacing: -0.03em;
}
.faq__it summary::-webkit-details-marker { display: none; }
.faq__it summary::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--금); line-height: 1;
}
.faq__it[open] summary::after { content: '−'; }
.faq__it summary:hover { color: var(--남색); }
.faq__it > p { padding: 0 44px 22px 2px; color: var(--흐린먹); }

/* ── 등록 폼 ──────────────────────────────────────────── */

.form { max-width: 620px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.field > label .req { color: #b3261e; font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 14px 15px;
  border: 1px solid var(--선); border-radius: 3px; background: #fff;
  font-family: inherit; font-size: 16px; color: var(--먹);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--남색); outline: none; }

.agree {
  border: 1px solid var(--선); border-radius: 3px; background: var(--아이보리);
  padding: 16px 18px; font-size: 13px; line-height: 1.7; color: var(--흐린먹);
  max-height: 170px; overflow-y: auto; margin-bottom: 12px;
}
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; margin-bottom: 22px; }
.check input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--남색); }

.form__msg { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 1.6em; }
.form__msg.is-ok { color: #1a6b3c; }
.form__msg.is-bad { color: #b3261e; }

/* ── 하단 등록 배너 ───────────────────────────────────── */

.cta { background: var(--진남색); color: #fff; padding: clamp(52px, 7vw, 88px) 0; }
.cta__in { text-align: center; }
.cta__eng { font-size: 12px; letter-spacing: .3em; color: #d8c49a; font-weight: 600; }
.cta__head { font-size: clamp(22px, 3.2vw, 34px); margin-top: 14px; }
.cta__lead { margin-top: 12px; color: rgba(255, 255, 255, .8); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.cta__btns .btn--fill { background: var(--금); }
.cta__btns .btn--fill:hover { background: #967543; }

/* ── 푸터 ─────────────────────────────────────────────── */

.foot { background: #0a1329; color: rgba(255, 255, 255, .62); padding: 52px 0 120px; font-size: 14px; }
.foot__logo { width: 104px; margin-bottom: 18px; opacity: .85; }
.foot__name { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.foot__name span { color: var(--금); font-weight: 500; font-size: 13px; letter-spacing: .1em; margin-left: 8px; }
.foot__line { margin-bottom: 4px; }
.foot__links { margin: 16px 0; }
.foot__links a { text-decoration: underline; text-underline-offset: 3px; }
.foot__note { margin-top: 18px; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, .4); max-width: 60em; }

/* ── 떠 있는 전화 버튼 ────────────────────────────────── */

.floater {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--금); color: #fff; font-weight: 700; font-size: 17px;
  box-shadow: 0 10px 28px rgba(17, 21, 28, .28);
}
.floater__ico { font-size: 18px; }

/* ── 좁은 화면 ────────────────────────────────────────── */

@media (max-width: 900px) {
  .top__nav { display: none; }
  .top__burger { display: block; }
  .top__tel { margin-left: auto; }
  .top__tel strong { font-size: 17px; }

  .facts__in { grid-template-columns: 1fr 1fr; gap: 20px 0; padding: 22px 0; }
  .facts__it:nth-child(odd) { border-left: 0; padding-left: 0; }

  .duo, .type__top { grid-template-columns: 1fr; }
  .near { grid-template-columns: 1fr 1fr; }
  .spec__row { grid-template-columns: 116px 1fr; }
  .spec__k, .spec__v { padding: 14px 14px; font-size: 15px; }

  .menu__row { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 20px 2px; }
}

@media (max-width: 560px) {
  .wrap, .top__in { width: calc(100% - 32px); }
  .near { grid-template-columns: 1fr; }
  .hero__btns .btn, .cta__btns .btn { flex: 1 1 100%; }

  /* 좁은 화면에서는 떠 있는 버튼 대신 아래에 붙는 띠를 씁니다 */
  .floater {
    right: 0; left: 0; bottom: 0; border-radius: 0;
    justify-content: center; padding: 16px; box-shadow: none;
  }
  .foot { padding-bottom: 96px; }
}
