/* 트라움하우스 2·3·5차 단지전문 v2 — 시안 index.html 인라인 <style> 두 묶음 이식(2026-12-03).
 * 바꾼 것(값은 그대로, 범위만): 태그 선택자(h1·h2·section·dt·dd·figure·figcaption·table·th·td·form·fieldset·legend·input·details·summary·footer)를
 *   시안 자리(.hero-copy · .section-head · main#top>section · .photo-grid · .table-scroll · #consult-form · .faq · footer.ft)로 좁혔다
 *   (공용 큐레이팅 블록 .lxc 와 매물 문의 팝업·매물 상세에 시안 규칙이 번지지 않게).
 *   첫 화면 사진은 서버 폴더 주소라 Layout 밖 pages/index 가 인라인 background-image 로 넣는다 → .hero 의 background 줄임 표기를 위치·크기·반복으로 풀었다.
 * 더한 것: 파일 맨 끝 '이식 추가' 묶음(큐레이팅 블록 여백·색, 서브 페이지 머리 바탕, 매물 상세 여백, 푸터 지점 칸).
 * 남은 것: 시안 고정 실거래 표·목업 물건 카드용 규칙(.listing-card .listing-spec .listing-price .trade-summary .table-scroll …)은 쓰지 않지만 그대로 둔다. */
