/* Hallmark · shape: the site's own (recomposed) · genre: modern-minimal · theme: brand (kept: #1565C0 blue, Inter + Noto Sans KR, pale-blue paper) · job: hire · draw: none (layout and controls only)
 * hero: Settled · nav: kept · footer: kept · imagery: photographs (the client's product shots) · signature: Pathfinder_Navi as the lead product, twice the size of the others · brand: kept
 * axes: light/grotesk-sans/brand-blue · posture: restrained · contrast: pass · fold: pass · redesign: full (buttons, layout and product cards; colours and type kept) · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V3 · weakest: V, the brand system stays by request; variety comes from a lead product card and a split close instead of three equal cards and a centred band */
/* Hallmark · waive 44c · the hero fills the screen with its two columns centred under the fixed nav · the stats and the product slider end within 180px of the fold, the linter stops at the headline block */
/* Hallmark · waive 79 · the space under the hero headline holds the stats row and the slider dots · a layout-only sample keeps the hero's own content and does not add copy to fill it */
/* Hallmark · dismissed F19 · Inter at five weights is the brand's own system, kept by request in a sample that changes only buttons and layout */

/* ============================================================
   css/home-layout.css — 홈 버튼·배치·제품 카드 (2026-11)
   색(--primary 등), 글꼴, 로고, 메뉴, 푸터는 기존 그대로.
   bundle-home.css와 polish.css 뒤에 불러옵니다.
   ============================================================ */

:root {
  --btn-h: 52px;
  --btn-radius: 6px;
  --sh-rule: var(--gray-200);
  --card-radius: 20px;
  --card-inset: 12px;
}

/* ── 1. 버튼: 각진 사각(6px) 버튼 · 보조 버튼은 테두리 없는 연한 파랑 바탕 ── */
.btn, .btn-lg, .btn-sm {
  min-height: var(--btn-h);
  padding: 0 28px;
  border: 0;
  border-radius: var(--btn-radius);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  gap: 8px;
}
.btn svg { display: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-dark); transform: none; box-shadow: none; }
.btn-outline { background: var(--blue-50); color: var(--primary-dark); border: 0; }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--blue-100); color: var(--primary-dark); transform: none; }
.btn-white-solid { background: var(--white); color: var(--primary-dark); }
.btn-white-solid:hover, .btn-white-solid:focus-visible { background: var(--blue-50); transform: none; box-shadow: none; }
.btn-outline-white { background: color-mix(in oklab, var(--white) 14%, transparent); color: var(--white); border: 0; }
.btn-outline-white:hover, .btn-outline-white:focus-visible { background: color-mix(in oklab, var(--white) 24%, transparent); transform: none; }
.btn:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--primary-dark); text-decoration: underline; text-decoration-color: var(--gray-300); text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--primary); }

/* ── 2. 히어로: 장식 원·배지·스크롤 표시를 빼고, 한 화면에 가운데 정렬 ── */
/* 화면 높이를 억지로 채우지 않고 내용 높이만큼: 아래 빈 공간 제거 (메뉴 68px + 위 72px, 아래 80px) */
.home-v2 .hero { min-height: 0; display: flex; align-items: center; padding-top: calc(68px + 72px); padding-bottom: 80px; }
.home-v2 .hero-inner { width: 100%; padding-block: 0; }
.home-v2 .hero-title { margin-top: 0; }
.home-v2 .hero-slogan { border-left: 0; padding-left: 0; font-style: normal; color: var(--gray-600); font-size: 1.15rem; max-width: 46ch; }
.home-v2 .hero-actions { gap: 12px; margin-top: 32px; }
.home-v2 .hero-stats { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--sh-rule); gap: 40px; }
.home-v2 .stat-divider { display: none; }
.home-v2 .stat-label { text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--gray-600); }

/* ── 3. 특징 띠: 아이콘 동그라미를 빼고 글자만, 얇은 선으로 구분 ── */
/* 아이콘은 제목 옆에, 글자는 한 단계 크게, 위아래 여백 넉넉히 */
.home-v2 .feature-strip { border-top: 1px solid var(--sh-rule); border-bottom: 1px solid var(--sh-rule); }
.home-v2 .feat-item { flex-direction: row; align-items: flex-start; gap: 16px; padding: 40px 32px; border-right: 1px solid var(--sh-rule); }
.home-v2 .feat-item:first-child { padding-left: 0; }
.home-v2 .feat-item:hover { background: var(--off-white); }
.home-v2 .feat-icon { width: 44px; height: 44px; background: var(--blue-50); border-radius: 10px; }
.home-v2 .feat-icon svg { width: 22px; height: 22px; }
.home-v2 .feat-text h4 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.home-v2 .feat-text p { font-size: .95rem; line-height: 1.5; color: var(--gray-600); }

