/* ══════════════════════════════════════════════════════════
   ARK ONE ver4 — LP 전용 컴포넌트 (base.css 뒤에 로드)
   세그먼트 랜딩(LP-A~E) 공통으로 쓰는 추가 블록들.
   ══════════════════════════════════════════════════════════ */

/* ── 정적 히어로 (슬라이더 없는 LP용) ── */
.lp-hero { min-height: 700px; height: 92svh; }
.lp-hero .hero-inner { padding-bottom: 64px; }
.lp-hero .hero-copy { max-width: 860px; }

/* ── CTA 3종 스트립 ── */
.cta-strip { background: var(--green); color: white; }
.cta-strip .shell { display: grid; grid-template-columns: repeat(3, 1fr); }
.cta-item { display: flex; align-items: center; gap: 16px; padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.16); transition: background .25s ease; }
.cta-item:first-child { padding-left: 0; }
.cta-item:last-child { border-right: 0; }
.cta-item:hover, .cta-item:focus-visible { background: rgba(255,255,255,.06); outline: 0; }
.cta-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(185,232,139,.14); color: var(--accent); }
.cta-icon svg { width: 20px; height: 20px; }
.cta-item b { display: block; font-size: 15px; }
.cta-item small { display: block; margin-top: 3px; font-size: 11.5px; color: rgba(255,255,255,.6); }

/* ── 비교표 (아파트 청약 vs 오피스텔) ── */
.compare-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: 13px; letter-spacing: .02em; padding-top: 26px; }
.compare-table thead th:nth-child(2) { color: var(--muted); }
.compare-table thead th:nth-child(3) { color: var(--green); }
.compare-table tbody th { width: 160px; font-size: 12.5px; color: var(--muted); font-weight: 650; }
.compare-table td { font-size: 14.5px; }
.compare-table td:last-child { background: rgba(185,232,139,.1); font-weight: 650; }
.compare-badge { display: inline-block; margin-left: 8px; padding: 3px 8px; background: var(--green); color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .08em; vertical-align: middle; }