:root{--stone:#E9E1D3;--green:#2F3B2F;--gold:#A88B5A;--ink:#252821;--muted:#686a62;--paper:#fbfaf7;--line:#d9d4ca}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Pretendard",Arial,sans-serif;font-size:16px;line-height:1.65;word-break:keep-all}
img{display:block;max-width:100%}
a{color:inherit}
button,input,select{font:inherit}
.serif{font-family:"Gowun Dodum",sans-serif;letter-spacing:-.04em}
.wrap{width:min(1180px,calc(100% - 48px));margin:auto}
.topbar{position:absolute;z-index:2;top:0;left:0;width:100%;padding:26px 0;color:#fff}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center}
.brand{font-size:15px;letter-spacing:.08em}
.topbar nav{display:flex;gap:26px;font-size:14px}
.topbar a{text-decoration:none}
.hero{height:min(850px,100svh);min-height:680px;position:relative;color:white;background-position:center 48%;background-size:cover;background-repeat:no-repeat}
.hero:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(0deg,rgba(233,225,211,.97),rgba(233,225,211,.72) 35%,transparent);pointer-events:none}
.hero-copy{position:absolute;right:max(6vw,calc((100vw - 1180px)/2));bottom:122px;z-index:1;color:var(--green);max-width:620px}
.eyebrow{font-size:13px;letter-spacing:.16em;text-transform:uppercase}
.hero-copy h1{font-size:clamp(39px,5.5vw,72px);line-height:1.15;margin:18px 0 15px}
.hero-copy p{font-size:18px;margin:0 0 25px}
.actions{display:flex;gap:12px}
.btn{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:0 22px;border:1px solid var(--green);text-decoration:none;font-weight:650}
.btn.primary{background:var(--green);color:#fff}
.btn.light{background:rgba(255,255,255,.35)}
.numbers{position:relative;z-index:1;background:var(--stone);padding:0 0 50px}
.number-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(47,59,47,.25)}
.number{padding:28px 24px 0;border-right:1px solid rgba(47,59,47,.2)}
.number:last-child{border:0}
.number strong{font-size:38px;line-height:1.1;color:var(--green);display:block;font-weight:600}
.number span{font-size:14px;color:#50544b}
main#top>section{padding:112px 0}
.section-head{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:42px}
.kicker{color:var(--gold);font-size:13px;letter-spacing:.14em}
.section-head h2,.feature-copy h2,.consult h2{font-size:clamp(32px,4vw,51px);line-height:1.2;margin:12px 0 0;color:var(--green)}
.section-head p{margin:0;color:var(--muted);font-size:16px}
.intro{background:#fff}
.building-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.building{background:#f2efe8;padding:28px;border-top:2px solid var(--gold)}
.building .bnum{font-size:48px;line-height:1;color:var(--green)}
.building h3{font-size:22px;margin:14px 0 18px}
.building dl{margin:0;display:grid;grid-template-columns:90px 1fr;gap:8px 12px;font-size:14px}
:where(main#top) dt:where(:not(.lxc *)){color:var(--muted)}:where(main#top) dd:where(:not(.lxc *)){margin:0}
.area{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:14px}
.area strong{display:block;color:var(--green);font-size:20px}
.area-label{font-size:13px;color:var(--muted)}
.area-list{list-style:none;margin:6px 0 0;padding:0}
.area-list li{padding:9px 0;border-top:1px dashed var(--line)}
.area-list li:first-child{border-top:0;padding-top:2px}
.area-list strong{font-size:18px}
.area-list span{display:block;color:#55584f;font-size:14px}
.gallery{background:var(--stone)}
.photo-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px}
.photo-grid figure{margin:0;background:#fff}
.photo-grid figure img{width:100%;height:285px;object-fit:cover}
.photo-grid figure:first-child{grid-row:span 2}
.photo-grid figure:first-child img{height:584px}
.photo-grid figcaption{padding:12px 14px;color:#4f514b;font-size:12px;line-height:1.55}
.photo-note,.source{font-size:12px;color:#575a52;margin:18px 0 0}
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.feature-photo img{width:100%;height:520px;object-fit:cover}
.feature-copy h2{margin:12px 0 26px}
.feature-list{list-style:none;padding:0;margin:0}
.feature-list li{padding:15px 0;border-top:1px solid var(--line);font-size:17px}
.feature-list small{display:block;font-size:12px;color:var(--muted)}
.listing{background:#fff}
.listing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.listing-card{background:var(--green);color:#fff;padding:32px;display:flex;flex-direction:column;gap:18px}
.listing-card .label{font-size:13px;color:#d9c9a8}
.listing-card h3{font-size:24px;margin:8px 0 0}
.listing-card p{margin:0;color:#e1e4dc}
.listing-spec{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:14px;color:#e1e4dc}
.listing-spec dt{color:#d9c9a8}
.listing-price{margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.22)}
.listing-price strong{display:block;font-size:28px;line-height:1.25;font-weight:600;color:#fff}
.listing-price p{margin-top:6px;font-size:12px;color:#d9c9a8}
.listing-actions{margin-top:24px}
.trades{background:#f5f3ee}
.trade-summary{padding:24px 28px;border:1px solid var(--gold);margin-bottom:36px;display:flex;gap:28px;align-items:center}
.trade-summary strong{font-size:34px;color:var(--green);white-space:nowrap}
.trade-summary p{margin:0}
.building-trades{margin-top:44px}
.building-trades h3{font-size:25px;color:var(--green);margin:0 0 16px}
.table-scroll{overflow-x:auto}
.table-scroll table{width:100%;border-collapse:collapse;min-width:650px;font-size:13px;font-variant-numeric:tabular-nums}
.table-scroll th,.table-scroll td{padding:12px 10px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.table-scroll th{background:#ebe7de;color:#44473f;font-weight:650}
.table-scroll td:last-child,.table-scroll th:last-child{text-align:right}
.location{background:#fff}
.address-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.address-card{padding:24px;border:1px solid var(--line)}
.address-card strong{display:block;color:var(--green);font-size:20px;margin-bottom:8px}
.map-links{display:flex;gap:12px;margin-top:18px}
.map-links a{font-size:13px;color:var(--green);text-underline-offset:3px}
.consult{background:var(--stone)}
.consult-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px}
.phone{font-size:31px;color:var(--green);font-weight:650;text-decoration:none}
.hours{font-size:15px;color:var(--muted)}
#consult-form{background:#fff;padding:32px}
#consult-form fieldset{border:0;padding:0;margin:0}
#consult-form legend{font-size:20px;font-weight:650;color:var(--green);margin-bottom:20px}
.choices{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:24px}
.choices label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);padding:9px 12px;font-size:14px}
.field{display:grid;gap:7px;margin:16px 0}
.field label{font-size:14px}
#consult-form input[type=text],#consult-form input[type=tel]{height:48px;padding:0 12px;border:1px solid #bbb9b0;width:100%}
.consent{font-size:13px;display:flex;gap:9px;align-items:flex-start;margin:20px 0}
.submit{width:100%;cursor:pointer}
.form-message{min-height:24px;font-size:14px;color:var(--green)}
.faq{background:#fff}
.faq details{border-top:1px solid var(--line);padding:18px 0}
.faq summary{cursor:pointer;font-size:18px;font-weight:650;color:var(--green)}
.faq details p{margin:12px 0 0;color:#55584f}
footer.ft{background:var(--green);color:#f7f5ef;padding:56px 0 100px;font-size:13px}
footer .foot-top{display:flex;justify-content:space-between;gap:30px;padding-bottom:25px;border-bottom:1px solid rgba(255,255,255,.22)}
footer p{margin:9px 0}
footer .notice{max-width:920px;color:#e1e4dc;margin-top:22px}
.mobile-bar{display:none}
@media(max-width:760px){
  .wrap{width:calc(100% - 36px)}
  .topbar{padding:18px 0}.topbar nav{display:none}
  .hero{height:780px;min-height:0;background-position:56% center}
  .hero:after{inset:42% 0 0}
  .hero-copy{left:22px;right:22px;bottom:88px}
  .hero-copy h1{font-size:43px}.hero-copy p{font-size:16px}
  .number-grid{grid-template-columns:1fr}.number{padding:18px 4px;border-right:0;border-bottom:1px solid rgba(47,59,47,.2);display:flex;align-items:baseline;gap:14px}
  .number strong{font-size:32px;min-width:88px}
  .number span{font-size:13px}
  main#top>section{padding:76px 0}
  .section-head{grid-template-columns:1fr;gap:18px;margin-bottom:28px}
  .building-grid{grid-template-columns:1fr}
  .building{padding:24px}
  .photo-grid{grid-template-columns:1fr 1fr;gap:10px}
  .photo-grid figure:first-child{grid-column:1/-1;grid-row:auto}
  .photo-grid figure:first-child img{height:300px}
  .photo-grid figure img{height:180px}
  .photo-grid figcaption{padding:10px;font-size:12px}
  .feature-row{grid-template-columns:1fr;gap:26px}
  .feature-photo img{height:330px}
  .listing-grid{grid-template-columns:1fr}
  .listing-card{padding:26px}
  .listing-actions .btn{width:100%}
  .trade-summary{display:block;padding:20px}
  .trade-summary strong{display:block;margin-bottom:8px;font-size:29px}
  .address-grid{grid-template-columns:1fr}
  .consult-grid{grid-template-columns:1fr;gap:28px}
  #consult-form{padding:22px}
  footer .foot-top{display:block}
  footer.ft{padding-bottom:110px}
  .mobile-bar{display:grid;grid-template-columns:1fr 1fr;position:fixed;z-index:5;bottom:0;left:0;width:100%;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -3px 16px rgba(0,0,0,.12);gap:9px}
  .mobile-bar a{height:46px;display:grid;place-items:center;text-decoration:none;font-size:15px;font-weight:650}
  .mobile-bar a:first-child{border:1px solid var(--green);color:var(--green)}
  .mobile-bar a:last-child{background:var(--green);color:#fff}
}
  
/* hero-legibility-1202 */
.hero:after{inset:0;background:linear-gradient(270deg,rgba(233,225,211,.96) 0%,rgba(233,225,211,.88) 34%,rgba(233,225,211,.5) 54%,rgba(233,225,211,0) 72%),linear-gradient(0deg,rgba(233,225,211,.97) 0%,rgba(233,225,211,.55) 22%,rgba(233,225,211,0) 44%),linear-gradient(180deg,rgba(32,30,24,.5) 0%,rgba(32,30,24,0) 18%)}
.hero-copy h1,.hero-copy p,.hero-copy .eyebrow{text-shadow:0 0 18px rgba(233,225,211,.9),0 0 3px rgba(233,225,211,.9)}
@media (max-width:760px){.hero:after{background:linear-gradient(0deg,rgba(233,225,211,.98) 0%,rgba(233,225,211,.92) 44%,rgba(233,225,211,.6) 60%,rgba(233,225,211,0) 76%),linear-gradient(180deg,rgba(32,30,24,.55) 0%,rgba(32,30,24,0) 16%)}}

/* ── 이식 추가(2026-12-03) — 시안에 없던 자리 ── */
/* 물건·실거래 = 공용 큐레이팅 블록 */
.listing .lxc{margin-top:8px}
.building-trades .lxc,.trades .lxc{margin-top:8px}
/* 서브 페이지(매물 상세)에는 첫 화면 사진이 없다 → 머리(시안은 사진 위 흰 글씨)를 본문 위 짙은 띠로 */
.topbar.solid{position:static;background:var(--green)}
.pp-main{padding:40px 0 80px}
/* 푸터 '중개광고 주체'·'상담 지점' 칸 제목(상담 지점이 있는 단지만 나온다) */
footer.ft h4{margin:18px 0 0;font-size:13px;font-weight:650}
/* 큐레이팅 블록 색 토큰 — 테마 색(green·gold) */
html .lxc { --lx-gold: #2F3B2F; --lx-gold-em: #A88B5A; --lx-gold-tx: #A88B5A; --lx-gold-3: #f2efe8; --lx-teal: #2F3B2F; }