/* ── 4. 제품: 제목은 왼쪽, '전체 보기'는 오른쪽 / 대표 제품 1개를 크게 ── */
.home-v2 .section-split { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; text-align: left; }
.home-v2 .section-split .section-title, .home-v2 .section-split .section-desc { text-align: left; margin-left: 0; margin-right: 0; }
.home-v2 .section-split .section-desc { max-width: 56ch; }
.home-v2 .label-tag { display: none; }
.home-v2 .pcv-badge { display: none; }

/* 카드: 색 테두리 → 테두리 없는 흰 카드, 사진은 카드 안쪽 여백 안에 둥글게 */
.home-v2 .prod-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-v2 .prod-card,
.home-v2 .prod-card[class*="prod-card-"] {
  border: 0 !important;
  border-radius: var(--card-radius);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--sh-rule);
  padding: var(--card-inset);
  transition: box-shadow .2s ease;
}
.home-v2 .prod-card:hover,
.home-v2 .prod-card[class*="prod-card-"]:hover,
.home-v2 .prod-card:focus-within { transform: none; box-shadow: 0 0 0 2px var(--primary); }
.home-v2 .prod-card-visual {
  border-radius: calc(var(--card-radius) - var(--card-inset));
  background-color: var(--gray-50);
  background-size: cover;
  background-position: center;
  height: auto;
  aspect-ratio: 16 / 10;
}
.home-v2 .prod-card-body { padding: 24px 16px 8px; }

/* 대표 제품(Pathfinder_Navi): 전체 폭, 사진 왼쪽 · 설명 오른쪽 */
.home-v2 .prod-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.home-v2 .prod-card:first-child .prod-card-visual { aspect-ratio: auto; min-height: 380px; background-size: contain !important; background-color: var(--gray-50) !important; }
.home-v2 .prod-card:first-child .prod-card-body { padding: 32px 24px; justify-content: center; }
.home-v2 .prod-card:first-child .pcd-title { font-size: 2rem; }

/* 카드 안 글자: 대문자 라벨 → 일반 문장형 · 체크 동그라미 → 얇은 구분선 목록 */
.home-v2 .pcd-tag { text-transform: none; letter-spacing: 0; font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.home-v2 .pcd-tag.t-pink { color: var(--pink); }
.home-v2 .pcd-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.home-v2 .pcd-desc { font-size: .95rem; color: var(--gray-600); margin-bottom: 20px; flex: 0 0 auto; }
.home-v2 .pcd-features { gap: 0; margin-bottom: 24px; border-top: 1px solid var(--sh-rule); }
.home-v2 .pcd-feat { font-size: .9rem; color: var(--gray-700); padding: 10px 0; border-bottom: 1px solid var(--sh-rule); }
.home-v2 .pcd-feat::before { display: none; }
.home-v2 .pcd-link { margin-top: auto; align-self: flex-start; min-height: 44px; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: currentColor; }
.home-v2 .pcd-link.l-pink { color: var(--pink); }
.home-v2 .pcd-link svg { display: none; }

/* 제목 줄바꿈: 마지막 줄에 한 단어만 남지 않게 */
.home-v2 .section-title, .home-v2 .cta-inner h2 { text-wrap: balance; }

/* ── 5. 파트너: 제목 왼쪽 정렬 ── */
.home-v2 #partners-sec .section-header { text-align: left; }
.home-v2 #partners-sec .section-title, .home-v2 #partners-sec .section-desc { text-align: left; margin-left: 0; margin-right: 0; }

/* ── 6. 마무리: 가운데 띠 → 왼쪽 문구 · 오른쪽 버튼 ── */
.home-v2 .cta-sec { background: var(--primary); }
.home-v2 .cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; text-align: left; }
.home-v2 .cta-inner h2, .home-v2 .cta-inner p { text-align: left; margin-left: 0; }
.home-v2 .cta-actions { justify-content: flex-end; }
.home-v2 .cta-copy { display: grid; gap: 12px; }

/* ── 좁은 화면 ── */
@media (max-width: 960px) {
  .home-v2 .hero { min-height: auto; padding-top: calc(68px + 40px); padding-bottom: 56px; }
  .home-v2 .feat-item, .home-v2 .feat-item:first-child { padding: 28px 20px; }
  .home-v2 .section-split { flex-direction: column; align-items: start; }
  .home-v2 .prod-home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-v2 .prod-card:first-child { grid-template-columns: minmax(0, 1fr); }
  .home-v2 .prod-card:first-child .prod-card-visual { min-height: 240px; }
  .home-v2 .prod-card:first-child .prod-card-body { padding: 24px 16px 8px; }
  .home-v2 .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .home-v2 .cta-actions { justify-content: flex-start; }
}