/* ── 신뢰 카드 (같은 단지·같은 인프라) ── */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card { border: 1px solid var(--line); background: var(--white); padding: 30px 28px 26px; display: flex; flex-direction: column; min-height: 230px; }
.trust-card > span { font-size: 10px; letter-spacing: .2em; color: var(--green); font-weight: 750; }
.trust-card h3 { margin: 14px 0 12px; font-size: 22px; line-height: 1.28; letter-spacing: -.03em; }
.trust-card h3 em { font-style: normal; color: var(--green); }
.trust-card p { margin: auto 0 0; font-size: 13.5px; color: #454c49; }

/* ── 절차 스텝 ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step-card { position: relative; background: var(--white); border: 1px solid var(--line); padding: 30px 28px 26px; }
.step-card::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 13px; font-weight: 750; letter-spacing: .1em; color: var(--accent); background: var(--green); width: fit-content; padding: 5px 11px; }
.step-card h3 { margin: 18px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.step-card p { margin: 0; font-size: 13.5px; color: #454c49; }
.step-card small { display: block; margin-top: 14px; font-size: 11.5px; color: var(--muted); }

/* ── 규칙/전매 안내 카드 ── */
.rule-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule-card { border: 1px solid var(--line); background: var(--paper); padding: 28px; }
.rule-card h3 { margin: 0 0 14px; font-size: 19px; letter-spacing: -.02em; }
.rule-card ul { list-style: none; margin: 0; padding: 0; }
.rule-card li { position: relative; padding: 9px 0 9px 17px; border-top: 1px solid var(--line); font-size: 13.5px; color: #454c49; }
.rule-card li::before { content: ""; position: absolute; left: 0; top: 16px; width: 5px; height: 5px; background: var(--green); }
.rule-card li b { color: var(--ink); }

/* ── 분양가 공개 즉시 알림 배너 ── */
.alert-banner { background: var(--green); color: white; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.alert-banner .alert-copy b { display: block; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.03em; }
.alert-banner .alert-copy b em { font-style: normal; color: var(--accent); }
.alert-banner .alert-copy p { margin: 10px 0 0; font-size: 13.5px; color: rgba(255,255,255,.72); }
.alert-banner .button { flex: 0 0 auto; }
.alert-banner .button-primary { background: var(--accent); color: var(--ink); }

/* ── LP별 무드 테마 (브랜드 그린 계열 내 변주) ──
   페이지 <body data-lp="lp-x">로 활성화. lp-a는 기본 팔레트 사용. */
body[data-lp="lp-b"] { --green: #14423d; --accent: #9fe3cf; }   /* 실거주: 아침의 민트 */
body[data-lp="lp-b"] .register-section { background: #c6d6d0; }
body[data-lp="lp-c"] { --green: #0e2b26; --accent: #d9c48d; --paper: #f6f4ee; }   /* 프리미엄: 딥그린+골드 */
body[data-lp="lp-c"] .register-section { background: #d3cdbd; }
body[data-lp="lp-d"] { --green: #33503a; --accent: #ecd39a; --paper: #f8f5ee; }   /* 증여·부모: 따뜻한 올리브+샌드 */
body[data-lp="lp-d"] .register-section { background: #dad3c0; }
body[data-lp="lp-e"] { --green: #10333d; --accent: #8fd0dc; }   /* 투자·법인: 스틸 틸 */
body[data-lp="lp-e"] .register-section { background: #c5d1d4; }

/* ── LP-F 시니어 다이렉트형 (60대+ · 큰 글씨 · 전화 최우선) ── */
body[data-lp="lp-f"] { --green: #143528; --accent: #ffd257; font-size: 18px; }
body[data-lp="lp-f"] .register-section { background: #d9d4c2; }
body[data-lp="lp-f"] .hero-kicker { font-size: clamp(19px, 2vw, 26px); }
body[data-lp="lp-f"] .hero-summary { font-size: 19px; }
body[data-lp="lp-f"] .hero-note { font-size: 14px; color: rgba(255,255,255,.78); }
body[data-lp="lp-f"] .button { min-height: 66px; font-size: 17px; }
body[data-lp="lp-f"] .proof-grid b { font-size: 20px; }
body[data-lp="lp-f"] .proof-grid p { font-size: 14px; }
body[data-lp="lp-f"] .trust-card h3 { font-size: 27px; }
body[data-lp="lp-f"] .trust-card p { font-size: 16.5px; }
body[data-lp="lp-f"] .alert-banner .alert-copy p { font-size: 16px; }
body[data-lp="lp-f"] .faq-list summary { font-size: 21px; min-height: 92px; }
body[data-lp="lp-f"] .faq-list details > p { font-size: 16.5px; }
body[data-lp="lp-f"] .field > span { font-size: 15px; }
body[data-lp="lp-f"] .field input, body[data-lp="lp-f"] .field select { height: 62px; font-size: 18px; }
body[data-lp="lp-f"] .consent b { font-size: 14px; }
body[data-lp="lp-f"] .submit-button { height: 74px; font-size: 18px; }
body[data-lp="lp-f"] .float-btn { width: 68px; height: 68px; }
body[data-lp="lp-f"] .float-btn svg { width: 30px; height: 30px; }
.urgent-chip { display: inline-block; background: #c8401f; color: #fff; font-weight: 800; font-size: 13px;
  padding: 6px 13px; border-radius: 6px; letter-spacing: .04em; margin-bottom: 16px; }
.call-hero { background: linear-gradient(135deg, #0f2a20, #17402f); color: #fff; text-align: center; padding: 70px 24px; }
.call-hero h2 { font-size: clamp(30px, 4.5vw, 50px); letter-spacing: -.035em; margin: 0 0 12px; }
.call-hero > p { color: rgba(255,255,255,.75); font-size: 17px; margin: 0 auto 30px; max-width: 560px; }
.call-big { display: inline-flex; align-items: center; gap: 16px; background: var(--accent); color: var(--ink);
  font-weight: 900; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.02em; padding: 22px 40px; border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.35); }
.call-big svg { width: 36px; height: 36px; flex: 0 0 auto; }
.call-sub { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,.6); }
.share-row { margin-top: 26px; }
.share-btn { display: inline-flex; gap: 10px; align-items: center; border: 1.5px solid rgba(255,255,255,.5);
  color: #fff; padding: 13px 22px; border-radius: 10px; font-size: 15.5px; font-weight: 700; cursor: pointer; background: none; }
.share-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  body[data-lp="lp-f"] .mobile-actions { height: 74px; }
  body[data-lp="lp-f"] .mobile-actions a { font-size: 17px; }
  .call-big { width: 100%; justify-content: center; padding: 20px 16px; }
}

/* ── 반응형 ── */
@media (max-width: 1050px) {
  .trust-grid, .steps { grid-template-columns: 1fr; }
  .rule-panel { grid-template-columns: 1fr; }
  .cta-strip .shell { grid-template-columns: 1fr; }
  .cta-item, .cta-item:first-child { padding: 18px 4px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .cta-item:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
  .lp-hero { min-height: 640px; height: calc(100svh - 62px); }
  .alert-banner { padding: 28px 22px; }
  .alert-banner .button { width: 100%; }
  .compare-table th, .compare-table td { padding: 15px 14px; }
  .compare-table tbody th { width: 110px; }
}
