/* 홈페이지 하위 페이지 공통 (스카이차 임대·작업일지 앱 소개 등). site.css 위에 얹는다. */

/* 하위 페이지: 머리줄은 처음부터 흰 바탕 */
.sub-page .site-header { background: rgba(255,255,255,.95); box-shadow: 0 1px 0 var(--line); }
.sub-page .site-header .brand span { color: var(--ink); }
.sub-page .site-header .brand .logo-light { display: none; }
.sub-page .site-header .brand .logo-dark { display: block; }
.sub-page .nav a { color: var(--body); }
.sub-page .nav a:hover { color: var(--blue-500); }
.sub-page .nav .nav-cta { border-color: var(--blue-500); color: var(--blue-500); }
.sub-page .nav .nav-cta:hover { background: var(--blue-500); color: var(--white); }
.sub-page .menu-btn { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue-500); font-weight: 700; }

/* 페이지 첫 화면 */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(72px + 72px + env(safe-area-inset-top)) 0 72px;
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(47,139,216,.38), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(22,89,166,.35), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.page-hero .wrap { position: relative; }
.page-hero h1 { margin: 16px 0 16px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.25; font-weight: 800; letter-spacing: -.035em; }
.page-hero h1 em { font-style: normal; background: linear-gradient(90deg, #8fd0ff, #4aa3ec); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p.lead { margin: 0 0 32px; max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.78); }
.page-hero .app-title { margin-bottom: 20px; }
.page-hero .app-title img { width: 72px; height: 72px; border-radius: 18px; }
.page-hero .app-title .tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(124,192,240,.16); color: var(--sky-300); }

/* 밝은 바탕 버튼 */
.btn-blue { background: var(--blue-500); color: var(--white); box-shadow: 0 8px 22px rgba(31,111,196,.28); }
.btn-blue:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-line { color: var(--blue-500); border: 1px solid var(--blue-500); background: transparent; }
.btn-line:hover { background: rgba(31,111,196,.07); }

/* 본문 폭 좁게 */
.narrow { max-width: 860px; }
section.block.tight { padding: 88px 0; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }

/* 홈: 두 갈래 길 */
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.route {
  position: relative; display: flex; flex-direction: column; padding: 40px 38px 34px; border-radius: 24px; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.route.dark { color: var(--white); border: 0; background: linear-gradient(140deg, var(--navy-800), var(--navy-700)); }
.route .eyebrow { color: var(--blue-500); }
.route.dark .eyebrow { color: var(--sky-300); }
.route h3 { margin: 14px 0 12px; font-size: 28px; line-height: 1.3; letter-spacing: -.03em; color: var(--ink); }
.route.dark h3 { color: var(--white); }
.route p { margin: 0 0 20px; font-size: 16px; color: var(--muted); }
.route.dark p { color: rgba(255,255,255,.75); }
.route ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; font-size: 15px; flex: 1; }
.route li { display: flex; gap: 10px; }
.route li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--blue-400); }
.route.dark li { color: rgba(255,255,255,.88); }
.route .app-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 4px; }
.route .btns .btn { padding: 13px 22px; font-size: 14px; }

/* 확인 목록 */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.check-grid li {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--line); font-size: 16px; color: var(--ink);
}
.check-grid li small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); font-weight: 400; }
.check-grid li strong { font-weight: 600; }
.check-grid svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--blue-500); }
.soft .check-grid li { border-color: transparent; box-shadow: var(--shadow); }

/* 순서 안내 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%;
  background: var(--blue-500); color: var(--white); font-weight: 700; font-size: 15px;
}
.steps h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }
.steps.three { grid-template-columns: repeat(3, 1fr); }

/* 안내 상자 */
.note-box { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: #eef5fc; border: 1px solid #d6e6f6; color: var(--body); font-size: 15px; }
.note-box b { color: var(--ink); }

/* 앱 소개: 기능 묶음 */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { padding: 32px 30px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.soft .feat { border-color: transparent; box-shadow: var(--shadow); }
.feat .ico { width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #e8f2fc, #d6e8fa); color: var(--blue-600); }
.feat .ico svg { width: 24px; height: 24px; }
.feat h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.feat > p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.feat ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14.5px; }
.feat li { display: flex; gap: 8px; }
.feat li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--blue-400); }

/* 화면 둘러보기 */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 6px 28px 28px; margin: 0 -28px; scroll-padding: 0 28px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shot { flex: 0 0 min(260px, 70vw); scroll-snap-align: start; margin: 0; }
.shot .frame { border-radius: 26px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.shot figcaption b { display: block; color: var(--ink); font-size: 15.5px; }
.shots-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* 앱 소개 바닥 링크 */
.link-row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 30px; font-size: 14px; }
.link-row a { color: var(--muted); text-decoration: none; }
.link-row a:hover { color: var(--blue-500); text-decoration: underline; }