/* ════════════════════════════════════════════════════════════
   투자 파트너스 (2026-11)
   흰색 투명 로고라 남색 띠 위에 둡니다. 6칸, 칸마다 같은 높이.
   ════════════════════════════════════════════════════════════ */
.home-v2 .inv-sec { background: var(--gray-800); color: var(--white); padding-block: 96px; }
.home-v2 .inv-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.home-v2 .inv-head h2 { margin: 0; font-size: clamp(1.75rem, 1.2vw + 1.2rem, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--white); text-wrap: balance; word-break: keep-all; }
.home-v2 .inv-head p { margin: 0; max-width: 40ch; font-size: 1rem; line-height: 1.6; color: var(--gray-300); word-break: keep-all; }
.home-v2 .inv-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid color-mix(in oklab, var(--white) 16%, transparent);
  border-left: 1px solid color-mix(in oklab, var(--white) 16%, transparent);
}
.home-v2 .inv-grid li {
  display: flex; align-items: center; justify-content: center;
  min-height: 128px; padding: 24px 32px;
  border-right: 1px solid color-mix(in oklab, var(--white) 16%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--white) 16%, transparent);
}
.home-v2 .inv-grid img { display: block; width: auto; height: auto; max-height: 48px; max-width: 100%; object-fit: contain; }
.home-v2 .inv-grid .inv-wide img { max-height: 44px; }
@media (max-width: 760px) {
  .home-v2 .inv-sec { padding-block: 64px; }
  .home-v2 .inv-head { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 32px; }
  .home-v2 .inv-grid { grid-template-columns: minmax(0, 1fr); }
  .home-v2 .inv-grid li { min-height: 88px; padding: 20px 24px; }
  .home-v2 .inv-grid img { max-height: 40px; max-width: min(100%, 300px); }
}

/* ════════════════════════════════════════════════════════════
   투자·협력 파트너 로고 띠 (2026-11)
   첫 화면에 보이도록 히어로 바로 아래 얇은 두 줄.
   투자사 로고(흰색 투명)는 밝은 띠에서 보이게 어두운 회색으로 바꿔 씁니다.
   ════════════════════════════════════════════════════════════ */
.home-v2 .hero { padding-top: calc(68px + 48px); padding-bottom: 40px; }
.home-v2 .trust-strip { background: var(--white); border-top: 1px solid var(--sh-rule); border-bottom: 1px solid var(--sh-rule); }
.home-v2 .trust-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: center; gap: 24px; min-height: 72px; }
.home-v2 .trust-row + .trust-row { border-top: 1px solid var(--sh-rule); }
.home-v2 .trust-label { margin: 0; font-size: .9rem; font-weight: 700; color: var(--gray-700); letter-spacing: 0; word-break: keep-all; }
.home-v2 .trust-inv { list-style: none; margin: 0; padding: 8px 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; align-items: center; }
.home-v2 .trust-inv li { display: flex; align-items: center; justify-content: center; min-width: 0; }
.home-v2 .trust-inv img { display: block; width: auto; height: auto; max-height: 30px; max-width: 100%; filter: brightness(0); opacity: .72; transition: opacity .2s ease; }
.home-v2 .trust-inv li:hover img { opacity: 1; }
.home-v2 .trust-row--partners .partners-wrap { margin-top: 0; }
.home-v2 .trust-row--partners .partners-wrap::before,
.home-v2 .trust-row--partners .partners-wrap::after { width: 64px; }
.home-v2 .trust-row--partners .partners-track { gap: 8px; padding-block: 8px; }
.home-v2 .trust-row--partners .partner-logo-item { height: 56px; width: auto; padding: 0; border: 0; box-shadow: none; background: none; }
.home-v2 .trust-row--partners .partner-logo-item img { height: 56px; width: auto; max-width: none; }
.home-v2 .trust-row--partners .partners-wrap:focus-within .partners-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .home-v2 .trust-row--partners .partners-track { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 960px) {
  .home-v2 .hero { padding-top: calc(68px + 32px); }
  .home-v2 .trust-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 12px; min-height: 0; }
  .home-v2 .trust-inv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
  .home-v2 .trust-inv img { max-height: 24px; }
  .home-v2 .trust-row--partners .partner-logo-item, .home-v2 .trust-row--partners .partner-logo-item img { height: 44px; }
}
