/* home.dinsightlab.com 공용 스타일 — 첫 화면(company_home)과 내부 페이지(home_*) 가 같이 쓴다. */
:root {
  --ink: #191f28; --ink-2: #4e5968; --ink-3: #8b95a1; --line: #e5e8eb;
  --bg: #ffffff; --bg-soft: #f2f4f6; --bg-dark: #17171c;
  --passive: #ff6f0f; --passive-tint: #fff2e8;
  --homemap: #00c471; --homemap-tint: #e6f9f0;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Pretendard Variable', Pretendard, -apple-system, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 헤더 — 스크롤하면 흰 반투명 바탕 */
/* 머리 메뉴 — 배너(DiL)와 같은 어두운 바탕(2026-11-15 리뉴얼). 늘 불투명하고, 내리면 살짝 비치며 그림자만 더한다.
   오렌지는 지금 페이지 표시(밑줄) 하나에만 쓴다. */
.hd { position: fixed; inset: 0 0 auto; z-index: 20; height: 60px; display: flex; align-items: center;
      background: #0e0e12; border-bottom: 1px solid rgba(255,255,255,.08); transition: background-color .2s ease-out, box-shadow .2s ease-out; }
.hd.is-scrolled { background: rgba(14,14,18,.9); backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.hd .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { display: block; width: 54px; height: 24px; }
.logo span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.72);
             font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hd nav { display: flex; gap: 28px; font-size: 15px; color: rgba(255,255,255,.66); }
.hd nav a { position: relative; padding: 19px 0; transition: color .15s ease-out; }
.hd nav a:hover { color: #fff; }
.hd nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 12px; height: 2px; border-radius: 2px; background: #fff;
                   transform: scaleX(0); transition: transform .2s ease-out; }
.hd nav a:hover::after { transform: scaleX(1); opacity: .5; }
.hd nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--accent, #ff6f0f); opacity: 1; }
/* 배너 문구 — 회사 이름 옆. 강조어만 배너처럼 오렌지. 메뉴와 겹칠 폭에선 숨긴다. */
.logo .tagline { font-style: normal; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.88); letter-spacing: -.005em; white-space: nowrap; }
.logo .tagline b { color: var(--accent, #ff6f0f); font-weight: 700; }
/* 폭이 모자라면 회사 이름(DiL 마크가 대신함)부터 빼고 문구는 남긴다. 메뉴가 2개로 줄기 전(900px)까지 겹치지 않는 폭. */
@media (max-width: 1140px) { .logo span { display: none; } }
@media (max-width: 640px) { .logo .tagline { display: none; } }
@media (prefers-reduced-motion: reduce) { .hd nav a, .hd nav a::after { transition: none; } }

/* 왼쪽 섹션 진행 표시 */
.rail { position: fixed; left: 24px; top: 50%; transform: translateY(-50%); z-index: 15; display: flex; flex-direction: column; gap: 10px; }
.rail a { width: 14px; height: 2px; background: var(--ink-3); opacity: .35; transition: opacity .2s ease-out, transform .2s ease-out; transform-origin: left; }
.rail a.on { opacity: 1; background: var(--ink); transform: scaleX(1.5); }
.rail.on-dark a { background: #fff; }
@media (max-width: 900px) { .rail, .hd nav > a:not(.svc) { display: none; } .hd nav { gap: 18px; } }   /* 좁은 창은 서비스 링크만 남긴다 */

/* 히어로 — 가운데 제목·폰 한 대·좌우 떠 있는 기능 카드 (레퍼런스: uvodo 랜딩 배치, 2026-11-29) */
.hero { padding: 76px 16px 0; }
/* 옅은 격자 위에 위쪽만 흰빛으로 덮는다 — 폰 아래쪽은 패널 밖으로 잘려 나간다 */
.hero-panel { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); padding: clamp(56px, 8vh, 88px) 24px 0; text-align: center;
  background: linear-gradient(#fff 15%, rgba(255,255,255,0) 60%), linear-gradient(#eef0f3 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, #eef0f3 1px, transparent 1px) 0 0 / 44px 44px, #fafbfc; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.hero-copy h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 60px); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; }
.hero-copy h1 .hl { display: inline-block; padding: 0 .38em .06em; border-radius: 999px; background: var(--ink); color: #fff; }
/* 회사명을 H1 안에 두되(검색엔진이 읽는 첫 제목) 보이는 모습은 부제 문단처럼 */
.hero-copy h1 .h1-sub { display: block; margin-top: 18px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; font-weight: 400; letter-spacing: normal; color: var(--ink-2); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; }
.badge { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 12px; border-radius: 10px; background: #000; color: #fff; text-align: left; transition: transform .15s ease-out; }
.badge:hover, .go-btn:hover { transform: translateY(-2px); }
.badge span { display: flex; flex-direction: column; line-height: 1.1; }
.badge small { font-size: 10px; letter-spacing: .02em; opacity: .85; }
.badge b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
/* 서비스 이동 버튼 — 로고 + 이름, 누르면 각 서비스로 */
.go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.go-btn { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(25,31,40,.4); font-size: 16px; font-weight: 700; transition: transform .15s ease-out; }
.go-btn .fc-logo { width: 28px; height: 28px; }
/* 무대 — 폰 두 대(Passive·홈맵)는 가운데, 카드 4장은 좌우 위아래 */
.stage { position: relative; max-width: 1040px; height: 440px; margin: 48px auto 0; }
.stage .phone { position: absolute; top: 0; width: 240px; }
.stage .ph1 { left: calc(50% - 250px); }
.stage .ph2 { left: calc(50% + 10px); top: 40px; }
.fc { position: absolute; z-index: 1; width: 210px; text-align: left; }
.fc1 { left: 0; top: 40px; } .fc2 { left: 3%; top: 230px; }
.fc3 { right: 0; top: 70px; } .fc4 { right: 3%; top: 260px; }
.fc-in { padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(25,31,40,.35); transition: box-shadow .15s ease-out; animation: fc-float 6s ease-in-out infinite; }
.fc2 .fc-in, .fc3 .fc-in { animation-delay: -3s; }
.fc:hover .fc-in { box-shadow: 0 22px 44px -20px rgba(25,31,40,.45); }
.fc-svc { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.fc-logo { width: 24px; height: 24px; border-radius: 28%; overflow: hidden; display: grid; place-items: center; }
.fc-logo img { width: 100%; height: 100%; object-fit: cover; }
.fc-logo.hm { box-shadow: inset 0 0 0 1px var(--line); }
.fc-logo.hm img { width: 70%; height: auto; }
.fc b { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 16px; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; }
.fc-dot.p { background: var(--passive); } .fc-dot.h { background: var(--homemap); }
@keyframes fc-float { 50% { transform: translateY(-4px); } }
/* 진입 순서 — 제목 → 버튼 → 폰 → 카드 (--d 단계마다 80ms) */
.hero .rv { transition-delay: calc(var(--d, 0) * 80ms); }
@media (max-width: 960px) {
  .stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .stage .phone { position: relative; left: auto; top: auto; width: 100%; max-width: 220px; justify-self: center; order: -1; }
  .fc { position: static; width: auto; }
  .stage > .fc:last-child, .stage > .fc:nth-last-child(2) { margin-bottom: 24px; }
}

/* 폰 목업 */
.phone { border-radius: 34px; padding: 9px; background: #0d0d10; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), inset 0 0 0 1.5px #3a3a40; }
.phone img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--bg-soft); }

section { scroll-margin-top: 60px; }
.sec { padding: 140px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.eyebrow img { width: 28px; height: 28px; border-radius: 8px; }
.big { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.lead { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 520px; }

/* 서비스 소개 — 왼쪽 큰 카피, 오른쪽 기울어진 폰 */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split .phone { width: min(300px, 80%); margin: 0 auto; transform: rotate(8deg); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .phone { transform: rotate(4deg); width: 240px; } }

/* 알약 버튼 — 오른쪽 원 안 화살표 */
.pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--bg-soft); font-weight: 700; font-size: 15px; transition: background-color .15s ease-out; }
.pill i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-style: normal; transition: transform .15s ease-out; }
.pill:hover i { transform: translateX(3px); }
.pill.passive i { background: var(--passive); }
.pill.homemap i { background: var(--homemap); }

/* 기능 카드 3열 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; }
.card { padding: 0 0 8px; }
.card-img { height: 340px; overflow: hidden; display: grid; place-items: end center; padding-top: 36px; }
.card-img .phone { width: 210px; transform: translateY(24px); transition: transform .25s var(--ease); }
.card:hover .card-img .phone { transform: translateY(8px); }
.card h3 { margin-top: 24px; padding: 0 8px; font-size: 19px; line-height: 1.5; font-weight: 700; }
.card p { padding: 0 8px; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.card .more { display: inline-block; padding: 0 8px; margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.card .more:hover { color: var(--ink); }
.tint-p .card-img { background: linear-gradient(180deg, var(--passive-tint), #fff); }
.tint-h .card-img { background: linear-gradient(180deg, var(--homemap-tint), #fff); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; gap: 48px; } }

/* 용어 구름 */
.cloud { text-align: center; padding: 120px 0 40px; }
.words { position: relative; height: 150px; max-width: 420px; margin: 0 auto; }
.words span { position: absolute; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.cloud h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.cloud p { color: var(--ink-2); margin-top: 12px; }

/* 기능 표 — 굵은선 표머리 */
.tbl { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; }
.tbl th { text-align: left; font-weight: 700; padding: 12px 10px; border-bottom: 2px solid var(--ink); }
.tbl td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.tbl td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .tbl td:first-child { white-space: normal; } }   /* 홈맵 소개 표의 긴 첫 칸(‘APT 일반분양 공고(최근 12개월)’)이 둘째 칸을 누르지 않게 */
.tbl a { text-decoration: underline; text-underline-offset: 3px; }
.note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* 홈맵 — 큰 제목 → 폰 → 설명 */
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.duo { display: flex; justify-content: center; gap: 40px; margin-top: 64px; }
.duo .phone { width: 260px; }
.duo .phone:last-child { margin-top: 64px; }
@media (max-width: 640px) { .duo .phone { width: 46%; } .duo { gap: 16px; } }

/* 어두운 풀블리드 — 앱 받기 */
.dark { background: var(--bg-dark); color: #fff; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-size: 14px; }
.dark .big { margin-top: 20px; }
.dark .lead { color: rgba(255,255,255,.66); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores a { padding: 14px 22px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); font-weight: 600; transition: background-color .15s ease-out; }
.stores a:hover { background: rgba(255,255,255,.08); }

/* 자주 묻는 질문 */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--ink-3); transition: transform .2s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); animation: faq-open .2s ease-out; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }

/* 푸터 */
.ft { position: relative; overflow: hidden; background: linear-gradient(160deg, #2b3446, #3d3a4f 55%, #23293a); color: rgba(255,255,255,.86); padding: 96px 0 40px; }
.ft-top { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.45; }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 32px; margin-top: 48px; font-size: 15px; }
.ft-cols h4 { font-size: 14px; color: rgba(255,255,255,.5); font-weight: 500; margin-bottom: 14px; }
.ft-cols a { display: block; margin-bottom: 10px; }
.ft-cols a:hover { color: #fff; }
.ft-info { margin-top: 56px; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.9; }
.ft-mark { font-size: clamp(34px, 7.6vw, 92px); font-weight: 800; letter-spacing: -.04em; color: rgba(255,255,255,.07); line-height: 1; margin-top: 40px; white-space: nowrap; }
/* 맨 아래 줄 — 로고(어두운 배경용 흰 글자) + 저작권. 푸터는 테마와 무관하게 늘 어두워 dark 로고 하나만 쓴다. */
.ft-bottom { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.ft-bottom .ft-info { margin-top: 0; }
.ft-logo { display: block; height: 32px; width: auto; }
@media (max-width: 640px) { .ft-cols { grid-template-columns: 1fr 1fr; } }

/* 진입 — 아래에서 살짝 떠오름 */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .25s ease-out, transform .25s ease-out; }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── 내부 페이지(/passive·/homemap·/news·/about) ── */
.hd nav a[aria-current="page"] { color: #fff; font-weight: 700; }
.pg-hd { padding: 132px 0 40px; border-bottom: 1px solid var(--line); }
.pg-hd .eyebrow { color: var(--ink-3); }
.pg-hd h1 { margin-top: 14px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.28; font-weight: 800; letter-spacing: -.03em; }
.pg-hd .lead { max-width: 680px; }
.pg-hd .asof { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.pg { padding: 24px 0 120px; }
.pg section { padding-top: 56px; }
.pg h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.pg h2 + p, .pg p + p { margin-top: 12px; }
.pg p, .pg li { color: var(--ink-2); font-size: 16px; max-width: 760px; }
.pg ul { margin: 12px 0 0 20px; }
.pg li + li { margin-top: 6px; }
.pg .tbl { margin-top: 20px; }
.pg a.u { text-decoration: underline; text-underline-offset: 3px; }
.pg .pill { margin-top: 32px; }
/* 소식 목록 — 날짜 / 서비스 / 제목·본문 */
.news { margin-top: 8px; border-top: 2px solid var(--ink); }
.news li { list-style: none; display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); max-width: none; }
.news time { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.news h3 { font-size: 17px; line-height: 1.5; font-weight: 700; color: var(--ink); }
.news p { margin-top: 6px; font-size: 15px; }
.news .svc { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--bg-soft); vertical-align: 2px; }
@media (max-width: 640px) { .news li { grid-template-columns: 1fr; gap: 4px; } }