/* 모바일 아래 고정 전화 줄 */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(10,29,56,.08);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; }
  .callbar a svg { width: 18px; height: 18px; }
  .callbar .call { background: var(--blue-500); color: var(--white); }
  .callbar .ask { background: var(--soft); color: var(--blue-600); border: 1px solid var(--line); }
  .has-callbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* 반응형 */
@media (max-width: 980px) {
  .route-grid, .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps.three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: calc(72px + 48px + env(safe-area-inset-top)) 0 52px; }
  .check-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .route { padding: 30px 24px 26px; }
  section.block.tight { padding: 64px 0; }
  .shots { padding: 6px 20px 24px; margin: 0 -20px; scroll-padding: 0 20px; }
}

/* 첫 화면 아래 알림 칩 */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; font-size: 14px; color: rgba(255,255,255,.7); }
.chips b { margin-right: 4px; font-weight: 600; color: rgba(255,255,255,.9); }
.chips span.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: var(--white); font-weight: 600; }

/* 문의 예시 상자 */
.msg-example { margin: 0 0 32px; padding: 22px 26px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue-500); }
.msg-example small { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--blue-500); }
.msg-example p { margin: 0; font-size: 17px; color: var(--ink); }

/* 이용자별 확인 목록 */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.who { padding: 32px 30px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.who h3 { margin: 0 0 4px; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.who > p { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.who ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.who li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.who li small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); font-weight: 400; }
.who li svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; color: var(--blue-500); }
.who li.first strong::after { content: "중요"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fff1e5; color: #c25b00; font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
.who.main { border-color: var(--blue-500); box-shadow: 0 0 0 1px var(--blue-500), var(--shadow); }

/* 회사 정보 표 */
.info-table { display: grid; grid-template-columns: 140px 1fr; margin: 0; border-top: 2px solid var(--ink); }
.info-table dt, .info-table dd { margin: 0; padding: 16px 8px; border-bottom: 1px solid var(--line); }
.info-table dt { font-weight: 700; color: var(--ink); }
.info-table dd a { text-decoration: none; color: var(--blue-500); }

@media (max-width: 980px) { .who-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .info-table { grid-template-columns: 96px 1fr; } .chips { margin-top: 24px; } }

/* 현장 정보 카드 */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.info-card { padding: 22px 22px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.info-card .ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px; background: linear-gradient(135deg, #e8f2fc, #d6e8fa); color: var(--blue-600); }
.info-card .ico svg { width: 21px; height: 21px; }
.info-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.info-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.info-card.key { border-color: var(--blue-500); box-shadow: 0 0 0 1px var(--blue-500), var(--shadow); }
.info-card.key h3::after { content: "중요"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fff1e5; color: #c25b00; font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
@media (max-width: 1100px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .info-cards { grid-template-columns: 1fr; } }

/* 톤수별 안내 */
.ton-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ton { padding: 26px 24px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.soft .ton { border-color: transparent; box-shadow: var(--shadow); }
.ton .t { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.ton .h { margin: 4px 0 14px; font-size: 14px; font-weight: 600; color: var(--blue-500); }
.ton p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 560px) { .ton-grid { grid-template-columns: 1fr; } }

/* 자주 묻는 질문 */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; position: relative; list-style: none; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 20px; font-size: 15.5px; color: var(--body); }
.ton dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0 0 14px; font-size: 14px; }
.ton dt { color: var(--muted); }
.ton dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.ton .h { display: none; }
.ton p { padding-top: 14px; border-top: 1px solid var(--line); }

/* 장비 사진 */
.hero-photo { position: relative; justify-self: center; width: min(100%, 520px); display: grid; place-items: center; }
.hero-photo::before { content: ""; position: absolute; inset: 10% 0 0; border-radius: 50%; background: radial-gradient(circle, rgba(47,139,216,.45), transparent 65%); filter: blur(14px); }
.hero-photo img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.route-photo { margin: -8px -8px 22px; padding: 18px 12px 0; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 100%, #d6e8fa, transparent 70%), #f2f7fd; }
.route-photo img { width: min(100%, 380px); height: auto; filter: drop-shadow(0 10px 14px rgba(10,29,56,.18)); }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { width: min(100%, 400px); margin-top: 4px; }
}

/* 첫 화면 소개 아래 보조 문장과 확인 링크 */
.page-hero p.lead-sub { margin: -14px 0 28px; max-width: 620px; font-size: 16px; color: rgba(255,255,255,.62); }
.lead-note { max-width: 640px; margin: 16px 0 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.62); }
.lead-note a { color: rgba(255,255,255,.85); text-underline-offset: 3px; }
.lead-note a:hover { color: #fff; }
