/* 이수 더 써밋 — 네이버 검색광고용 모바일 전용 랜딩
   참고: 이수더써밋-대표홈페이지.kr 의 디자인 언어(다크 브라운 + 골드 + 명조 대형 카피)
   카피는 이미지에 굽지 않고 CG 위 HTML 텍스트로 얹는다. */

:root {
  --brown:      #4a3321;
  --brown-deep: #2b1d12;
  --gold:       #c9a96a;
  --gold-soft:  #e3d0ac;
  --navy:       #3f52a8;
  --ink:        #1a1a1a;
  --gray:       #6b6b6b;
  --line:       #e5e0d8;
  --bg:         #ffffff;
  --green:      #29c76f;
  --hd-h:       49px;
  --quick-h:    108px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Paperlogy, Pretendard, "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
.serif { font-family: "Noto Serif KR", serif; }

/* ── 헤더 ─────────────────────────────────────── */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--hd-h);
  display: grid; grid-template-columns: 56px 1fr 56px; align-items: center;
  background: var(--brown);
}
.hd__menu {
  background: none; border: 0; padding: 0;
  height: 100%; display: grid; align-content: center; gap: 5px; justify-items: center;
  cursor: pointer;
}
.hd__menu span { display: block; width: 26px; height: 2px; background: #fff; transition: .25s; }
.hd__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hd__logo { display: grid; place-items: center; }
.hd__logo img { height: 34px; width: auto; }
.hd__tel { display: grid; place-items: center; }
.hd__tel svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; }
.hd__tel svg path { fill: #fff; stroke: none; }

.nav {
  position: fixed; top: var(--hd-h); left: 0; right: 0; z-index: 55;
  background: var(--brown-deep); padding: 6px 0 14px;
}
.nav a {
  display: block; padding: 13px 22px; color: #fff; font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav a:last-child { border-bottom: 0; color: var(--gold-soft); }

/* ── 히어로 ───────────────────────────────────── */
/* 조감도는 무문구 CG이므로 어둡게 깔고 카피를 흰색으로 얹는다. */
.hero { position: relative; height: 82vh; min-height: 520px; background: var(--brown-deep); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,12,7,.72) 0%, rgba(18,12,7,.30) 46%, rgba(18,12,7,.66) 100%);
}
.hero__copy {
  position: absolute; inset: var(--hd-h) 0 auto 0; z-index: 2;
  padding: 30px 18px 0; text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero__h1 {
  margin: 0; font-size: 40px; line-height: 1.26; font-weight: 700; color: #fff;
  letter-spacing: -.02em;
}
.hero__h1 em { font-style: normal; font-size: 50px; color: var(--gold-soft); }
.hero__sub { margin: 16px 0 0; font-size: 16.5px; color: rgba(255,255,255,.9); }
.hero__sub b { color: var(--gold); font-weight: 700; }
.hero__rule { display: block; width: 1px; height: 26px; margin: 14px auto; background: rgba(255,255,255,.6); }
.hero__logo { width: 88px; margin: 0 auto; opacity: .95; }

/* ── 브라운 띠 ────────────────────────────────── */
.band {
  background: var(--brown-deep);
  display: flex; align-items: center; gap: 14px;
  padding: 22px 20px;
}
.band__logo { width: 54px; flex: none; opacity: .9; }
.band__t { margin: 0; color: #fff; font-size: 25px; font-weight: 700; letter-spacing: -.01em; }
.band__s { margin: 3px 0 0; color: var(--gold-soft); font-size: 14px; }
.band__s i { font-family: "Noto Serif KR", serif; font-size: 16px; }

/* ── 공통 섹션 ────────────────────────────────── */
.sec { padding: 46px 18px; }
.sec--navy  { background: var(--navy); color: #fff; }
.sec--dark  { background: var(--brown-deep); color: #fff; }
.sec--form  { background: #f7f4ef; }

.eyebrow {
  margin: 0 0 10px; text-align: center;
  font-size: 12px; letter-spacing: .28em; font-weight: 600;
  color: var(--gold);
}
.sec--navy .eyebrow, .sec--dark .eyebrow { color: var(--gold-soft); }
.gold { color: var(--gold); font-family: "Noto Serif KR", serif; font-size: 17px; letter-spacing: .1em; }

.sec__h2 {
  margin: 0 0 16px; text-align: center;
  font-size: 27px; line-height: 1.4; font-weight: 700; letter-spacing: -.02em;
}
.sec__p { margin: 0 0 22px; text-align: center; font-size: 15px; color: var(--gray); }
.sec--navy .sec__p, .sec--dark .sec__p { color: rgba(255,255,255,.8); }
.sec__img { width: 100%; border-radius: 4px; margin-bottom: 12px; }

.facts {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.facts li { background: #fff; padding: 16px 8px; text-align: center; }
.facts b { display: block; font-size: 26px; font-weight: 700; color: var(--brown); font-family: "Noto Serif KR", serif; }
.facts span { font-size: 13px; color: var(--gray); }

/* 4대 핵심가치 — 기존 랜딩의 아이콘 박스 4개를 2x2로 옮긴 것 */
.vals {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.vals li {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px; padding: 16px 12px; text-align: center;
  display: flex; flex-direction: column; gap: 7px;
}
.vals__k {
  font-family: "Noto Serif KR", serif;
  font-size: 18px; font-weight: 700; color: var(--gold-soft);
}
.vals__d { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.86); }
.vals__img { margin-top: 14px; margin-bottom: 0; }

/* 글씨·도면이 박힌 슬라이드 원본. 절대 자르지 않고, 눌러서 확대한다. */
.zoom { cursor: zoom-in; }

.unit { border: 1px solid var(--line); border-radius: 4px; padding: 14px; margin-bottom: 14px; background: #fff; }
.unit__t { margin: 0 0 10px; text-align: center; font-family: "Noto Serif KR", serif; font-size: 17px; letter-spacing: .12em; color: var(--gray); }
.unit__t b { color: var(--brown); font-size: 21px; }
.note { margin: 6px 0 0; font-size: 12.5px; color: var(--gray); text-align: center; }

/* ── CTA 브리지 ───────────────────────────────── */
.bridge { position: relative; background: var(--brown-deep); height: 460px; overflow: hidden; }
.bridge__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .40; }
.bridge__copy {
  position: absolute; inset: 0;
  display: grid; align-content: center; justify-items: center; gap: 6px;
  padding: 0 20px; text-align: center; color: #fff;
}
.script { margin: 0; font-family: "Noto Serif KR", serif; font-style: italic; font-size: 14px; color: var(--gold-soft); letter-spacing: .06em; }
.bridge__t { margin: 0; font-size: 28px; font-weight: 700; }
.bridge__s { margin: 0 0 14px; font-size: 14px; color: rgba(255,255,255,.85); }

/* ── 버튼 ─────────────────────────────────────── */
.btn {
  display: block; width: 100%; max-width: 320px;
  min-height: 56px; line-height: 56px;
  border: 0; border-radius: 4px; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 700; text-align: center;
}
.btn--gold   { background: var(--gold); color: #2b1d12; }
.btn--submit { background: var(--brown); color: #fff; margin: 18px auto 0; }

/* ── 폼 ───────────────────────────────────────── */
.fld { display: block; margin-bottom: 14px; }
.fld > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.fld i { color: #c0392b; font-style: normal; }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid #d8d2c8; border-radius: 4px; background: #fff;
  font-family: inherit; font-size: 16px; color: var(--ink);
}
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }

/* 동의 — 체크만으로 신청되고, 약관 전문은 접어둔다 */
.agreeRow { margin-top: 6px; }
.agree { display: flex; gap: 9px; align-items: center; font-size: 14.5px; cursor: pointer; }
.agree input { width: 21px; height: 21px; flex: none; accent-color: var(--brown); }
.agree b { color: #c0392b; }

.policy { font-size: 13px; margin-left: 30px; }  /* 체크박스 글자와 맞춤 */
.policy > summary {
  list-style: none; cursor: pointer; color: var(--gray);
  text-decoration: underline; text-underline-offset: 3px;
  padding: 6px 2px;            /* 터치 영역 확보 */
  display: inline-block;
}
.policy > summary::-webkit-details-marker { display: none; }
.policy[open] > summary { color: var(--brown); }
.policy__body {
  margin-top: 8px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  font-size: 12.5px; line-height: 1.7; color: var(--gray);
  flex-basis: 100%;
}
.policy__body p { margin: 0 0 4px; }
.policy__body p:last-child { margin-bottom: 0; }

/* 허니팟 — 사람에게 보이지 않지만 봇은 채운다 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.formMsg { margin: 12px 0 0; text-align: center; font-size: 14.5px; min-height: 22px; }
.formMsg.ok  { color: #1c7d4d; font-weight: 600; }
.formMsg.err { color: #c0392b; font-weight: 600; }

/* ── 푸터 ─────────────────────────────────────── */
.ft {
  background: var(--brown-deep); color: rgba(255,255,255,.8);
  padding: 34px 20px calc(24px + var(--quick-h));
  text-align: center; font-size: 13px;
}
.ft img { width: 96px; margin: 0 auto 14px; opacity: .9; }
.ft p { margin: 0 0 6px; }
.ft__tel a { font-family: "Noto Serif KR", serif; font-size: 19px; color: var(--gold-soft); font-weight: 600; }
.ft__note { margin-top: 16px; font-size: 11.5px; line-height: 1.7; color: rgba(255,255,255,.5); }

/* ── 확대 뷰 ──────────────────────────────────
   375px 화면에 1920px 슬라이드를 욱여넣으면 글씨가 안 읽힌다.
   원본 폭 그대로 띄우고 가로로 밀어서 보게 한다. */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12,8,4,.94); }
.lb__scroll {
  position: absolute; inset: 0; overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; align-items: center;
}
.lb__scroll img { max-width: none; width: 1100px; height: auto; }
.lb__x {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer;
}
body.lb-open { overflow: hidden; }

/* ── 핵심토지 확보완료 진입 팝업 ───────────────── */
.newsPopup {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 7vh 0;
  background: rgba(18, 12, 7, .78);
}
.newsPopup[hidden] { display: none; }
.newsPopup__panel {
  position: relative;
  width: min(86vw, 340px); max-height: 86vh;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 24px 18px 16px;
  background: var(--brown-deep); color: #fff;
  border: 1px solid rgba(201, 169, 106, .58);
  border-radius: 6px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .48);
}
.newsPopup__x {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--gold-soft);
  font: 300 30px/1 Paperlogy, sans-serif; cursor: pointer;
}
.newsPopup__head { text-align: center; }
.newsPopup__logo { width: 82px; margin: 0 auto 15px; }
.newsPopup__eyebrow {
  margin: 0 0 2px; color: var(--gold-soft);
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
}
.newsPopup__title {
  margin: 0; color: #fff;
  font-size: 29px; line-height: 1.32; letter-spacing: -.025em;
}
.newsPopup__area {
  margin: 3px 0 17px; color: var(--gold);
  font-size: 17px; font-weight: 600; letter-spacing: .03em;
}
.newsPopup__area strong {
  font-family: "Noto Serif KR", serif; font-size: 25px;
}
.newsPopup__article {
  padding: 15px 14px;
  background: #fff; color: var(--ink);
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}
.newsPopup__meta {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
  color: var(--gray); font-size: 11px; letter-spacing: .02em;
}
.newsPopup__meta span { color: var(--brown); font-weight: 700; }
.newsPopup__article h3 {
  margin: 11px 0 9px;
  color: var(--brown-deep); font-size: 18px; line-height: 1.45;
  letter-spacing: -.025em;
}
.newsPopup__article p {
  margin: 0; color: #4f4a44;
  font-size: 12.5px; line-height: 1.7; word-break: normal;
}
.newsPopup__actions { display: grid; gap: 8px; margin-top: 13px; }
.newsPopup__btn {
  display: grid; place-items: center;
  width: 100%; min-height: 52px; padding: 10px 12px;
  border: 1px solid var(--gold); border-radius: 4px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  line-height: 1.3; text-align: center; cursor: pointer;
}
.newsPopup__btn--article { background: transparent; color: var(--gold-soft); }
.newsPopup__btn--reserve { background: var(--gold); color: var(--brown-deep); }
.newsPopup__footer {
  display: flex; justify-content: center; align-items: center; gap: 11px;
  margin-top: 13px; color: rgba(255, 255, 255, .42);
}
.newsPopup__footer button {
  min-height: 32px; padding: 4px 2px;
  border: 0; background: transparent; color: rgba(255, 255, 255, .76);
  font-family: inherit; font-size: 12.5px; cursor: pointer;
}
body.newsPopup-open { overflow: hidden; }

/* ── 하단 고정 퀵버튼 ─────────────────────────── */
.quick {
  position: fixed; z-index: 60;
  left: 14px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid; gap: 10px;
}
.quick__btn {
  width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}
.quick__btn svg { width: 28px; height: 28px; fill: #fff; }
.quick__btn--tel  { background: var(--green); }
.quick__btn--form { background: var(--gold); }
.quick__btn--form svg { fill: #2b1d12; }

/* ── 데스크톱: 모바일 폭 그대로 가운데 정렬 ─────
   네이버 검색광고는 모바일이 주력이지만 PC 노출도 있으므로 깨지지 않게만 한다. */
@media (min-width: 560px) {
  body { background: #1a120b; }
  .hd   { left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: 480px; }
  .nav  { left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: 480px; }
  main  { max-width: 480px; margin: 0 auto; background: #fff; }
  .quick { left: calc(50% - 240px + 14px); }
  .hero { height: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
