/* ============================================================
 * redesign.css — nokbeon.net G2 리디자인 (전면 재작성 2026-05-26)
 *
 * 원칙:
 *   1. 모든 셀렉터는 body.redesigned 로 시작
 *   2. 전역 요소 셀렉터(body.redesigned h1, a, li, table thead th) 금지
 *   3. .view-page-content / .view-content 안에 영향 주는 룰 없음
 *   4. !important 40개 이내 (amina colorset 덮어쓰기 필수인 곳만)
 *   5. 500줄 이내
 * ============================================================ */

/* =========================
   S0. 폰트 + CSS 변수 + body 기본
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

body.redesigned {
  --r-bg: #FAFAF8;
  --r-paper: #FFFFFF;
  --r-ink: #14532D;
  --r-ink-2: #4A5852;
  --r-ink-3: #8A9892;
  --r-line: #14532D;
  --r-line-2: #E6E5DC;
  --r-accent: #16A34A;
  --r-accent-2: #DCFCE7;
  --r-radius: 20px;
  --r-radius-sm: 12px;
  --r-font-display: 'Black Han Sans', 'Pretendard', -apple-system, sans-serif;
  --r-font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;

  font-family: var(--r-font-body);
  font-size: 15px;
  line-height: 1.6;
  background: var(--r-bg);
}

/* =========================
   S1. G2 헤더
   ========================= */
