/* ================================================================
   사각형 디자인 + 관심고객등록 (사용자 기준, 2026-10-21)
   - 둥근 칩/알약 모양 금지 → 버튼·탭·카드·이미지 모두 직각
   - 탭: 붙어 있는 사각 박스 행, 선택 탭은 주 색상으로 채움
   - 관심고객등록: 어두운 그라데이션 배경, 왼쪽 안내+대표번호, 오른쪽 흰 박스 폼(밑줄 입력칸)
   - 우측 하단 플로팅 '분양문의' 버튼은 기존 모양 유지
   ================================================================ */
:root { --reg-dark1: #6e1824; --reg-dark2: #2c070d; --reg-gold: #d6b98a; } /* 등록 영역 배경 (현장 주 색상 계열) */

/* 버튼 */
.btn-primary, .btn-line, .btn-submit { border-radius: 0 !important; box-shadow: none !important; }
.btn-primary { background: var(--main); color: #fff; border: 1px solid var(--main); min-width: 160px; padding: 15px 26px; font-weight: 600; }
.btn-line { background: rgba(0,0,0,.28); color: #fff; border: 1px solid rgba(255,255,255,.85); min-width: 160px; padding: 15px 26px; font-weight: 600; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-line:hover { background: rgba(0,0,0,.4); }

/* 탭: 붙어 있는 사각 박스 */
.tab-list { gap: 0; }
.tab-btn {
  border-radius: 0; border: 1px solid #d9d9d9; margin-left: -1px;
  background: #fff; color: #555; font-weight: 600; min-width: 140px; padding: 15px 24px;
}
.tab-btn:first-child { margin-left: 0; }
.tab-btn:hover { background: #fafafa; color: var(--main); }
.tab-btn.is-active { background: var(--main); border-color: var(--main); color: #fff; position: relative; z-index: 1; }
.tabs.sub .tab-btn { border-radius: 0; min-width: 96px; padding: 10px 18px; border-color: #d9d9d9; color: #666; background: #fff; }
.tabs.sub .tab-btn.is-active { background: var(--point); border-color: var(--point); color: #fff; }

/* 카드·이미지 모서리 */
.card, .card-img, .pcard, .biz-img, .agree-detail p { border-radius: 0 !important; }
.figure img { box-shadow: 0 10px 30px rgba(0,0,0,.06); }

/* ===== 관심고객등록 ===== */
.register { background: linear-gradient(120deg, var(--reg-dark1) 0%, var(--reg-dark2) 100%); color: #fff; padding: 100px 0; }
.reg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; }
.reg-copy { padding-left: 8%; }
.reg-copy .eyebrow { display: block; color: var(--reg-gold); font-size: 13px; font-weight: 700; letter-spacing: .25em; margin-bottom: 18px; }
.reg-copy h2 { margin: 0 0 22px; font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.reg-copy p { margin: 0 0 34px; color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.75; }
.reg-tel { color: var(--reg-gold); font-size: 36px; font-weight: 800; letter-spacing: -.01em; }
.reg-box { background: #fff; color: var(--text); padding: 48px 48px 44px; }
.reg-box .reg-form { gap: 26px; }
.reg-box .field span { font-size: 14px; font-weight: 700; color: #222; }
.reg-box .field input, .reg-box .field textarea {
  border: 0; border-bottom: 1px solid #bdbdbd; border-radius: 0; padding: 12px 4px; background: transparent; font-size: 16px;
}
.reg-box .field input:focus, .reg-box .field textarea:focus { outline: 0; border-bottom: 2px solid var(--reg-dark1); }
.reg-box .agree { font-size: 13px; color: #444; }
.reg-box .btn-submit { background: var(--reg-dark1); padding: 18px; font-size: 15px; font-weight: 700; margin-top: 4px; }
.reg-box .form-msg { margin-top: -8px; }

@media (max-width: 900px) {
  .register { padding: 64px 0; }
  .reg-wrap { grid-template-columns: 1fr; gap: 34px; }
  .reg-copy { padding-left: 0; text-align: center; }
  .reg-copy h2 { font-size: 30px; }
  .reg-copy p { font-size: 15px; margin-bottom: 18px; }
  .reg-tel { font-size: 28px; }
  .reg-box { padding: 32px 22px 28px; }
}
@media (max-width: 768px) {
  .tab-list { flex-wrap: wrap; }
  .tab-btn { min-width: 0; flex: 1 1 33.33%; padding: 12px 6px; font-size: 14px; margin: 0 0 -1px -1px; }
  .tab-btn:first-child { margin-left: -1px; }
  .tab-list { padding-left: 1px; }
  .tabs.sub .tab-btn { flex: 1 1 0; }
  .btn-primary, .btn-line { min-width: 0; }
  /* 모바일 메인은 흰 배경 위 글자 → 보조 버튼을 주 색상 테두리로 */
  .btn-line { background: #fff; color: var(--main); border-color: var(--main); }
}

/* ===== 메인: 화면 꽉 채움 + 왼쪽 어두운 그라데이션 (사용자 기준 2026-10-21) ===== */
.hero { position: relative; height: clamp(520px, 74vh, 820px); background: #1a2029; overflow: hidden; }
.hero::before { display: none !important; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 65%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12,18,28,.78) 0%, rgba(12,18,28,.55) 30%, rgba(12,18,28,.18) 58%, rgba(12,18,28,0) 80%),
    linear-gradient(0deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 30%);
}
.hero-copy {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(1200px, 100%); padding: 0 40px; color: #fff; text-shadow: none; text-align: left;
}
.hero-kicker { color: var(--reg-gold, #d6b98a); font-size: 18px; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.hero-copy h1 { font-size: 58px; font-weight: 800; letter-spacing: -.035em; line-height: 1.18; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 18px; margin: 14px 0 30px; }

@media (max-width: 768px) {
  .hero { height: auto; background: #fff; }
  .hero::after { display: none; }
  .hero-img { position: static; height: auto; object-fit: initial; }
  .hero-copy {
    position: static; transform: none; width: auto; padding: 22px 20px 26px;
    color: var(--text); text-align: center; background: #fff;
  }
  .hero-kicker { color: var(--main); font-size: 15px; margin-bottom: 4px; }
  .hero-copy h1 { font-size: 27px; }
  .hero-sub { color: var(--muted); font-size: 14px; margin: 8px 0 16px; }
}
/* ===== 섹션 제목 크게 (사용자 요청 2026-10-21) ===== */
.sec-head > span { font-size: 15px; letter-spacing: .26em; margin-bottom: 10px; }
.sec-title { font-size: 46px; letter-spacing: -.035em; }
.sec-title::after { width: 40px; margin-top: 18px; }
@media (max-width: 768px) {
  .sec-head > span { font-size: 13px; }
  .sec-title { font-size: 31px; }
}

/* ===== 메뉴 클릭 모션: 섹션 내용이 아래에서 올라오며 나타남 / 탭 전환 페이드 ===== */
@keyframes secReveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes tabFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.reveal { animation: secReveal .75s cubic-bezier(.2,.7,.2,1) both; }
.reveal .sec-head { animation: secReveal .6s cubic-bezier(.2,.7,.2,1) both; }
.tab-panel.is-active.fade-in { animation: tabFade .45s ease both; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal .sec-head, .tab-panel.is-active.fade-in { animation: none; }
}
/* ===== 푸터: 왼쪽 현장명·위치·대표번호 / 오른쪽 관리자·사업자 (사용자 기준 2026-10-21) ===== */
.site-footer { text-align: left; padding: 56px 0 100px; color: #a3a3a3; font-size: 14px; }
.site-footer .footer-logo { margin: 0 0 26px; height: 34px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 26px; border-bottom: 1px solid #353535; }
.foot-grid dl { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-grid dl > div { display: flex; line-height: 1.6; }
.foot-grid dt { flex: none; color: #d2d2d2; }
.foot-grid dt::after { content: " : "; white-space: pre; color: #8a8a8a; }
.foot-grid dd { margin: 0; color: #a3a3a3; }
.foot-grid dd a { color: #a3a3a3; }
.foot-grid i { font-style: normal; margin: 0 8px; color: #5a5a5a; }
.site-footer .footer-note { margin: 20px 0 0; font-size: 12px; color: #6f6f6f; }
@media (max-width: 768px) {
  .site-footer { padding: 40px 0 96px; font-size: 13px; }
  .site-footer .footer-logo { height: 28px; margin-bottom: 20px; }
  .foot-grid { flex-direction: column; gap: 9px; padding-bottom: 20px; }
  .foot-grid dl > div { flex-wrap: wrap; }
}
/* ===== 우측 상단 대표번호 강조 (2026-10-21) ===== */
.header-call {
  display: flex; align-items: center; gap: 10px; right: 20px;
  background: var(--main); color: #fff; padding: 8px 18px 8px 14px; font-size: inherit;
  box-shadow: 0 6px 16px rgba(0,0,0,.12); transition: filter .2s;
}
.header-call:hover { filter: brightness(1.12); }
.header-call svg { flex: none; animation: callRing 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
.hc-text { display: flex; flex-direction: column; line-height: 1.12; }
.hc-text small { font-size: 11px; font-weight: 600; opacity: .85; letter-spacing: .06em; }
.hc-text strong { font-size: 21px; font-weight: 800; letter-spacing: .01em; }
@keyframes callRing { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-8deg); } 86% { transform: rotate(6deg); } 90% { transform: rotate(0); } }

/* ===== 메뉴 드롭다운 (마우스 올리면 흰 패널이 내려오며 전체 하위메뉴 표시) ===== */
.gnb .sub { display: none; }
.mega-bg { display: none; }
@media (min-width: 769px) {
  .gnb > ul { overflow: visible; }
  .gnb > ul > li { position: relative; }
  .gnb .sub {
    display: flex; flex-direction: column; gap: 2px; list-style: none;
    position: absolute; top: 100%; left: 50%; z-index: 2;
    margin: 0; padding: 18px 0 0; max-width: none; overflow: visible; justify-content: flex-start;
    opacity: 0; visibility: hidden; transform: translate(-50%, -10px);
    transition: opacity .25s, transform .3s, visibility 0s .3s;
  }
  .site-header.mega-open .gnb .sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity .35s .1s, transform .4s .1s cubic-bezier(.2,.7,.2,1), visibility 0s;
  }
  .gnb .sub a { padding: 6px 12px; font-size: 14px; font-weight: 500; color: #6b6b6b; text-align: center; white-space: nowrap; }
  .gnb .sub a::after { display: none; }
  .gnb .sub a:hover, .gnb .sub a.is-active:hover { color: var(--main); font-weight: 700; }
  .gnb .sub a.is-active { color: #6b6b6b; }
  .mega-bg {
    display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 1; height: 0; overflow: hidden;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.08);
    transition: height .35s cubic-bezier(.2,.7,.2,1); pointer-events: none;
  }
  .site-header.mega-open .mega-bg { height: var(--mega-h, 200px); }
}

/* 하위메뉴 클릭 시 하얗게 전환 */
.page-fade { position: fixed; inset: 0; z-index: 99; background: #fff; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.page-fade.on { opacity: 1; }

/* ===== 접속/새로고침 시 메인 연출 ===== */
@keyframes heroZoom { from { opacity: 0; transform: scale(1.14); } to { opacity: 1; transform: scale(1); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes headerDown { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes fadeInOnly { from { opacity: 0; } to { opacity: 1; } }
.intro .site-header { animation: headerDown .8s .15s cubic-bezier(.2,.7,.2,1) both; }
.intro .hero-img { animation: heroZoom 2.4s cubic-bezier(.2,.6,.2,1) both; }
.intro .hero::after { animation: fadeInOnly 1.2s .5s both; }
.intro .hero-kicker { animation: heroUp .9s .9s cubic-bezier(.2,.7,.2,1) both; }
.intro .hero-copy h1 { animation: heroUp .9s 1.1s cubic-bezier(.2,.7,.2,1) both; }
.intro .hero-sub { animation: heroUp .9s 1.3s cubic-bezier(.2,.7,.2,1) both; }
.intro .hero-btns { animation: heroUp .9s 1.5s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .intro .site-header, .intro .hero-img, .intro .hero::after, .intro .hero-kicker, .intro .hero-copy h1,
  .intro .hero-sub, .intro .hero-btns, .header-call svg { animation: none; }
}

@media (max-width: 768px) {
  .header-call { display: flex; right: 12px; padding: 9px; box-shadow: none; }
  .header-call .hc-text { display: none; }
}
/* ===== 하위 탭(84A·84B 등): 주 색상과 같은 계열의 밝은 톤으로 구분 (2026-10-21) ===== */
:root { --sub: #b4505d; --sub: color-mix(in srgb, var(--main) 68%, #ffffff); }
.tabs.sub .tab-btn { color: #6b6b6b; border-color: #e2cfd2; background: #fff; }
.tabs.sub .tab-btn:hover { color: var(--main); background: #fbf5f6; }
.tabs.sub .tab-btn.is-active { background: var(--sub); border-color: var(--sub); color: #fff; }

/* ===== 포인트 카드 (이미지 속 글씨 대신 카드로) ===== */
.point-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: var(--figure-max); margin: 28px auto 0; }
.point-grid .pcard { padding: 26px 22px; }
.point-grid .pcard b { font-size: 30px; }
.point-grid .pcard h3 { margin-top: 14px; font-size: 18px; }
.point-grid .pcard p { font-size: 14.5px; }
@media (max-width: 1024px) { .point-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .point-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; } }
/* ===== 메인 그라데이션: 진한 붉은색 (현장 브랜드 버건디) ===== */
.hero::after {
  background:
    linear-gradient(90deg, rgba(52,10,16,.9) 0%, rgba(58,12,19,.66) 30%, rgba(58,12,19,.24) 58%, rgba(58,12,19,0) 82%),
    linear-gradient(0deg, rgba(28,6,10,.38) 0%, rgba(28,6,10,0) 32%);
}
.hero-kicker { color: #f1d9a8; }

/* ===== 사업안내: 사진과 표 균형 ===== */
@media (min-width: 1025px) {
  .biz-grid { grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: stretch; }
  .biz-img { height: 100%; }
  .biz-img img { width: 100%; height: 100%; object-fit: cover; }
}
.biz-grid .info-table th, .biz-grid .info-table td { padding: 11px 16px; font-size: 15px; line-height: 1.55; }
.biz-grid .info-table .sub { font-size: 14px; }
/* ===== 이미지 위 소개 카드 (이미지 속 제목·설명 대신) ===== */
.intro-card {
  max-width: var(--figure-max); margin: 0 auto 22px; padding: 26px 30px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--main);
}
.intro-card em { display: block; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--point); margin-bottom: 8px; }
.intro-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--main); letter-spacing: -.02em; }
.intro-card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 768px) { .intro-card { padding: 20px 18px; } .intro-card h3 { font-size: 18px; } }
/* ===== 메인: 그라데이션 없음, 글씨 뒤 그림자 (사용자 기준 2026-10-21) ===== */
.hero::after { display: none !important; }
@media (min-width: 769px) {
  .hero-copy { text-shadow: 0 2px 6px rgba(0,0,0,.35), 0 4px 22px rgba(0,0,0,.45), 0 0 48px rgba(0,0,0,.25); }
  .hero-kicker { color: #fff; }
  .hero-sub { color: #fff; }
  .hero-btns a { text-shadow: none; }
}
/* ===== 큰 글씨 메인 (참고: 큰 2줄 문구 + 작은 영문 + 얇은 선 + 정보) 2026-10-21 ===== */
.hero-kicker { font-size: 14px !important; font-weight: 700; letter-spacing: .32em !important; margin-bottom: 22px !important; }
.hero-copy h1 { font-size: clamp(52px, 5.6vw, 84px) !important; line-height: 1.16 !important; letter-spacing: -.04em !important; font-weight: 800; }
.hero-sub {
  display: inline-block; margin: 26px 0 34px !important; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.7); font-size: 18px !important;
}
.hero-sub strong { font-weight: 800; }
.hero-btns .btn-primary, .hero-btns .btn-line { min-width: 180px; padding: 17px 28px; font-size: 16px; }

/* ===== 관심고객등록 글씨 크게 ===== */
.reg-copy .eyebrow { font-size: 15px; margin-bottom: 22px; }
.reg-copy h2 { font-size: clamp(44px, 4.4vw, 64px); margin-bottom: 26px; }
.reg-copy p { font-size: 20px; line-height: 1.7; margin-bottom: 38px; }
.reg-tel { font-size: clamp(40px, 3.8vw, 56px); }

/* ===== 로고 영역 위아래로 넓게 ===== */
.header-top { height: 100px; }
.logo img { height: 58px; }

@media (max-width: 768px) {
  .hero-kicker { font-size: 11px !important; letter-spacing: .22em !important; margin-bottom: 8px !important; }
  .hero-copy h1 { font-size: 34px !important; }
  .hero-sub { margin: 14px 0 18px !important; padding-top: 12px; border-top-color: var(--line); font-size: 14px !important; }
  .hero-btns .btn-primary, .hero-btns .btn-line { min-width: 0; padding: 13px 10px; font-size: 15px; }
  .reg-copy h2 { font-size: 36px; }
  .reg-copy p { font-size: 16px; margin-bottom: 20px; }
  .reg-tel { font-size: 34px; }
  .header-top { height: 70px; }
  .logo img { height: 40px; }
}
/* 큰 문구가 건물과 겹치지 않도록: 글 위치 위로, 사진은 하늘 쪽을 더 보이게 */
@media (min-width: 769px) {
  .hero-copy { top: 43%; }
  .hero-img { object-position: center 30%; }
}
@media (max-width: 768px) { .hero-kicker { color: var(--point) !important; } }
/* ===== 메인 문구: 정적인 톤 (가는 명조체, 낮은 대비 그림자, 느린 등장) 2026-10-21 ===== */
.hero-copy h1 {
  font-family: "Noto Serif KR", "Nanum Myeongjo", serif !important;
  font-weight: 300 !important; letter-spacing: -.01em !important; line-height: 1.28 !important;
  font-size: clamp(44px, 4.6vw, 70px) !important;
}
.hero-kicker { font-family: "Noto Serif KR", serif; font-weight: 400; font-size: 13px !important; letter-spacing: .4em !important; opacity: .92; }
.hero-sub { font-weight: 400; letter-spacing: .01em; }
.hero-sub strong { font-weight: 500; }
@media (min-width: 769px) {
  .hero-copy { text-shadow: 0 1px 3px rgba(0,0,0,.28), 0 2px 18px rgba(0,0,0,.32); }
  .hero-sub { font-size: 16px !important; opacity: .95; }
}
@keyframes heroCalm { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intro .hero-kicker { animation: heroCalm 1.6s 1.0s ease both; }
.intro .hero-copy h1 { animation: heroCalm 1.8s 1.3s ease both; }
.intro .hero-sub { animation: heroCalm 1.6s 1.8s ease both; }
.intro .hero-btns { animation: heroCalm 1.6s 2.1s ease both; }
@media (max-width: 768px) {
  .hero-copy h1 { font-size: 32px !important; font-weight: 400 !important; }
}
/* ===== 메인 문구 굵게 (명조체 600) + 작은 리드 문구 ===== */
.hero-copy h1 { font-weight: 600 !important; font-size: clamp(42px, 4.3vw, 66px) !important; line-height: 1.3 !important; }
.hero-lead { margin: 0 0 14px; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.intro .hero-lead { animation: heroCalm 1.6s 1.15s ease both; }
@media (max-width: 768px) {
  .hero-copy h1 { font-size: 29px !important; font-weight: 600 !important; }
  .hero-lead { font-size: 15px; margin-bottom: 6px; color: var(--muted); }
}
/* ===== 움직이는 하늘 (하늘 판이 뒤에서 천천히 흐르고, 건물 이미지는 고정) 2026-10-22 ===== */
.hero { background: #8ec9f4; }
.hero-sky { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-sky-track {
  position: absolute; left: 0; top: var(--sky-top, 0px); height: var(--sky-h, 100%);
  width: calc(100% + var(--tile-w, 1316px) + 2px);
  background: url(../assets/hero-sky.jpg) repeat-x left top / auto 100%;
  animation: skyDrift var(--sky-dur, 90s) linear infinite; will-change: transform;
}
@keyframes skyDrift { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--tile-w, 1316px))); } }
.hero-img { z-index: 1; }
.intro .hero-sky { animation: heroZoom 2.4s cubic-bezier(.2,.6,.2,1) both; }
@media (max-width: 768px) { .hero-img { position: relative; } }
@media (prefers-reduced-motion: reduce) { .hero-sky-track { animation: none; } }

/* ===== 메인 문구 색: 밝은 하늘 위에서 잘 보이도록 진한 색 ===== */
@media (min-width: 769px) {
  .hero-copy { color: #14202e; text-shadow: 0 0 2px rgba(255,255,255,.55), 0 0 24px rgba(255,255,255,.7); }
  .hero-copy h1 { color: var(--hero-title, #5c0d1b); }
  .hero-kicker { color: var(--main) !important; opacity: 1; }
  .hero-lead, .hero-sub { color: #14202e !important; }
  .hero-sub { border-top-color: rgba(20,32,46,.45); }
  .hero-btns .btn-line { background: rgba(255,255,255,.9); color: var(--main); border-color: var(--main); text-shadow: none; }
  .hero-btns .btn-line:hover { background: #fff; }
}
@media (max-width: 768px) { .hero-copy h1 { color: var(--hero-title, #5c0d1b); } }

/* ===== 본문 표(세대수·동호 배치표) ===== */
.unit-block { max-width: var(--figure-max); margin: 0 auto 44px; }
.unit-title { margin: 0 0 14px; font-size: 22px; font-weight: 800; color: #222; letter-spacing: -.02em; }
.unit-title small { font-size: 16px; font-weight: 500; color: var(--muted); }
.type-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.type-table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; border-top: 2px solid #333; text-align: center; font-size: 16px; }
.type-table.small { max-width: 640px; font-size: 15px; }
.type-table th, .type-table td { padding: 11px 8px; border: 1px solid #d9d9d9; }
.type-table tbody th { background: #ececec; font-weight: 700; width: 18%; }
.type-table thead th:first-child { background: #ececec; }
.type-table thead th { font-weight: 700; color: #222; }
.type-table .t68 { background: #b5d18a; } .type-table .t84a { background: #ffe27a; } .type-table .t84b { background: #89bfe6; }
.type-table .t84c { background: #b9a3d3; } .type-table .t159 { background: #ef8a85; }
.type-table tr.total td { font-weight: 800; }

/* (현장 전용 블록) */
.myhills-head { max-width: var(--figure-max); margin: 0 auto 22px; text-align: center; }
.myhills-head h3 { margin: 0 0 6px; font-size: 40px; font-weight: 800; color: #8c1220; letter-spacing: -.02em; }
.myhills-head .sub { margin: 0 0 16px; font-size: 22px; font-weight: 600; color: #8c1220; }
.myhills-head p { margin: 0; color: #444; font-size: 15.5px; line-height: 1.75; }

/* ===== 사진 테두리 ===== */
.figure img { border: 1px solid #cfcfcf; box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.biz-img { border: 1px solid #cfcfcf; }

@media (max-width: 768px) {
  .unit-title { font-size: 18px; } .unit-title small { display: block; font-size: 13px; margin-top: 4px; }
  .type-table { font-size: 13.5px; } .type-table th, .type-table td { padding: 9px 5px; }
  .myhills-head h3 { font-size: 27px; } .myhills-head .sub { font-size: 16px; }
  .myhills-head p { font-size: 13.5px; } .myhills-head p br { display: none; }
}
@media (max-width: 768px) {
  .type-table { min-width: 0; font-size: 12px; letter-spacing: -.03em; table-layout: fixed; }
  .type-table th, .type-table td { padding: 8px 2px; }
  .type-table tbody th, .type-table thead th:first-child { width: 17%; }
}
@media (max-width: 768px) {
  .type-table.small, .type-table { font-size: 12px !important; }
  .type-table.small th, .type-table.small td { padding: 8px 2px; }
}
/* ===== 메인: 사진 전면 + 투명 헤더, 마우스오버·스크롤 시 하얗게 (참고 영상 기준 2026-10-22) ===== */
@media (min-width: 769px) {
  body.home main { padding-top: 0; }
  body.home .hero { height: 100vh; min-height: 640px; }
  body.home .hero-copy { top: 54%; }
  body.home .site-header { background: transparent; box-shadow: none; transition: box-shadow .3s; }
  body.home .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
    transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  body.home .site-header.solid::before, body.home .site-header.mega-open::before { transform: scaleY(1); }
  body.home .site-header.solid, body.home .site-header.mega-open { box-shadow: 0 1px 0 var(--line); }
  body.home .site-header .gnb { border-top-color: rgba(255,255,255,.35); transition: border-color .3s; }
  body.home .site-header.solid .gnb, body.home .site-header.mega-open .gnb { border-top-color: var(--line); }
  body.home .site-header:not(.solid):not(.mega-open) .gnb > ul > li > a { color: #10202f; text-shadow: 0 0 10px rgba(255,255,255,.8); }
}

/* ===== 관심고객등록 별도 페이지 ===== */
.register-page { min-height: calc(100vh - var(--header-h) - 160px); display: flex; align-items: center; }
.register-page .reg-wrap { width: 100%; }

/* ===== 푸터 위아래로 줄이기 ===== */
.site-footer { padding: 30px 0 34px !important; }
.site-footer .footer-logo { margin-bottom: 16px !important; height: 30px; }
.foot-grid { gap: 30px; padding-bottom: 16px; }
.foot-grid dl { gap: 4px; }
.site-footer .footer-note { margin-top: 12px !important; }
@media (max-width: 768px) {
  .site-footer { padding: 26px 0 84px !important; }
  .foot-grid { gap: 4px; padding-bottom: 14px; }
}
@media (min-width: 769px) { body.home .hero-copy { top: calc(50% + var(--header-h) / 2 - 70px); } }

/* 등록 페이지에서 메뉴 선택 표시 */
body.sub-page .gnb > ul > li > a[href="register.html"] { color: var(--main); }
body.sub-page .gnb > ul > li > a[href="register.html"]::after { transform: scaleX(1); }

/* ===== 투명 헤더 상태(마우스 없음·맨 위): 선 없음, 로고·메뉴·분양문의 흰색 (2026-10-22) ===== */
@media (min-width: 769px) {
  body.home .site-header:not(.solid):not(.mega-open) .gnb { border-top-color: transparent; }
  .site-header:not(.mega-open) .mega-bg { border-top-color: transparent; box-shadow: none; }
  body.home .site-header .logo img, body.home .site-header .header-call { transition: filter .3s, background-color .3s, border-color .3s, color .3s; }
  body.home .site-header:not(.solid):not(.mega-open) .logo img { filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,40,90,.35)); }
  body.home .site-header:not(.solid):not(.mega-open) .gnb > ul > li > a { color: #fff; text-shadow: 0 1px 8px rgba(0,40,90,.45); }
  body.home .site-header:not(.solid):not(.mega-open) .gnb > ul > li > a::after { background: #fff; }
  body.home .site-header:not(.solid):not(.mega-open) .header-call {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.85); color: #fff; box-shadow: none;
  }
  /* 구름이 헤더(흰 로고·전화) 뒤로 지나가지 않도록: 하늘 판을 헤더 높이만큼 아래로, 위쪽은 맑은 하늘색 */
  body.home .hero-sky { background: #3f9cf6; }
  body.home .hero-sky-track { top: calc(var(--sky-top, 0px) + var(--header-h)); }
  body.home .hero-sky::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--header-h) + 80px);
    background: linear-gradient(180deg, rgba(8,56,128,.28), rgba(8,56,128,0)); pointer-events: none;
  }
  /* 설명 줄: 아파트 위에서도 읽히도록 반투명 흰 박스 */
  .hero-sub {
    display: inline-block; border-top: 0 !important; padding: 10px 18px !important;
    background: rgba(255,255,255,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #14202e !important; text-shadow: none !important; box-shadow: 0 4px 18px rgba(0,30,70,.12);
  }
}

/* ===== 관심고객등록 페이지: 나타나는 연출 + 메인과 같은 명조 계열(굵게, 읽기 쉽게) ===== */
.reg-copy h2 { font-family: "Noto Serif KR", serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.reg-copy p { font-family: "Noto Serif KR", serif; font-weight: 500; line-height: 1.8; color: rgba(255,255,255,.88); }
.reg-tel { font-family: "Noto Serif KR", serif; font-weight: 700; }
.reg-copy .eyebrow { font-family: "Noto Serif KR", serif; font-weight: 600; }
@keyframes regIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
body.sub-page .register-page .reg-copy > * { animation: regIn .8s cubic-bezier(.2,.7,.2,1) both; }
body.sub-page .register-page .reg-copy > :nth-child(2) { animation-delay: .1s; }
body.sub-page .register-page .reg-copy > :nth-child(3) { animation-delay: .2s; }
body.sub-page .register-page .reg-copy > :nth-child(4) { animation-delay: .3s; }
body.sub-page .register-page .reg-box { animation: regIn .9s .25s cubic-bezier(.2,.7,.2,1) both; }
body.sub-page .page-fade { opacity: 1; animation: fadeOutWhite .45s .05s ease forwards; }
@keyframes fadeOutWhite { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  body.sub-page .register-page .reg-copy > *, body.sub-page .register-page .reg-box, body.sub-page .page-fade { animation: none; opacity: 1; }
  body.sub-page .page-fade { opacity: 0; }
}
@media (min-width: 769px) {
  body.home .hero-sky { background: #4ba6fc; }
  body.home .hero-sky-track {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
            mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
  }
  body.home .hero-kicker { color: #fff !important; text-shadow: 0 1px 8px rgba(0,40,90,.55) !important; }
}
.site-header:not(.mega-open) .mega-bg { border-top-width: 0; height: 0; }

/* ===== 메인 설명 줄: 흰 상자 대신 버건디 반투명 띠 + 골드 포인트 (2026-10-22) ===== */
.hero-sub span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px 3px; background: var(--point); vertical-align: middle; }
@media (min-width: 769px) {
  .hero-sub {
    display: inline-flex !important; align-items: center; flex-wrap: wrap;
    padding: 12px 22px 12px 18px !important; margin: 24px 0 30px !important;
    background: linear-gradient(90deg, rgba(74,10,22,.88), rgba(74,10,22,.62)) !important;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 0 !important; border-left: 3px solid var(--point) !important;
    box-shadow: 0 8px 24px rgba(30,0,8,.18) !important;
    font-family: "Noto Serif KR", serif; font-weight: 500; font-size: 16px !important; letter-spacing: .01em;
    color: rgba(255,255,255,.92) !important; text-shadow: none !important;
  }
  .hero-sub strong { color: #fff; font-weight: 700; }
  .hero-sub span::before { background: #e3c48e; }
}
@media (max-width: 768px) { .hero-sub strong { display: block; margin-bottom: 2px; } .hero-sub strong + span::before { display: none; } }

/* ===== 사진 슬라이더 (좌우 화살표로 넘김, 모든 사진 같은 크기 16:10, 크로스페이드) ===== */
.photo-slider { position: relative; max-width: var(--figure-max); margin: 0 auto; padding: 0 64px; }
.ps-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #cfcfcf; background: #eee; box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.ps-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.ps-slide.is-active { opacity: 1; }
.ps-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--main); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 0 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18); transition: filter .2s;
}
.ps-btn:hover { filter: brightness(1.2); }
.ps-prev { left: 0; } .ps-next { right: 0; }
.ps-count { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); letter-spacing: .05em; }
.ps-count b { color: var(--main); }
@media (max-width: 768px) {
  .photo-slider { padding: 0; }
  .ps-btn { width: 36px; height: 36px; font-size: 22px; background: rgba(0,0,0,.45); }
  .ps-prev { left: 8px; } .ps-next { right: 8px; }
}