/* amina 원본 헤더 숨김 */
body.redesigned .at-lnb,
body.redesigned .pc-header,
body.redesigned .m-header,
body.redesigned .pc-menu,
body.redesigned .pc-menu-all,
body.redesigned .m-menu,
body.redesigned .at-menu { display: none !important; }
body.redesigned .at-title {
  background: transparent; border: 0; border-bottom: 1px solid var(--r-line-2);
  padding: 10px 0; margin: 0 0 16px;
}
body.redesigned .at-body { padding-top: 10px; }
body.redesigned .at-title .page-title { font-family: var(--r-font-body); font-size: 18px; font-weight: 700; color: #102818; }
body.redesigned .at-title .page-desc .url-copy { color: #14532D; cursor: pointer; }

/* 유틸바 */
body.redesigned .g2-util { background: #102818; color: rgba(255,255,255,.92); font-size: 13px; }
body.redesigned .g2-util-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 40px;
  display: flex; justify-content: space-between; align-items: center;
}
body.redesigned .g2-util a { color: rgba(255,255,255,.85); padding: 0 8px; text-decoration: none; }
body.redesigned .g2-util a:hover { color: #A7F3D0; }
body.redesigned .g2-util-left,
body.redesigned .g2-util-right { display: flex; gap: 14px; align-items: center; }
body.redesigned .g2-util-left span { opacity: .65; font-size: 12px; }

/* 소셜 로그인 아이콘 */
body.redesigned .g2-social { display: inline-flex; gap: 5px; margin-left: 8px; }
body.redesigned .g2-social a {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; padding: 0; font-weight: 700; color: #fff;
}
body.redesigned .g2-social .naver { background: #03C75A; }
body.redesigned .g2-social .kakao { background: #FEE500; color: #3C1E1E; }
body.redesigned .g2-social .google { background: #DB4437; }

/* 메인 헤더 */
body.redesigned .g2-header { background: #fff; border-bottom: 2px solid var(--r-ink); position: sticky; top: 0; z-index: 999; }
body.redesigned .g2-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* 브랜드 */
body.redesigned .g2-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #102818; }
body.redesigned .g2-leaf {
  width: 54px; height: 54px; border-radius: 18px;
  background: var(--r-ink); display: grid; place-items: center; color: #fff;
  position: relative; flex-shrink: 0;
}
body.redesigned .g2-leaf::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border-radius: 0 100% 0 100%; background: var(--r-accent); transform: rotate(45deg);
}
body.redesigned .g2-leaf span { position: relative; z-index: 1; font-family: var(--r-font-display); font-size: 22px; }
body.redesigned .g2-brand h1 {
  font-family: var(--r-font-display); font-size: 24px; margin: 0; line-height: 1;
  color: #102818; letter-spacing: -.02em;
}
body.redesigned .g2-brand-sub { font-size: 11px; color: var(--r-ink-2); margin-top: 6px; letter-spacing: .04em; }

/* GNB */
body.redesigned .g2-gnb { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
body.redesigned .g2-gnb > a,
body.redesigned .g2-gnb-item > a {
  padding: 12px 18px; border-radius: var(--r-radius-sm); text-decoration: none;
  font-family: var(--r-font-body); font-size: 15px; font-weight: 600;
  color: var(--r-ink-2); letter-spacing: -.01em; display: block;
}
body.redesigned .g2-gnb > a:hover,
body.redesigned .g2-gnb-item > a:hover { background: #ECFDF5; color: var(--r-ink); }
body.redesigned .g2-gnb > a.on,
body.redesigned .g2-gnb-item > a.on { background: var(--r-ink); color: #fff; }
body.redesigned .g2-gnb-item { position: relative; }
body.redesigned .g2-gnb-sub {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--r-line-2); border-radius: var(--r-radius-sm);
  box-shadow: 0 4px 12px rgba(20,83,45,.08); padding: 8px 0;
  min-width: 180px; z-index: 9999;
}
body.redesigned .g2-gnb-item:hover .g2-gnb-sub { display: block; }
body.redesigned .g2-gnb-sub a {
  display: block; padding: 8px 16px; border-radius: 0;
  color: #333; font-size: 14px; font-weight: 600;
  white-space: nowrap; background: transparent;
}
body.redesigned .g2-gnb-sub a:hover { background: #ECFDF5; color: var(--r-ink); }
body.redesigned .g2-gnb-sub a.on { background: #ECFDF5; color: #14532D; font-weight: 700; border-left: 3px solid #16A34A; }
body.redesigned .g2-gnb-sub-line {
  padding: 4px 16px; font-size: 12px; color: var(--r-ink-3);
  border-top: 1px solid #F0EDE2; margin-top: 4px;
}

/* =========================
   S2. G2 모바일 메뉴
   ========================= */
body.redesigned .g2-hamburger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px; justify-content: center;
}
body.redesigned .g2-hamburger span { display: block; width: 22px; height: 2px; background: var(--r-ink); border-radius: 1px; }
/* 전체 검색 버튼 + 레이어 팝업 */
body.redesigned .g2-search-btn { background: none; border: 0; cursor: pointer; color: var(--r-ink); font-size: 20px; line-height: 1; padding: 8px 10px; display: flex; align-items: center; transition: color .15s; }
body.redesigned .g2-search-btn:hover { color: var(--r-accent); }
body.redesigned .nok-search-pop { position: fixed; inset: 0; background: rgba(10,24,16,.55); display: none; z-index: 10000; }
body.redesigned .nok-search-pop.on { display: block; }
body.redesigned .nok-search-pop .nok-search-box { background: #fff; width: min(620px,92vw); margin: 14vh auto 0; border-radius: 18px; padding: 30px 28px; position: relative; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); }
body.redesigned .nok-search-pop .nok-search-close { position: absolute; top: 12px; right: 18px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--r-ink-3); cursor: pointer; }
body.redesigned .nok-search-pop .nok-search-close:hover { color: var(--r-ink); }
body.redesigned .nok-search-pop .nok-search-title { font-family: var(--r-font-display); font-size: 22px; color: var(--r-ink); margin-bottom: 16px; }
body.redesigned .nok-search-pop form { display: flex; gap: 8px; }
body.redesigned .nok-search-pop input[name=stx] { flex: 1; border: 1.5px solid var(--r-line-2); border-radius: 10px; padding: 12px 14px; font-size: 16px; outline: none; }
body.redesigned .nok-search-pop input[name=stx]:focus { border-color: var(--r-accent); }
body.redesigned .nok-search-pop .nok-search-go { background: var(--r-ink); color: #fff; border: 0; border-radius: 10px; padding: 0 20px; font-family: var(--r-font-display); font-size: 16px; cursor: pointer; white-space: nowrap; }
body.redesigned .nok-search-pop .nok-search-go:hover { background: #1A6638; }
/* 검색 팝업 하단 녹봇 접근 경로 */
body.redesigned .nok-search-pop .nok-search-bot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--r-line-2); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
body.redesigned .nok-search-pop .nok-search-bot-tip { font-size: 13.5px; color: var(--r-ink-3); line-height: 1.6; }
body.redesigned .nok-search-pop .nok-search-bot-tip b { color: var(--r-accent); }
body.redesigned .nok-search-pop .nok-search-bot-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--r-accent); color: #fff; font-family: var(--r-font-display); font-size: 15px; padding: 10px 18px; border-radius: 10px; text-decoration: none; transition: background .15s; }
body.redesigned .nok-search-pop .nok-search-bot-btn:hover { background: #15803d; }
body.redesigned .nok-search-pop .nok-search-bot-emoji { font-size: 17px; }
body.redesigned .g2-mobile-menu {
  background: #fff; border-bottom: 1px solid var(--r-line-2); padding: 8px 16px;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 998;
  overflow-y: auto;
  padding-top: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
body.redesigned .g2-mobile-menu a {
  display: block; padding: 10px 12px; color: var(--r-ink-2); text-decoration: none;
  font-family: var(--r-font-body); font-size: 15px; font-weight: 500;
  border-bottom: 1px solid #F0EDE2;
}
body.redesigned .g2-mobile-menu a:last-child { border-bottom: 0; }
body.redesigned .g2-mobile-menu a:hover { color: var(--r-ink); background: #ECFDF5; }
body.redesigned .g2-mobile-menu a.sub { padding-left: 28px; font-size: 14px; color: var(--r-ink-3); }
body.redesigned .g2-mob-group { border-bottom: 1px solid #F0EDE2; }
body.redesigned .g2-mob-parent { display: flex; justify-content: space-between; align-items: center; border-bottom: 0; }
body.redesigned .g2-mob-arrow { font-size: 18px; color: var(--r-ink-3); transition: transform .2s; }
body.redesigned .g2-mob-group.on .g2-mob-arrow { transform: rotate(90deg); }
body.redesigned .g2-mob-group.on > .g2-mob-parent {
  background: #ECFDF5; color: var(--r-ink); font-weight: 700;
  border-left: 3px solid var(--r-ink); padding-left: 9px;
}
body.redesigned .g2-mob-sub a.on {
  color: var(--r-ink); font-weight: 700; background: #ECFDF5;
  border-left: 3px solid var(--r-accent); padding-left: 17px;
}
body.redesigned .g2-mob-sub { padding-left: 8px; }
body.redesigned .g2-mob-sub a { font-size: 14px; padding: 8px 12px 8px 20px; }
body.redesigned .g2-mob-user {
  padding: 14px 12px; border-bottom: 2px solid var(--r-ink);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--r-font-body); font-size: 15px;
}
body.redesigned .g2-mob-user b { color: var(--r-ink); font-size: 16px; }
body.redesigned .g2-mob-user a { color: var(--r-ink-2); text-decoration: none; font-size: 14px; border-bottom: 0; padding: 0; }

/* =========================
   S3. G2 Hero + Consent
   ========================= */
body.redesigned .g2-hero {
  position: relative; width: 100%; max-width: none; margin: 0;
  padding: 36px 32px 0; background: var(--r-bg);
  background-image:
    radial-gradient(ellipse 700px 450px at 85% 30%, #D1FAE5, transparent 60%),
    radial-gradient(ellipse 500px 300px at 10% 90%, rgba(22,163,74,.08), transparent 60%);
  border: 0; border-radius: 0; overflow: hidden; box-sizing: border-box;
}
body.redesigned .g2-hero .hero-grid,
body.redesigned .g2-hero .hero-consent-head,
body.redesigned .g2-hero .g2-consent {
  max-width: 1200px; margin-left: auto; margin-right: auto; width: 100%; box-sizing: border-box;
}
body.redesigned .g2-hero .hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end;
}
body.redesigned .g2-hero .hero-grid > div { min-width: 0; }
body.redesigned .g2-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #166534; font-weight: 700; letter-spacing: .08em; margin-bottom: 16px;
}
body.redesigned .g2-hero .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--r-accent); }
body.redesigned .g2-hero .hero-top h1 {
  font-family: var(--r-font-display); font-size: 48px; line-height: 1.05;
  margin: 0 0 18px; letter-spacing: -.03em; color: #102818;
}
body.redesigned .g2-hero .hero-top h1 .gr { color: var(--r-accent); }
body.redesigned .g2-hero .hero-top p { font-size: 16px; color: var(--r-ink-2); max-width: 540px; line-height: 1.7; margin: 0 0 26px; word-break: keep-all; overflow-wrap: break-word; }
body.redesigned .g2-hero .cta a {
  display: inline-block; padding: 12px 24px; font-family: var(--r-font-display); font-size: 24px;
  border-radius: var(--r-radius-sm); margin-right: 8px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
body.redesigned .g2-hero .cta .primary {
  background: var(--r-ink); color: #fff; box-shadow: 0 8px 24px -10px rgba(20,83,45,.45);
}
body.redesigned .g2-hero .cta .outline { background: #fff; color: var(--r-ink); border: 1.5px solid var(--r-ink); }
/* CTA 롤오버 애니메이션 — 카드와 동일한 떠오름 효과 */
body.redesigned .g2-hero .cta .primary:hover { transform: translateY(-3px); background: #1A6638; box-shadow: 0 16px 36px -12px rgba(20,83,45,.6); }
body.redesigned .g2-hero .cta .outline:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -14px rgba(20,83,45,.35); }
body.redesigned .g2-hero .cta a:active { transform: translateY(-1px); }
body.redesigned .g2-hero .stats { display: flex; flex-direction: column; gap: 12px; }
body.redesigned .g2-hero .stat {
  background: rgba(255,255,255,.7); border: 1px solid rgba(20,83,45,.12);
  border-radius: 18px; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  backdrop-filter: blur(6px);
}
body.redesigned .g2-hero .stat .text .lab { font-family: var(--r-font-display); font-size: 20px; color: var(--r-ink); letter-spacing: .02em; }
body.redesigned .g2-hero .stat .text .desc { font-size: 13px; color: var(--r-ink-3); margin-top: 4px; }
/* 날짜 강조 모디파이어 — .desc 기본은 유지, .nok-date 붙은 것만 크게+볼드 (박스 높이 유지 위해 여백/줄높이 압축) */
body.redesigned .g2-hero .stat .text .desc.nok-date { font-size: 16px; font-weight: 700; margin-top: 2px; line-height: 1.25; color: var(--r-ink); }
body.redesigned .g2-hero .stat .val {
  font-family: var(--r-font-display); font-size: 34px; line-height: 1; color: var(--r-ink);
  letter-spacing: -.03em; white-space: nowrap;
}
body.redesigned .g2-hero .stat .val small { font-size: 16px; color: var(--r-accent); margin-left: 2px; }
/* 일수 색상: 남으면 파랑, 지나면 빨강 */
body.redesigned .g2-hero .stat .val.val-future { color: #0569f5; }
body.redesigned .g2-hero .stat .val.val-past { color: #DC2626; }
body.redesigned .g2-hero .stat .val.val-future small,
body.redesigned .g2-hero .stat .val.val-past small { color: inherit; }
body.redesigned .g2-hero .hero-consent-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 36px auto 16px;
  border-top: 1px solid rgba(20,83,45,.12); padding-top: 28px;
}
body.redesigned .g2-hero .hero-consent-head .lab {
  font-size: 12px; font-weight: 700; color: var(--r-accent); letter-spacing: .16em; text-transform: uppercase;
}
body.redesigned .g2-hero .hero-consent-head h2 {
  font-family: var(--r-font-display); font-size: 28px; margin: 6px 0 0; line-height: 1;
  letter-spacing: -.02em; color: #102818;
}
body.redesigned .g2-hero .hero-consent-head .more,
body.redesigned .g2-section-head .more {
  margin-left: auto; padding: 8px 16px; border: 1.5px solid var(--r-line-2); border-radius: 999px;
  font-weight: 600; font-size: 13px; color: #166534; background: #fff; text-decoration: none;
}

/* 동의률 카드 */
body.redesigned .g2-consent { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 0; }
body.redesigned .g2-cc { background: #fff; border: 1px solid var(--r-line-2); border-radius: 22px; padding: 26px 24px; display: block; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
body.redesigned .g2-cc:hover { transform: translateY(-3px); border-color: var(--r-accent); box-shadow: 0 16px 40px -20px rgba(16,40,24,.2); }
body.redesigned .g2-cc .top { display: flex; justify-content: space-between; align-items: flex-start; }
body.redesigned .g2-cc .reg {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
body.redesigned .g2-cc .reg::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
body.redesigned .g2-cc.r1 .reg { background: #FEE2E2; color: #f50505; }
body.redesigned .g2-cc.r1 .reg::before { background: #f50505; }
body.redesigned .g2-cc.r2 .reg { background: #ECFDF5; color: #009900; }
body.redesigned .g2-cc.r2 .reg::before { background: #009900; }
body.redesigned .g2-cc.r3 .reg { background: #DBEAFE; color: #0569f5; }
body.redesigned .g2-cc.r3 .reg::before { background: #0569f5; }
body.redesigned .g2-cc .status { font-size: 11px; color: var(--r-ink-3); font-weight: 600; }
body.redesigned .g2-cc h3 {
  font-family: var(--r-font-display); font-size: 21px; margin: 10px 0 4px;
  color: #102818; letter-spacing: -.01em;
}
body.redesigned .g2-cc .where { font-size: 14px; color: var(--r-ink-2); margin-bottom: 10px; }
body.redesigned .g2-cc .step-now { font-size: 13px; font-weight: 700; color: #102818; border-radius: 10px; padding: 9px 12px; margin-bottom: 16px; line-height: 1.45; border: 1px solid transparent; }
body.redesigned .g2-cc .step-now .step-now-lab { display: inline-block; margin-right: 7px; font-size: 10px; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 1px; }
/* 박스 전체(글자 포함)가 구역색으로 크게 펄스 */
body.redesigned .g2-cc.r1 .step-now { background: #fef2f2; border-color: #fecaca; animation: nokPulseRed 2s ease-out infinite; }
body.redesigned .g2-cc.r2 .step-now { background: #f0fdf4; border-color: #bbf7d0; animation: nokPulseGreen 2s ease-out .35s infinite; }
body.redesigned .g2-cc.r3 .step-now { background: #eff6ff; border-color: #bfdbfe; animation: nokPulseBlue 2s ease-out .7s infinite; }
/* 카드에 마우스 올리면 그 박스의 펄스 애니메이션 일시정지, 나가면 다시 재생 */
body.redesigned .g2-cc:hover .step-now { animation-play-state: paused; }
body.redesigned .g2-cc.r1 .step-now .step-now-lab { background: #f50505; }
body.redesigned .g2-cc.r2 .step-now .step-now-lab { background: #009900; }
body.redesigned .g2-cc.r3 .step-now .step-now-lab { background: #0569f5; }
@keyframes nokPulseRed { 0%{box-shadow:0 0 0 0 rgba(245,5,5,.75);} 60%{box-shadow:0 0 0 22px rgba(245,5,5,0);} 100%{box-shadow:0 0 0 0 rgba(245,5,5,0);} }
@keyframes nokPulseGreen { 0%{box-shadow:0 0 0 0 rgba(0,153,0,.75);} 60%{box-shadow:0 0 0 22px rgba(0,153,0,0);} 100%{box-shadow:0 0 0 0 rgba(0,153,0,0);} }
@keyframes nokPulseBlue { 0%{box-shadow:0 0 0 0 rgba(5,105,245,.75);} 60%{box-shadow:0 0 0 22px rgba(5,105,245,0);} 100%{box-shadow:0 0 0 0 rgba(5,105,245,0);} }
/* 핵심 숫자 요약 (KEY FIGURES) */
body.redesigned .g2-keyfig { width: calc(100% - 64px); max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
/* 평형별 예상 분양가 — KEY FIGURES와 동일한 g2-section-head 패턴 사용. 자체 박스 없음. */
body.redesigned .kf-prices-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@property --neon-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
body.redesigned .kf-pcard { text-align: center; border-radius: 12px; padding: 18px 10px 20px; border: 1px solid #bbf7d0; background: #f0fdf4; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; cursor: default; position: relative; overflow: hidden; }
body.redesigned .kf-pcard::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-20deg); pointer-events: none; animation: kfShine 3.4s infinite; z-index: 1; }
body.redesigned .kf-pcard:nth-child(1)::after { animation-delay: 0s; }
body.redesigned .kf-pcard:nth-child(2)::after { animation-delay: .25s; }
body.redesigned .kf-pcard:nth-child(3)::after { animation-delay: .5s; }
body.redesigned .kf-pcard:nth-child(4)::after { animation-delay: .75s; }
body.redesigned .kf-pcard:nth-child(5)::after { animation-delay: 1.0s; }
body.redesigned .kf-pcard:hover { transform: translateY(-4px); border-color: #16A34A; box-shadow: 0 12px 24px -12px rgba(0,153,0,.45); }
@keyframes kfNeonRotate { to { --neon-angle: 360deg; } }
body.redesigned .kf-pcard-type { display: block; font-family: var(--r-font-display); font-size: 26px; letter-spacing: 0; line-height: 1; color: var(--r-ink-2); }
body.redesigned .kf-pcard-area { display: block; font-size: 13px; color: var(--r-ink-3); margin-top: 8px; line-height: 1.45; }
body.redesigned .kf-pcard-pyeong { font-size: 19px; color: var(--r-ink-2); font-weight: 700; }
body.redesigned .kf-pcard-val { display: block; font-family: var(--r-font-display); font-size: 32px; letter-spacing: -.02em; margin-top: 14px; line-height: 1.05; color: #102818; }
body.redesigned .kf-pcard-val small { font-size: 13px; color: var(--r-ink-3); margin-left: 4px; letter-spacing: 0; }
/* 5개 평형 — 저가 파랑 → 고가 빨강 (시세카드 hsl 회전과 동일 톤) */
/* 39형 — 파랑 */
body.redesigned .kf-pcard:nth-child(1) { background: #eff6ff; border-color: #93c5fd; }
body.redesigned .kf-pcard:nth-child(1):hover { border-color: #2563eb; box-shadow: 0 12px 24px -12px rgba(37,99,235,.45); }
body.redesigned .kf-pcard:nth-child(1) .kf-pcard-type,
body.redesigned .kf-pcard:nth-child(1) .kf-pcard-val { color: #1d4ed8; }
/* 51형 — 청록(Teal) */
body.redesigned .kf-pcard:nth-child(2) { background: #f0fdfa; border-color: #5eead4; }
body.redesigned .kf-pcard:nth-child(2):hover { border-color: #0d9488; box-shadow: 0 12px 24px -12px rgba(13,148,136,.45); }
body.redesigned .kf-pcard:nth-child(2) .kf-pcard-type,
body.redesigned .kf-pcard:nth-child(2) .kf-pcard-val { color: #0f766e; }
/* 59형 — 라임-그린 네온 (더 강하게: 두꺼운 보더 + 빠른 회전 + 3중 글로우 + 펄스) */
/* 59형 — 라임 네온 (transform 회전 테두리: @property 미사용 → reduce·브라우저 무관) */
body.redesigned .kf-pcard:nth-child(3) {
  position: relative; z-index: 0; overflow: hidden; border: 0;
  box-shadow:
    0 0 0 1px rgba(132,204,22,.4),
    0 0 22px rgba(132,204,22,.85),
    0 0 44px rgba(132,204,22,.55),
    0 0 80px rgba(132,204,22,.3);
  animation: kfNeonPulseLime 1.6s ease-in-out infinite;
}
body.redesigned .kf-pcard:nth-child(3)::before {
  content:''; position:absolute; z-index:-2; left:50%; top:50%; width:250%; aspect-ratio:1;
  transform: translate(-50%,-50%); pointer-events:none;
  background: conic-gradient(#4d7c0f 0deg, #65a30d 110deg, #84cc16 170deg, #ecfccb 205deg, #ffffff 225deg, #ecfccb 245deg, #84cc16 285deg, #4d7c0f 360deg);
  animation: kfSpin 1.4s linear infinite;
}
body.redesigned .kf-pcard:nth-child(3)::after {
  content:''; position:absolute; z-index:-1; inset:3px; left:3px; top:3px; width:auto; height:auto;
  border-radius:9px; background:#f7fee7; animation:none;
}
body.redesigned .kf-pcard:nth-child(3):hover { transform: translateY(-4px); }
body.redesigned .kf-pcard:nth-child(3) .kf-pcard-type,
body.redesigned .kf-pcard:nth-child(3) .kf-pcard-val { color: #4d7c0f; }
@keyframes kfNeonPulseLime {
  0%, 100% { box-shadow: 0 0 0 1px rgba(132,204,22,.4), 0 0 22px rgba(132,204,22,.85), 0 0 44px rgba(132,204,22,.55), 0 0 80px rgba(132,204,22,.3); }
  50% { box-shadow: 0 0 0 1px rgba(132,204,22,.6), 0 0 32px rgba(132,204,22,1), 0 0 64px rgba(132,204,22,.75), 0 0 110px rgba(132,204,22,.45); }
}

/* 84형 — 옐로우 네온 */
body.redesigned .kf-pcard:nth-child(4) {
  position: relative; z-index: 0; overflow: hidden; border: 0;
  box-shadow:
    0 0 0 1px rgba(234,179,8,.4),
    0 0 22px rgba(234,179,8,.85),
    0 0 44px rgba(234,179,8,.55),
    0 0 80px rgba(234,179,8,.3);
  animation: kfNeonPulseAmber 1.9s ease-in-out infinite;
}
body.redesigned .kf-pcard:nth-child(4)::before {
  content:''; position:absolute; z-index:-2; left:50%; top:50%; width:250%; aspect-ratio:1;
  transform: translate(-50%,-50%); pointer-events:none;
  background: conic-gradient(#a16207 0deg, #ca8a04 110deg, #eab308 170deg, #fef9c3 205deg, #ffffff 225deg, #fef9c3 245deg, #fde047 285deg, #a16207 360deg);
  animation: kfSpin 1.8s linear infinite;
}
body.redesigned .kf-pcard:nth-child(4)::after {
  content:''; position:absolute; z-index:-1; inset:3px; left:3px; top:3px; width:auto; height:auto;
  border-radius:9px; background:#fefce8; animation:none;
}
body.redesigned .kf-pcard:nth-child(4):hover { transform: translateY(-4px); }
body.redesigned .kf-pcard:nth-child(4) .kf-pcard-type,
body.redesigned .kf-pcard:nth-child(4) .kf-pcard-val { color: #a16207; }
@keyframes kfNeonPulseAmber {
  0%, 100% { box-shadow: 0 0 0 1px rgba(234,179,8,.4), 0 0 22px rgba(234,179,8,.85), 0 0 44px rgba(234,179,8,.55), 0 0 80px rgba(234,179,8,.3); }
  50% { box-shadow: 0 0 0 1px rgba(234,179,8,.6), 0 0 32px rgba(234,179,8,1), 0 0 64px rgba(234,179,8,.75), 0 0 110px rgba(234,179,8,.45); }
}
@keyframes kfSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
/* 115형 — 빨강 */
body.redesigned .kf-pcard:nth-child(5) { background: #fef2f2; border-color: #fca5a5; }
body.redesigned .kf-pcard:nth-child(5):hover { border-color: #dc2626; box-shadow: 0 12px 24px -12px rgba(220,38,38,.45); }
body.redesigned .kf-pcard:nth-child(5) .kf-pcard-type,
body.redesigned .kf-pcard:nth-child(5) .kf-pcard-val { color: #b91c1c; }
@media (max-width: 900px){ body.redesigned .kf-prices-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px){ body.redesigned .kf-prices-grid { grid-template-columns: repeat(2, 1fr); } body.redesigned .kf-pcard-type { font-size: 20px; } body.redesigned .kf-pcard-val { font-size: 17px; } }
body.redesigned .kf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.redesigned .kf-zone { background: #fff; border: 1px solid var(--r-line-2); border-top: 4px solid var(--r-line-2); border-radius: 18px; padding: 20px 22px; }
body.redesigned .kf-zone.kf-r2 { border-top-color: #009900; }
body.redesigned .kf-zone.kf-r3 { border-top-color: #0569f5; }
body.redesigned .kf-zone-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--r-font-display); font-size: 26px; letter-spacing: -.01em; }
/* 구역명(b) — 검정 (폰트가 Pretendard라 기본 bold도 안 뭉침) */
body.redesigned .kf-zone-head b { color: #102818 !important; }
/* 구역 표기 = 동의율 카드처럼 색점 pill 배지 */
body.redesigned .kf-zone-head span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
body.redesigned .kf-zone-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
body.redesigned .kf-r2 .kf-zone-head span { background: #ECFDF5; color: #009900; }
body.redesigned .kf-r2 .kf-zone-head span::before { background: #009900; }
body.redesigned .kf-r3 .kf-zone-head span { background: #DBEAFE; color: #0569f5; }
body.redesigned .kf-r3 .kf-zone-head span::before { background: #0569f5; }
body.redesigned .kf-nums { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
/* 숫자 박스 — 구역 아이덴티티 색으로 */
body.redesigned .kf-nums > div { text-align: center; border-radius: 12px; padding: 12px 6px; border: 1px solid #e6ece7; background: #f6f9f5; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; cursor: default; position: relative; overflow: hidden; }
/* 반짝 — 빛줄기가 박스를 순차로 스쳐 지나감 */
body.redesigned .kf-nums > div::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); pointer-events: none; animation: kfShine 3.4s infinite; }
body.redesigned .kf-nums > div:nth-child(1)::after { animation-delay: 0s; }
body.redesigned .kf-nums > div:nth-child(2)::after { animation-delay: .3s; }
body.redesigned .kf-nums > div:nth-child(3)::after { animation-delay: .6s; }
body.redesigned .kf-nums > div:nth-child(4)::after { animation-delay: .9s; }
body.redesigned .kf-nums > div:nth-child(1)::after { animation-delay: 0s; }
body.redesigned .kf-nums > div:nth-child(2)::after { animation-delay: .35s; }
body.redesigned .kf-nums > div:nth-child(3)::after { animation-delay: .7s; }
body.redesigned .kf-nums > div:nth-child(4)::after { animation-delay: 1.05s; }
@keyframes kfShine { 0% { left: -60%; } 28% { left: 150%; } 100% { left: 150%; } }
body.redesigned .kf-nums > div:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -12px rgba(16,40,24,.35); }
body.redesigned .kf-r2 .kf-nums > div:hover { border-color: #16A34A; box-shadow: 0 12px 24px -12px rgba(0,153,0,.45); }
body.redesigned .kf-r3 .kf-nums > div:hover { border-color: #0569f5; box-shadow: 0 12px 24px -12px rgba(5,105,245,.45); }
body.redesigned .kf-r2 .kf-nums > div { background: #f0fdf4; border-color: #bbf7d0; }
body.redesigned .kf-r3 .kf-nums > div { background: #eff6ff; border-color: #bfdbfe; }
body.redesigned .kf-nums b { display: block; font-family: var(--r-font-display); font-size: 21px; font-weight: 800; color: #102818; letter-spacing: -.02em; }
body.redesigned .kf-r2 .kf-nums b { color: #15803d; }
body.redesigned .kf-r3 .kf-nums b { color: #1d4ed8; }
body.redesigned .kf-nums span { display: block; font-size: 15px; font-weight: 600; color: var(--r-ink-2); margin-top: 6px; }
@media (max-width: 860px){ body.redesigned .kf-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px){ body.redesigned .g2-keyfig { padding: 0 16px; } }
@media (max-width: 520px){ body.redesigned .kf-nums { grid-template-columns: 1fr 1fr; } }
/* === 메인 섹션 제목 통일 ===
   Black Han Sans(굵은 디자인 폰트) + 크기 통일. font-weight:400은 폰트를 얇게 만드는 게 아니라
   Black Han Sans(400 단일)를 700으로 가짜볼드(synthetic) 렌더해 뭉개는 것만 방지. */
body.redesigned .nok-sec-title,
body.redesigned .g2-section-head h2,
body.redesigned .g2-hero .hero-consent-head h2,
body.redesigned .nok-sim .nok-section-title {
  font-family: var(--r-font-display) !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  color: #102818 !important;
}
body.redesigned .g2-cc .num { display: flex; align-items: baseline; gap: 4px; font-family: var(--r-font-display); }
body.redesigned .g2-cc .num .n { font-size: 58px; line-height: 1; letter-spacing: -.035em; color: #102818; }
body.redesigned .g2-cc .num .u { font-size: 22px; color: var(--r-accent); }
body.redesigned .g2-cc .bar { margin-top: 14px; height: 8px; background: var(--r-bg); border-radius: 999px; overflow: hidden; }
body.redesigned .g2-cc .bar i { display: block; height: 100%; border-radius: 999px; }
body.redesigned .g2-cc.r1 .bar i { background: linear-gradient(90deg,#f50505,#ff4444); }
body.redesigned .g2-cc.r2 .bar i { background: linear-gradient(90deg,#009900,#33cc33); }
body.redesigned .g2-cc.r3 .bar i { background: linear-gradient(90deg,#0569f5,#4499ff); }
body.redesigned .g2-cc .foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--r-ink-2); }
body.redesigned .g2-cc .foot b { color: #166534; font-weight: 700; }

/* =========================
   S4. G2 Body grid + 갤러리/시세/게시판/Contact
   ========================= */
/* Section head — hero-consent-head와 동일한 위 회색줄 + 28px 패딩으로 통일 */
body.redesigned .g2-section-head {
  display: flex; align-items: flex-end; gap: 20px; margin: 36px 0 16px;
  border-top: 1px solid rgba(20,83,45,.12); padding-top: 28px;
}
body.redesigned .g2-section-head .lab {
  font-size: 12px; font-weight: 700; color: var(--r-accent); letter-spacing: .16em; text-transform: uppercase;
}
body.redesigned .g2-section-head h2 {
  font-family: var(--r-font-display); font-size: 34px; margin: 6px 0 0; line-height: 1;
  letter-spacing: -.025em; color: #102818;
}

/* Body grid — hero-consent-head와 동일한 외곽 (calc 100% - 64 = 좌우 32 여백, max 1200) */
body.redesigned .g2-body {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start;
  width: calc(100% - 64px); max-width: 1200px; margin: 0 auto; box-sizing: border-box;
}
body.redesigned .g2-body-main,
body.redesigned .g2-body-side { min-width: 0; }
/* side는 grid 두 번째 컬럼이라 main 첫 자식 g2-section-head 높이(36 margin + 28 padding + 1 border = 65px)만큼 위에서 시작점이 어긋남. 동일 오프셋 보정. */
body.redesigned .g2-body-side { padding-top: 65px; }

/* 갤러리 */
body.redesigned .g2-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
body.redesigned .g2-gal {
  background: #fff; border: 1px solid var(--r-line-2); border-radius: 18px; overflow: hidden;
  text-decoration: none; color: #102818; display: block; transition: .2s;
}
body.redesigned .g2-gal:hover { transform: translateY(-3px); border-color: var(--r-accent); box-shadow: 0 16px 40px -20px rgba(16,40,24,.2); }
body.redesigned .g2-gal .thumb { aspect-ratio: 4/3; position: relative; overflow: hidden; }
body.redesigned .g2-gal .thumb.t1 { background: linear-gradient(135deg,#A7C9A1,#5A8157); }
body.redesigned .g2-gal .thumb.t2 { background: linear-gradient(135deg,#B8C5D6,#5C6F90); }
body.redesigned .g2-gal .thumb.t3 { background: linear-gradient(135deg,#D6BD9A,#8A6F4A); }
body.redesigned .g2-gal .thumb.t4 { background: linear-gradient(135deg,#B3CFC5,#5C8B7A); }
body.redesigned .g2-gal .thumb.t5 { background: linear-gradient(135deg,#D6B8B5,#8A5F5A); }
body.redesigned .g2-gal .thumb.t6 { background: linear-gradient(135deg,#9FB5A0,#4E6F50); }
body.redesigned .g2-gal .thumb .badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(16,40,24,.85); color: #fff; font-size: 10px; padding: 3px 9px;
  border-radius: 5px; letter-spacing: .06em; font-weight: 600;
}
body.redesigned .g2-gal .meta { padding: 16px 18px; }
body.redesigned .g2-gal .meta .date { font-size: 11px; color: var(--r-accent); font-weight: 700; letter-spacing: .06em; }
body.redesigned .g2-gal .meta .t {
  font-family: var(--r-font-display); font-size: 16px; margin: 6px 0 0;
  color: #102818; line-height: 1.35; letter-spacing: -.01em;
}

/* 재개발 정보 최근 게시물 리스트 */
body.redesigned .g2-posts-list {
  display: flex; flex-direction: column;
}
body.redesigned .g2-post-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--r-line-2); text-decoration: none; color: #102818;
  font-size: 15px; transition: .15s;
}
body.redesigned .g2-post-item:last-child { border-bottom: 0; }
body.redesigned .g2-post-item:hover { color: var(--r-accent); }
body.redesigned .g2-post-cat {
  flex: 0 0 auto; font-size: 11px; font-weight: 700; padding: 3px 10px;
  background: var(--r-accent-2); color: var(--r-ink); border-radius: 999px;
}
body.redesigned .g2-post-title { flex: 1 1 auto; font-weight: 500; }
body.redesigned .g2-post-date { flex: 0 0 auto; font-size: 12px; color: var(--r-ink-3); }

/* 시세 */
body.redesigned .g2-prices { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 18px; }
body.redesigned .g2-price {
  background: #fff; border: 1px solid var(--r-line-2); border-radius: 16px; padding: 18px; transition: .15s;
}
body.redesigned .g2-price:hover { border-color: var(--r-accent); transform: translateY(-2px); }
body.redesigned .g2-price .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
body.redesigned .g2-price .name { font-family: var(--r-font-display); font-size: 18px; color: #102818; line-height: 1.2; }
body.redesigned .g2-price .reg { font-size: 10px; padding: 3px 8px; border-radius: 5px; font-weight: 700; }
body.redesigned .g2-price .reg.area-1 { color: #fff; background: #f50505; }
body.redesigned .g2-price .reg.area-2 { color: #fff; background: #009900; }
body.redesigned .g2-price .reg.area-3 { color: #fff; background: #0569f5; }
body.redesigned .g2-price .area { font-size: 12px; color: var(--r-ink-2); margin-top: 4px; }
body.redesigned .g2-price .price { font-family: var(--r-font-display); font-size: 30px; color: #102818; margin-top: 14px; line-height: 1; }
body.redesigned .g2-price .price small { font-size: 14px; color: var(--r-accent); margin-left: 4px; }
body.redesigned .g2-price .change { font-size: 12px; margin-top: 6px; font-weight: 600; }
body.redesigned .g2-price .change.up { color: #B91C1C; }
body.redesigned .g2-price .change.dn { color: var(--r-accent); }
body.redesigned .g2-price .change.flat { color: var(--r-ink-2); }

/* 게시판 탭 */
body.redesigned .g2-boards {
  background: #fff; border: 1px solid var(--r-line-2); border-radius: 24px;
  padding: 28px 32px; margin-top: 32px;
}
body.redesigned .g2-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--r-line-2); margin-bottom: 18px; }
body.redesigned .g2-tabs button {
  background: transparent; border: 0; padding: 13px 20px; font: inherit; cursor: pointer;
  font-size: 16px; color: var(--r-ink-2); font-weight: 600; margin-bottom: -2px;
}
body.redesigned .g2-tabs button.on { color: var(--r-ink); border-bottom: 3px solid var(--r-accent); font-weight: 700; }
body.redesigned .g2-post {
  display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--r-line-2); font-size: 14px;
}
body.redesigned .g2-post .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.redesigned .g2-post:last-child { border-bottom: 0; }
body.redesigned .g2-post .ix { font-family: var(--r-font-display); font-size: 13px; color: var(--r-ink-3); }
body.redesigned .g2-post .title { color: #102818; font-weight: 500; text-decoration: none; }
body.redesigned .g2-post .title:hover { color: var(--r-accent); }
body.redesigned .g2-post .new {
  background: var(--r-accent); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px;
  margin-left: 6px; font-family: var(--r-font-display);
}
body.redesigned .g2-post .who { font-size: 12px; color: var(--r-ink-2); }
body.redesigned .g2-post .when { font-size: 12px; color: var(--r-ink-3); }

/* Contact strip */
body.redesigned .g2-contact {
  background: #102818; color: #fff; padding: 64px 32px;
  border-radius: 0; border: 0; margin: 48px 0 0; width: 100%; max-width: none;
  position: relative; overflow: hidden; box-sizing: border-box;
}
body.redesigned .g2-contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(22,163,74,.25), transparent 50%);
}
body.redesigned .g2-contact-inner {
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: center;
}
body.redesigned .g2-contact h3 {
  font-family: var(--r-font-display); font-size: 34px; margin: 0; line-height: 1.15; letter-spacing: -.025em;
}
body.redesigned .g2-contact p { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 10px; max-width: 300px; }
body.redesigned .g2-contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
body.redesigned .g2-contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 20px; backdrop-filter: blur(8px); transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block;
}
body.redesigned .g2-contact-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px -10px rgba(0,0,0,.3);
  border-color: rgba(255,255,255,.3);
}
body.redesigned .g2-contact-card .r { font-size: 10px; color: #A7F3D0; font-weight: 700; letter-spacing: .16em; }
body.redesigned .g2-contact-card h5 {
  font-family: var(--r-font-display); font-size: 18px; margin: 6px 0 10px;
  letter-spacing: -.01em; color: #fff;
}
body.redesigned .g2-contact-card .ph { font-size: 16px; font-weight: 700; font-feature-settings: "tnum"; color: #fff; }
body.redesigned .g2-contact-card { color: #fff; text-decoration: none; }

/* =========================
   S5. G2 Footer
   ========================= */
body.redesigned .at-footer { display: none !important; }
body.redesigned .g2-footer {
  background: #0A1810; color: rgba(255,255,255,.6); padding: 48px 0; font-size: 14px; border-top: 0;
}
body.redesigned .g2-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
body.redesigned .g2-footer-copy { font-family: var(--r-font-display); color: #fff; font-size: 22px; letter-spacing: -.02em; }
body.redesigned .g2-footer-meta { margin-top: 6px; }
body.redesigned .g2-footer-addr { font-size: 13px; text-align: right; line-height: 1.6; }
/* 푸터 관련사이트 펼침목록 */
body.redesigned .g2-footer-related { display: flex; align-items: center; gap: 10px; }
body.redesigned .g2-footer-related .g2-related-label { font-size: 13px; color: rgba(255,255,255,.55); white-space: nowrap; }
body.redesigned .g2-related-select {
  background: #14532D; color: #fff; border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; padding: 9px 14px; font-size: 14px; font-family: var(--r-font-body);
  cursor: pointer; max-width: 280px;
}
body.redesigned .g2-related-select:hover { border-color: var(--r-accent); }
body.redesigned .g2-related-select option { background: #fff; color: #14532D; }

/* =========================
   S6. Amina 컴포넌트 오버라이드 (한정 셀렉터)
   ========================= */
/* 6a: 레이아웃 */
body.redesigned .wrapper { background: var(--r-bg); overflow: visible; max-width: none; width: 100%; margin: 0; padding: 0; }
body.redesigned #thema_wrapper { overflow: visible; max-width: none; width: 100%; margin: 0; padding: 0; }
/* 서브 페이지: at-container에 padding 부여 → at-row 음수 마진 상쇄 */
body.redesigned .at-container { padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
body.redesigned.is-home .at-body,
body.redesigned.is-home .at-container,
body.redesigned.is-home .at-row,
body.redesigned.is-home .at-main { overflow: visible; max-width: none; width: 100%; padding: 0; margin: 0; }
body.redesigned.is-home .at-side { display: none !important; }
body.redesigned.is-home .at-row { display: block; margin-left: 0; margin-right: 0; }
body.redesigned.is-home .at-main { display: block; float: none; }

/* 6b: 사이드 위젯 */
body.redesigned .at-side .widget-box,
body.redesigned .at-side .panel {
  background: var(--r-paper); border: 1px solid var(--r-line-2); border-radius: var(--r-radius-sm);
  box-shadow: 0 1px 2px rgba(20,83,45,.04); margin: 0 0 24px; padding: 14px; overflow: hidden;
}
body.redesigned .at-side .panel-heading,
body.redesigned .at-side .div-title-underbar {
  font-family: var(--r-font-body); font-size: 16px; font-weight: 700; color: var(--r-ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--r-line-2); padding: 0 0 10px; margin: 0 0 14px;
}
body.redesigned .at-side li {
  padding: 5px 0; border-bottom: 1px solid #F0EDE2; font-size: 13px; color: var(--r-ink-2);
  font-family: var(--r-font-body); line-height: 1.5;
}
body.redesigned .at-side .ca-sub li,
body.redesigned .at-side .sub-1dli,
body.redesigned .at-side ul ul li { padding-left: 16px; }
body.redesigned .at-side li:last-child { border-bottom: 0; }
body.redesigned .at-side li a { color: var(--r-ink-2); text-decoration: none; font-weight: 500; }
body.redesigned .at-side li a:hover { color: var(--r-ink); }
body.redesigned .at-side li img {
  width: 20px; height: 20px; max-width: 20px; max-height: 20px; border-radius: 50%;
  display: inline-block; vertical-align: middle; margin: 0 4px 0 0; object-fit: cover;
}
body.redesigned .at-side img { display: inline-block; vertical-align: middle; max-width: 100%; height: auto; }

/* 6c~6i: amina 셀렉터 제거 — 게시판/페이지/버튼/폼/댓글은 amina 원본 그대로 */
body.redesigned .amina-header .header-breadcrumb { font-family: var(--r-font-body); font-size: 13px; color: var(--r-ink-2); }
body.redesigned .amina-header .div-title-underbar b,
body.redesigned .amina-header .div-title-underbar strong {
  font-family: var(--r-font-body); font-size: 20px; font-weight: 700; color: #102818;
}

/* 6j: Focus outline 제거 */
body.redesigned a:focus,
body.redesigned button:focus { outline: none; box-shadow: none; }

/* =========================
   S7. 아이콘 폰트 보호
   ========================= */
body.redesigned .fa { font-family: FontAwesome !important; }
body.redesigned .glyphicon { font-family: 'Glyphicons Halflings' !important; }

/* =========================
   S8. 반응형
   ========================= */
@media (max-width: 768px) {
  /* 유틸바 간소화 */
  body.redesigned .g2-util-left a:not(#make_qr),
  body.redesigned .g2-util-left > span { display: none !important; }
  body.redesigned .g2-util-inner { padding: 0 16px; height: 36px; }
  body.redesigned .g2-util-right { font-size: 12px; gap: 8px; }
  /* 헤더 컴팩트 */
  body.redesigned .g2-header-inner { padding: 10px 16px; gap: 12px; }
  body.redesigned .g2-brand h1 { font-size: 18px; }
  body.redesigned .g2-brand-sub { display: none; }
  body.redesigned .g2-leaf { width: 36px; height: 36px; border-radius: 10px; }
  body.redesigned .g2-leaf span { font-size: 16px; }
  /* GNB -> 햄버거 */
  body.redesigned .g2-gnb { display: none !important; }
  body.redesigned .g2-hamburger { display: flex !important; }
  body.redesigned .g2-mobile-menu[style*="block"] { display: block; }
  /* 헤더와 본문 제목이 붙어 보이는 문제 — 본문 상단 여백 확보 */
  body.redesigned .at-body { padding-top: 22px; }
  /* 제목바(.at-title)는 at-body 밖(wrapper 직계)이라 위 여백을 직접 부여 → 헤더와 간격 확보 */
  body.redesigned .at-title { margin-top: 14px; }
}

@media (max-width: 992px) {
  /* Hero 1열 */
  body.redesigned .g2-hero .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  body.redesigned .g2-hero .hero-top h1 { font-size: 42px; }
  /* Consent/갤러리/시세/Contact 2열 */
  body.redesigned .g2-consent,
  body.redesigned .g2-gallery,
  body.redesigned .g2-prices,
  body.redesigned .g2-contact-grid { grid-template-columns: 1fr 1fr; }
  body.redesigned .g2-contact-inner { grid-template-columns: 1fr; }
  body.redesigned .g2-body { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  body.redesigned .g2-consent,
  body.redesigned .g2-gallery,
  body.redesigned .g2-prices,
  body.redesigned .g2-contact-grid { grid-template-columns: 1fr; }
  body.redesigned .g2-hero .hero-top h1 { font-size: 36px; }
  body.redesigned .g2-hero .hero-top p { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
  /* 모바일 CTA: 세로 정렬 + 간격 + 동일 너비(통일감) */
  body.redesigned .g2-hero .cta { display: flex; flex-direction: column; gap: 12px; }
  body.redesigned .g2-hero .cta a { width: 100%; margin-right: 0; text-align: center; box-sizing: border-box; }
  body.redesigned .g2-gallery .g2-gal:nth-child(n+3) { display: none; }
  /* 모바일: 메인 섹션 좌우 거터 16px로 통일(과한 여백 축소 + 섹션 간 폭 일치). 기존 hero=32 / keyfig=이중거터 / body=margin32 / contact=padding32 혼재 해소. */
  body.redesigned .g2-hero { padding-left: 16px; padding-right: 16px; }
  body.redesigned .g2-keyfig { width: calc(100% - 32px); padding-left: 0; padding-right: 0; }
  body.redesigned .g2-body { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; }
  body.redesigned .g2-contact { padding-left: 16px; padding-right: 16px; }
}

/* S10: 게시판/댓글 녹색 포인트 (에디터 밖 — 침범 없음) */
body.redesigned .comment-submit,
body.redesigned .comment-cell.comment-submit,
body.redesigned #btn_submit {
  background: #14532D !important; color: #fff !important;
  border: 0; border-radius: 8px; cursor: pointer;
  font-family: var(--r-font-body); font-weight: 600;
}
body.redesigned .comment-form { border-color: #14532D; }

/* 게시판 버튼 — btn-black/btn-color 녹색 변환 (에디터 밖) */
body.redesigned .at-main > .btn-black,
body.redesigned .at-main > .btn-color,
body.redesigned .at-main .form-group .btn-black,
body.redesigned .at-main .form-group .btn-color,
body.redesigned .at-main .btn-group .btn-black,
body.redesigned .at-main .btn-group .btn-color {
  background: #14532D !important; color: #fff !important; border-color: #14532D !important;
}

/* 테마 녹색 버튼 — 부트스트랩 컬러 클래스(btn-navy 등) 대체용 재사용 클래스 */
.btn.btn-nok { background: #14532D; color: #fff; border-color: #14532D; }
.btn.btn-nok:hover, .btn.btn-nok:focus, .btn.btn-nok:active { background: #0F3D21; color: #fff; border-color: #0F3D21; }
/* 테마 녹색 배경 — bg-navy 등 대체용 재사용 클래스 */
.bg-nok { background-color: #14532D; }

/* S12: 게시판 보더 녹색 포인트 (에디터 밖) */
body.redesigned .view-title,
body.redesigned .bo_v_tit,
body.redesigned .view-subject { border-top: 3px solid #14532D; }
body.redesigned .view-info { border-top: 1px solid #14532D; }
body.redesigned .list-notice { border-top: 3px solid #14532D; }
body.redesigned .amina-header .div-title-underbar-bold { border-color: #14532D !important; }
body.redesigned .comment-form { border-top: 2px solid #14532D; }
body.redesigned .at-main .panel-default { border-top: 3px solid #14532D; }

/* S11: 사이드 녹색 포인트 (.at-side 한정 — 에디터 침범 없음) */
body.redesigned .at-side .div-title-underbar-bold { border-color: var(--r-ink) !important; }
body.redesigned .at-side .panel-heading { border-bottom: 2px solid var(--r-ink); }

/* 사이드 제목 강조 — 제목폰트(Black Han Sans)+진녹색. .at-side / #sidebar-box 한정(헤더·본문 영향 없음) */
body.redesigned .at-side .div-title-underbar-bold,
body.redesigned .at-side .div-title-underline-thin,
body.redesigned #sidebar-box .div-title-underbar-bold,
body.redesigned #sidebar-box .div-title-underline-thin {
  font-family: var(--r-font-display);
  color: var(--r-ink);
}
body.redesigned .at-side li a:hover { color: var(--r-accent) !important; }
body.redesigned .at-side .widget-box,
body.redesigned .at-side .panel { border-left: 3px solid var(--r-ink); }

/* 사이드 SNS 공유 아이콘 — 작게 + 1줄 */
body.redesigned .at-side .sns-share-icon { display: flex; flex-wrap: nowrap; gap: 6px; justify-content: center; }
body.redesigned .at-side .sns-share-icon a { display: inline-block; }
body.redesigned .at-side .sns-share-icon img { width: 28px !important; height: 28px !important; }

/* 사이드바 MEMBER/SERVICE 헤딩 — 녹색 포인트 */
body.redesigned .sidebar-item h4 { color: #14532D !important; }
body.redesigned .sidebar-item h4::after { background: #14532D !important; }
body.redesigned .sidebar-item .side-tit::after { background: #14532D !important; }

/* 사이드 카테고리 3차 들여쓰기 */
body.redesigned .at-side .ca-sub .ca-sub li,
body.redesigned .at-side ul ul ul li { padding-left: 32px; }

@media (max-width: 680px) {
  body.redesigned .g2-footer-inner { flex-direction: column; align-items: flex-start; }
  body.redesigned .g2-footer-addr { text-align: left; }
}

/* =========================
   S9. G2 사이드 위젯
   ========================= */
body.redesigned .g2-side .ad-banner {
  display: block; border: 0; border-radius: 0; overflow: hidden;
  background: #fff; margin-bottom: 18px;
}
body.redesigned .g2-side .ad-banner img { display: block; width: 100%; height: auto; }
body.redesigned .g2-side-kakao {
  background: #fff; border: 1px solid var(--r-line-2); border-radius: 24px; padding: 16px 18px;
}
body.redesigned .g2-side-kakao h4 {
  font-family: var(--r-font-display); font-size: 20px; margin: 0 0 4px;
  color: #102818; letter-spacing: -.015em;
}
body.redesigned .g2-side-kakao p { font-size: 14px; color: var(--r-ink-2); margin: 0 0 14px; }
body.redesigned .g2-side-kakao .k-row {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 0;
  border-top: 1px solid var(--r-line-2);
}
body.redesigned .g2-side-kakao .k-row:first-of-type { border-top: 0; }
body.redesigned .g2-side-kakao .k-row .name {
  font-family: var(--r-font-display); font-size: 18px; color: #102818; letter-spacing: -.01em;
}
body.redesigned .g2-side-kakao .k-row .pp { font-size: 13px; color: var(--r-ink-2); margin-top: 2px; }
body.redesigned .g2-side-kakao .k-row .go {
  background: #FEE500; color: #3C1E1E; padding: 8px 16px; border-radius: 999px;
  font-family: var(--r-font-display); font-size: 14px; letter-spacing: .04em; text-decoration: none;
}
/* 구역 아이덴티티 색상 (2-1 빨강 / 2-2 녹색 / 2-3 파랑) — 동의률카드·지도와 통일 */
body.redesigned .g2-side-kakao .k-row.r1 .name { color: #DC3D3D; }
body.redesigned .g2-side-kakao .k-row.r2 .name { color: #1B9E51; }
body.redesigned .g2-side-kakao .k-row.r3 .name { color: #2F74E0; }
body.redesigned .g2-side-kakao .k-row.r1 .go { background: #DC3D3D; color: #fff; }
body.redesigned .g2-side-kakao .k-row.r2 .go { background: #1B9E51; color: #fff; }
body.redesigned .g2-side-kakao .k-row.r3 .go { background: #2F74E0; color: #fff; }

/* === 메인 녹봇 진입 — 좌:설명 / 우:실제 녹봇 서비스 UI 예시 (사업규모처럼 좌우 분할) === */
body.redesigned .nokbot-promo { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:14px; align-items:stretch; }
/* 좌: 설명 카드 */
body.redesigned .nokbot-promo-info { background:#fff; border:1px solid var(--r-line-2); border-radius:22px; padding:26px 24px; display:flex; flex-direction:column; }
body.redesigned .nokbot-promo-info-title { font-family:var(--r-font-display); font-size:24px; color:var(--r-ink); line-height:1.1; }
body.redesigned .nokbot-beta-ico { display:inline-block; font-size:11px; font-weight:700; color:#fff; background:#f59e0b; padding:2px 7px; border-radius:6px; margin-left:7px; vertical-align:middle; letter-spacing:.04em; font-family:'Pretendard Variable',Pretendard,sans-serif; }
body.redesigned .nokbot-promo-desc { margin:14px 0 0; font-size:16px; line-height:1.7; color:var(--r-ink-2); word-break:keep-all; }
body.redesigned .nokbot-promo-desc b { color:#166534; }
body.redesigned .nokbot-promo-tags { list-style:none; margin:16px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
body.redesigned .nokbot-promo-tags li { font-size:13px; font-weight:600; color:#1f5135; background:#eef7f1; border:1px solid #d6e6dc; padding:6px 12px; border-radius:999px; }
body.redesigned .nokbot-promo-note { margin:16px 0 0; font-size:14px; line-height:1.55; color:#8a6d1f; background:#fff8e6; border:1px solid #f3e2b3; padding:11px 13px; border-radius:10px; }
body.redesigned .nokbot-promo-note b { color:#b45309; }
body.redesigned .nokbot-promo-cta { margin-top:18px; align-self:flex-start; display:inline-block; text-align:center; background:#14532D; color:#fff; border-radius:12px; padding:12px 24px; font-family:var(--r-font-display),'Pretendard Variable',Pretendard,sans-serif; font-size:24px; text-decoration:none; box-shadow:0 12px 28px -10px rgba(20,83,45,.55); transition:transform .2s, box-shadow .2s, background .2s; }
body.redesigned .nokbot-promo-cta:hover { background:#1A6638; transform:translateY(-3px); box-shadow:0 16px 36px -12px rgba(20,83,45,.6); }
/* 우: 실제 녹봇 UI 데모(chatbot.php 색·말풍선과 동일) */
body.redesigned .nokbot-promo-demo { display:flex; flex-direction:column; background:#fff; border:1px solid var(--r-line-2); border-radius:22px; overflow:hidden; text-decoration:none; color:inherit; transition:transform .2s, box-shadow .2s, border-color .2s; }
body.redesigned .nokbot-promo-demo:hover { transform:translateY(-3px); border-color:var(--r-accent); box-shadow:0 16px 40px -20px rgba(16,40,24,.2); }
body.redesigned .npd-bar { display:flex; align-items:center; gap:11px; padding:14px 16px; background:linear-gradient(180deg,#ECFDF5 0%,#d1fae5 100%); border-bottom:1px solid #cdedd9; }
body.redesigned .npd-ava { flex:none; width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,#22c55e,#16A34A); display:flex; align-items:center; justify-content:center; font-size:22px; box-shadow:0 2px 8px rgba(22,163,74,.3); }
body.redesigned .npd-name { font-size:16px; font-weight:800; color:#102818; line-height:1.1; }
body.redesigned .npd-beta { display:inline-block; font-size:10px; font-weight:700; color:#fff; background:#f59e0b; padding:1px 6px; border-radius:6px; margin-left:5px; vertical-align:middle; }
body.redesigned .npd-status { font-size:11.5px; color:#15803d; margin-top:3px; display:flex; align-items:center; gap:5px; }
body.redesigned .npd-dot { width:7px; height:7px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 2px rgba(34,197,94,.2); flex:none; }
body.redesigned .npd-chat { flex:1 1 auto; padding:16px 14px; background:#f6fbf6; display:flex; flex-direction:column; gap:10px; }
body.redesigned .npd-row { display:flex; align-items:flex-end; gap:7px; }
body.redesigned .npd-row.bot { justify-content:flex-start; }
body.redesigned .npd-row.me { justify-content:flex-end; }
body.redesigned .npd-ava-s { flex:none; width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,#22c55e,#16A34A); display:flex; align-items:center; justify-content:center; font-size:15px; }
body.redesigned .npd-bubble { max-width:80%; font-size:15px; line-height:1.55; padding:10px 14px; border-radius:16px; }
body.redesigned .npd-bubble.bot { background:#fff; color:#1f2d24; border:1px solid #e5efe8; border-bottom-left-radius:5px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
body.redesigned .npd-bubble.me { background:linear-gradient(135deg,#16A34A,#15803d); color:#fff; border-bottom-right-radius:5px; }
body.redesigned .npd-bubble.bot b { color:#166534; }
@media (max-width:720px){
  body.redesigned .nokbot-promo { grid-template-columns:1fr; }
}
