/* 패스파인더 사이트 디자인 v3 (2026-10)
   기업형 로봇 회사 스타일 — 참고: 원익로보틱스, 로보티즈.
   - 첫 화면은 꽉 찬 사진·제품 비주얼 위에 흰 글자, 헤더는 그 위에 투명하게 뜬다.
   - 섹션 제목은 큰 영문 대문자(브랜드 파랑) + 짧은 한국어 한 줄.
   - 글보다 사진. 카드 모서리는 10px, 버튼은 각진 사각형.
   - 색은 브랜드 파랑 #2563EB + 무채색만.
   모든 페이지가 site-motion.css 다음에 이 파일을 읽는다. */

:root {
    --pf-blue: #2563eb;
    --pf-blue-hover: #1d4ed8;
    --pf-blue-deep: #1739a8;
    --pf-blue-tint: #eef3ff;
    --pf-ink: #111111;
    --pf-ink-2: #333333;
    --pf-muted: #6b6b6b;
    --pf-line: #e5e5e5;
    --pf-bg: #ffffff;
    --pf-bg-alt: #f5f6f8;
    --pf-dark: #0b0d12;
    --pf-radius: 12px;
    --pf-radius-sm: 10px;
    --pf-head-h: 90px;
}

html { scroll-padding-top: 90px; }
body { color: var(--pf-ink); background: var(--pf-bg); word-break: keep-all; }
::selection { background: rgba(37, 99, 235, .18); }

/* ---------- 레이아웃 ---------- */
.pf-wrap { max-width: 1680px; margin: 0 auto; padding: 0 40px; }
.pf-wrap--wide { max-width: 1680px; }
.pf-wrap--narrow { max-width: 960px; }
@media (max-width: 767px) { .pf-wrap { padding: 0 20px; } }

.pf-sec { padding: 140px 0; }
.pf-sec--tight { padding: 100px 0; }
.pf-sec--alt { background: var(--pf-bg-alt); }
.pf-sec--dark { background: var(--pf-dark); color: #fff; }
.pf-sec--blue { background: var(--pf-blue); color: #fff; }
.pf-sec--line { border-top: 1px solid var(--pf-line); }
@media (max-width: 767px) {
    .pf-sec { padding: 88px 0; }
    .pf-sec--tight { padding: 64px 0; }
}

.pf-head { max-width: 820px; margin-bottom: 64px; }
.pf-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.pf-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.pf-head--split > .pf-lead { max-width: 480px; }
@media (max-width: 767px) { .pf-head { margin-bottom: 44px; } }

/* ---------- 글자 ---------- */
/* 큰 영문 섹션 제목 — SOLUTION, TECHNOLOGY, NEWS … */
.pf-en {
    display: block;
    font-size: clamp(38px, 3.9vw, 60px); line-height: 1.1;
    font-weight: 700; letter-spacing: -0.035em; text-transform: uppercase;
    color: var(--pf-blue);
}
.pf-sec--dark .pf-en, .pf-en--white { color: #fff; }

.pf-label {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
    font-size: 15px; font-weight: 700; letter-spacing: 0;
    color: var(--pf-blue);
}
.pf-label::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.pf-sec--blue .pf-label, .pf-sec--dark .pf-label { color: #7ea6ff; }
.pf-sec--blue .pf-label { color: rgba(255, 255, 255, .85); }

.pf-h1 {
    font-size: clamp(40px, 5.4vw, 80px); line-height: 1.16;
    font-weight: 700; letter-spacing: -0.045em; color: var(--pf-ink);
}
.pf-h2 {
    font-size: clamp(30px, 3.3vw, 50px); line-height: 1.26;
    font-weight: 700; letter-spacing: -0.04em; color: var(--pf-ink);
}
.pf-h2--sm { font-size: clamp(28px, 2.7vw, 40px); }
.pf-h3 {
    font-size: 24px; line-height: 1.36;
    font-weight: 700; letter-spacing: -0.035em; color: var(--pf-ink);
}
.pf-h4 { font-size: 19px; line-height: 1.45; font-weight: 700; letter-spacing: -0.03em; color: var(--pf-ink); }
.pf-sec--blue .pf-h2, .pf-sec--blue .pf-h3,
.pf-sec--dark .pf-h2, .pf-sec--dark .pf-h3, .pf-sec--dark .pf-h4 { color: #fff; }

.pf-lead {
    font-size: clamp(17px, 1.4vw, 21px); line-height: 1.65;
    letter-spacing: -0.025em; color: #555;
}
.pf-sec--blue .pf-lead { color: rgba(255, 255, 255, .88); }
.pf-sec--dark .pf-lead { color: #a8abb3; }
.pf-body { font-size: 17px; line-height: 1.75; color: var(--pf-ink-2); letter-spacing: -0.02em; }
.pf-small { font-size: 15.5px; line-height: 1.65; color: var(--pf-muted); letter-spacing: -0.02em; }
.pf-caption { font-size: 14px; line-height: 1.5; color: #8a8a8a; }
.pf-sec--dark .pf-small { color: #9ca0a8; }
.pf-num { font-variant-numeric: tabular-nums; }
.pf-blue { color: var(--pf-blue); }

/* ---------- 버튼과 링크 ---------- */
.pf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 56px; padding: 0 30px; border-radius: 10px;
    font-size: 16px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.pf-btn--sm { height: 42px; padding: 0 20px; font-size: 14.5px; border-radius: 8px; }
.pf-btn--primary { background: var(--pf-blue); color: #fff; }
.pf-btn--primary:hover { background: var(--pf-blue-hover); }
.pf-btn--secondary { background: #fff; color: var(--pf-ink); box-shadow: inset 0 0 0 1px #cfcfcf; }
.pf-btn--secondary:hover { box-shadow: inset 0 0 0 1px var(--pf-ink); }
.pf-btn--white { background: #fff; color: var(--pf-blue); }
.pf-btn--white:hover { background: var(--pf-blue-tint); }
.pf-btn--outline-white { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.pf-btn--outline-white:hover { box-shadow: inset 0 0 0 1px #fff; background: rgba(255, 255, 255, .1); }
.pf-btn--glass { color: #fff; background: rgba(255, 255, 255, .1); }
.pf-btn--glass:hover { background: rgba(255, 255, 255, .2); }
.pf-btn--block { display: flex; width: 100%; }
.pf-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .pf-btns > .pf-btn { flex: 1 1 100%; } }

/* VIEW MORE 버튼의 작은 화살표 상자 */
.pf-arr {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--pf-blue); color: #fff; font-size: 12px;
    transition: transform .3s ease;
}
.pf-arr::before { content: '\2192'; font-weight: 700; font-size: 15px; line-height: 1; }
a:hover > .pf-arr, a:hover .pf-arr { transform: translateX(4px); }

.pf-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 16.5px; font-weight: 600; color: var(--pf-blue);
}
.pf-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pf-link i { font-size: 12px; }
.pf-sec--dark .pf-link { color: #7ea6ff; }

/* ---------- 카드 ---------- */
.pf-card {
    background: var(--pf-bg-alt); border-radius: var(--pf-radius);
    padding: 40px; display: flex; flex-direction: column;
}
.pf-sec--alt .pf-card { background: #fff; }
.pf-sec--alt .pf-card--blue { background: var(--pf-blue); }
.pf-sec--alt .pf-card--ink { background: var(--pf-dark); }
.pf-sec--dark .pf-card { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pf-card--outline { background: #fff; box-shadow: inset 0 0 0 1px var(--pf-line); }
.pf-card--ink { background: var(--pf-dark); color: #fff; }
.pf-card--ink .pf-h3, .pf-card--ink .pf-h4 { color: #fff; }
.pf-card--ink .pf-small, .pf-card--ink .pf-body { color: #b6b6bd; }
.pf-card--blue { background: var(--pf-blue); color: #fff; }
.pf-card--blue .pf-h3, .pf-card--blue .pf-h4 { color: #fff; }
.pf-card--blue .pf-small, .pf-card--blue .pf-body { color: rgba(255, 255, 255, .88); }
.pf-card--sm { padding: 28px; border-radius: var(--pf-radius-sm); }
.pf-card.flex-row { flex-direction: row; }
@media (max-width: 767px) { .pf-card { padding: 28px; } }
a.pf-card { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease; }
a.pf-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .35); }

.pf-icon {
    width: 52px; height: 52px; border-radius: 10px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: var(--pf-blue-tint); color: var(--pf-blue); font-size: 20px;
}
.pf-sec--alt .pf-card .pf-icon { background: var(--pf-blue-tint); }
.pf-card--ink .pf-icon, .pf-sec--dark .pf-icon { background: rgba(37, 99, 235, .22); color: #8fb4ff; }

.pf-media { border-radius: var(--pf-radius); overflow: hidden; background: var(--pf-bg-alt); }
.pf-media img, .pf-media video { display: block; width: 100%; height: 100%; }
/* 현장 사진 3장 — 큰 사진 하나 + 오른쪽에 작은 사진 둘 */
.pf-hgallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.pf-hgallery figure { position: relative; margin: 0; border-radius: var(--pf-radius); overflow: hidden; background: #1a1d24; min-height: 0; }
.pf-hgallery figure:first-child { grid-row: span 2; aspect-ratio: 4 / 3; }
.pf-hgallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pf-hgallery figure:hover img { transform: scale(1.04); }
.pf-hgallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 22px 18px;
    background: linear-gradient(to top, rgba(5, 7, 12, .78), rgba(5, 7, 12, 0));
    color: #c9ccd3; font-size: 14.5px; line-height: 1.5; letter-spacing: -0.02em;
}
.pf-hgallery figcaption b { display: block; margin-bottom: 2px; color: #fff; font-size: 17px; font-weight: 700; }
@media (max-width: 767px) {
    .pf-hgallery { grid-template-columns: 1fr; }
    .pf-hgallery figure, .pf-hgallery figure:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
}
.pf-media--shot { box-shadow: 0 0 0 1px var(--pf-line), 0 40px 80px -48px rgba(17, 17, 17, .45); background: #fff; }
.pf-sec--alt .pf-media { background: #fff; }

.pf-chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 28px; padding: 0 11px; border-radius: 6px;
    font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
    background: var(--pf-blue-tint); color: var(--pf-blue-hover);
}
.pf-chip--gray { background: #ececec; color: var(--pf-ink-2); }
.pf-chip--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--pf-blue); }
.pf-chip--ink { background: var(--pf-ink); color: #fff; }

/* ---------- 숫자 지표 ---------- */
.pf-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 32px; }
.pf-stat { padding-top: 24px; border-top: 1px solid var(--pf-line); }
.pf-stat-n {
    font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-weight: 700;
    letter-spacing: -0.045em; color: var(--pf-ink); font-variant-numeric: tabular-nums;
}
.pf-stat-n small { font-size: .42em; font-weight: 600; letter-spacing: -0.02em; margin-left: 4px; }
.pf-stat-l { margin-top: 14px; font-size: 15px; color: var(--pf-muted); }
@media (max-width: 1023px) { .pf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 600px) { .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pf-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pf-step { padding-top: 22px; border-top: 2px solid var(--pf-ink); }
.pf-step-n { font-size: 14px; font-weight: 700; color: var(--pf-blue); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) { .pf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pf-steps { grid-template-columns: 1fr; } }

.pf-rows { border-top: 2px solid var(--pf-ink); }
.pf-row {
    display: grid; grid-template-columns: 240px 1fr; gap: 12px 40px;
    padding: 28px 0; border-bottom: 1px solid var(--pf-line);
}
@media (max-width: 767px) { .pf-row { grid-template-columns: 1fr; padding: 22px 0; } }

/* =====================================================================
   헤더 — 첫 화면 위에서는 투명 + 흰 글자, 스크롤하거나 메뉴에 올리면 흰 바탕.
   메뉴에 마우스를 올리면 모든 하위 메뉴가 한 번에 펼쳐진다 (메가 메뉴).
   ===================================================================== */
.pf-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: #fff; color: var(--pf-ink);
    border-bottom: 1px solid var(--pf-line);
    transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.pf-header-in {
    position: relative; z-index: 2;
    height: var(--pf-head-h); max-width: 1680px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pf-logo img { height: 40px; width: auto; display: block; transition: filter .35s ease; }
.pf-gnb { display: none; height: 100%; }
.pf-gnb > ul { display: flex; height: 100%; }
.pf-gnb > ul > li { position: relative; width: 148px; text-align: center; }
.pf-gnb-a {
    display: flex; align-items: center; justify-content: center; height: var(--pf-head-h);
    font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: inherit;
    position: relative; transition: color .2s ease;
}
.pf-gnb-a::after {
    content: ''; position: absolute; left: 50%; bottom: -1px; width: 0; height: 2px;
    background: var(--pf-blue); transition: width .3s ease, left .3s ease;
}
.pf-gnb > ul > li:hover > .pf-gnb-a::after,
.pf-gnb-a[aria-current="page"]::after { width: 100%; left: 0; }
.pf-gnb > ul > li:hover > .pf-gnb-a, .pf-gnb-a[aria-current="page"] { color: var(--pf-blue); }
.pf-sub {
    position: absolute; top: var(--pf-head-h); left: 0; right: 0;
    padding: 26px 0 0; opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.pf-sub li + li { margin-top: 12px; }
.pf-sub a { font-size: 15px; font-weight: 500; color: #555; transition: color .2s ease; }
.pf-sub a:hover { color: var(--pf-blue); }
.pf-mega-bg {
    position: absolute; top: var(--pf-head-h); left: 0; right: 0; z-index: 1;
    height: 0; background: #fff; overflow: hidden;
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .18);
    transition: height .3s ease;
}
.pf-header.is-mega .pf-mega-bg { height: 230px; border-top: 1px solid var(--pf-line); }
.pf-header.is-mega .pf-sub { opacity: 1; visibility: visible; transition-delay: .08s; }

.pf-header-r { display: flex; align-items: center; gap: 14px; }
.pf-cta {
    display: none; align-items: center; height: 42px; padding: 0 20px; border-radius: 8px;
    background: var(--pf-blue); color: #fff; font-size: 14.5px; font-weight: 600;
    transition: background-color .25s ease;
}
.pf-cta:hover { background: var(--pf-blue-hover); }
.pf-burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 40px; height: 40px; }
.pf-burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }

@media (min-width: 1200px) {
    .pf-gnb { display: block; }
    .pf-cta { display: inline-flex; }
    .pf-burger { display: none; }
}
@media (max-width: 767px) {
    :root { --pf-head-h: 68px; }
    .pf-header-in { padding: 0 20px; }
    .pf-logo img { height: 32px; }
}

/* 첫 화면 위 (어두운 히어로 · 맨 위) */
.pf-header[data-top="1"]:not(.is-mega) {
    background: transparent; color: #fff; border-bottom-color: rgba(255, 255, 255, .22);
}
.pf-header[data-top="1"]:not(.is-mega) .pf-logo img { filter: brightness(0) invert(1); }
.pf-header[data-top="1"]:not(.is-mega) .pf-gnb-a { color: #fff; }
.pf-header[data-top="1"]:not(.is-mega) .pf-gnb > ul > li:hover > .pf-gnb-a,
.pf-header[data-top="1"]:not(.is-mega) .pf-gnb-a[aria-current="page"] { color: #fff; }
.pf-header[data-top="1"]:not(.is-mega) .pf-gnb-a::after { background: #fff; }

/* 모바일 메뉴 */
.pf-mobile { background: #fff; color: var(--pf-ink); border-top: 1px solid var(--pf-line); }
.pf-mobile nav { display: flex; flex-direction: column; padding: 12px 20px 28px; font-size: 18px; font-weight: 600; }
.pf-mobile nav a { padding: 14px 0; border-bottom: 1px solid var(--pf-line); }
.pf-mobile nav a.sub { padding: 10px 0 10px 16px; font-size: 15.5px; font-weight: 500; color: var(--pf-muted); }
.pf-mobile nav .pf-btn { margin-top: 20px; border: 0; }
@media (min-width: 1200px) { .pf-mobile { display: none; } }

/* 언어 전환 버튼 */
.pf-header .pf-lang { border-color: #d0d0d0; }
.pf-header[data-top="1"]:not(.is-mega) .pf-lang { border-color: rgba(255, 255, 255, .4); }
.pf-header[data-top="1"]:not(.is-mega) .pf-lang-b { color: rgba(255, 255, 255, .8); }
.pf-header[data-top="1"]:not(.is-mega) .pf-lang-b.on { background: #fff; color: #0b0d12; }

/* =====================================================================
   메인 히어로 — 화면을 꽉 채우는 슬라이드 3장
   ===================================================================== */
.pf-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: #05070c; color: #fff; overflow: hidden; }
.pf-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s ease; }
.pf-slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.pf-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); }
.pf-slide.is-on .pf-slide-bg { transform: scale(1); transition: transform 8s linear; }
.pf-slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,12,.92) 0%, rgba(5,7,12,.72) 45%, rgba(5,7,12,.4) 100%), linear-gradient(180deg, rgba(5,7,12,0) 55%, rgba(5,7,12,.6) 100%); }

/* 슬라이드 1 — 검은 무대 위 로봇 */
.pf-slide--robot .pf-slide-bg {
    background: radial-gradient(ellipse 55% 70% at 72% 55%, rgba(60, 100, 200, .32), transparent 70%),
                radial-gradient(ellipse 30% 30% at 72% 95%, rgba(255, 255, 255, .08), transparent 70%), #05070c;
}
.pf-slide-robot {
    position: absolute; right: 7%; bottom: 0; height: 86%; width: auto; max-width: none;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6));
    transform: translateY(40px); opacity: 0; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), opacity 1.4s ease;
}
.pf-slide.is-on .pf-slide-robot { transform: none; opacity: 1; }

/* 슬라이드 1 — "로봇의 경험을, 지능으로 바꾸다" 움직이는 그림 (hero-experience.js) */
.pf-slide-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease .2s; }
.pf-slide.is-on .pf-slide-canvas { opacity: 1; }

/* 슬라이드 2 — 관제 화면 */
.pf-slide--console .pf-slide-bg { background: radial-gradient(ellipse 60% 70% at 75% 50%, rgba(37, 99, 235, .3), transparent 70%), #060a14; }
.pf-slide-screen {
    position: absolute; right: -6%; top: 50%; width: 62%;
    transform: translateY(-46%) perspective(1600px) rotateY(-16deg) rotateX(4deg) translateX(60px);
    border-radius: 12px; overflow: hidden; opacity: 0;
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
    transition: transform 1.6s cubic-bezier(.2,.7,.2,1), opacity 1.4s ease;
}
.pf-slide-screen img { display: block; width: 100%; height: auto; }
.pf-slide.is-on .pf-slide-screen { opacity: 1; transform: translateY(-46%) perspective(1600px) rotateY(-16deg) rotateX(4deg); }

.pf-slide-txt { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 120px; }
.pf-slide-eye, .pf-slide-h, .pf-slide-p, .pf-slide-btn { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.pf-slide.is-on .pf-slide-eye { opacity: 1; transform: none; transition-delay: .25s; }
.pf-slide.is-on .pf-slide-h { opacity: 1; transform: none; transition-delay: .4s; }
.pf-slide.is-on .pf-slide-p { opacity: 1; transform: none; transition-delay: .6s; }
.pf-slide.is-on .pf-slide-btn { opacity: 1; transform: none; transition-delay: .8s; }
.pf-slide-eye { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 26px; }
.pf-slide-h { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.16; font-weight: 700; letter-spacing: -0.045em; color: #fff; max-width: 14em; }
html[lang="en"] .pf-slide-h { font-size: clamp(36px, 4.4vw, 66px); max-width: 11.5em; }
.pf-slide-p { margin-top: 28px; max-width: 560px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.65; color: rgba(255, 255, 255, .78); letter-spacing: -0.02em; }
.pf-slide-btn {
    margin-top: 44px; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 40px; height: 64px; padding: 0 16px 0 26px; border-radius: 10px;
    background: rgba(255, 255, 255, .1); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .04em;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color .25s ease, opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.pf-slide-btn:hover { background: rgba(255, 255, 255, .18); }

/* 하단 조작부: 왼쪽 파란 상자(번호·화살표) + 오른쪽 바로가기 */
.pf-hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: stretch; height: 110px; }
.pf-hero-ctrl {
    flex: 0 0 32%; min-width: 360px; background: var(--pf-blue);
    display: flex; align-items: center; justify-content: center; gap: 28px; padding: 0 28px;
}
.pf-hero-ctrl button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; border-radius: 8px; transition: background-color .2s ease; }
.pf-hero-ctrl button:hover { background: rgba(255, 255, 255, .15); }
.pf-hero-num { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 12px; }
.pf-hero-num b { color: #fff; font-weight: 700; }
.pf-hero-bar { width: 120px; height: 2px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.pf-hero-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; }
.pf-hero-bar i.run { width: 100%; transition: width var(--dur, 7s) linear; }
.pf-hero-quick { flex: 1; display: flex; border-top: 1px solid rgba(255, 255, 255, .22); }
.pf-hero-quick li { flex: 1; }
.pf-hero-quick li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.pf-hero-quick a {
    height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px;
    font-size: 16px; font-weight: 600; color: #fff; transition: background-color .25s ease;
}
.pf-hero-quick a:hover { background: rgba(255, 255, 255, .08); }
.pf-hero-quick i { font-size: 20px; opacity: .85; }

@media (max-width: 1023px) {
    .pf-hero-quick { display: none; }
    .pf-hero-ctrl { flex: 1; min-width: 0; justify-content: flex-start; }
    .pf-hero-bottom { height: 84px; }
    .pf-slide-robot { right: -8%; height: 62%; opacity: .5 !important; }
    .pf-slide-screen { width: 92%; right: -40%; opacity: .45 !important; }
    .pf-slide-txt { justify-content: flex-end; padding-bottom: 140px; }
}

@media (max-width: 767px) {
    .pf-slide-robot { right: -30%; height: 55%; opacity: .35 !important; }
    .pf-slide-eye { font-size: 12px; letter-spacing: .1em; margin-bottom: 18px; }
    .pf-slide-btn { height: 54px; gap: 24px; margin-top: 32px; }
    .pf-hero-ctrl { gap: 16px; padding: 0 20px; }
}

/* =====================================================================
   메인 공통 섹션 머리: 왼쪽 큰 영문 + 오른쪽 설명
   ===================================================================== */
.pf-mhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 56px; }
.pf-mhead-sub { margin-top: 18px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; font-weight: 500; color: #444; letter-spacing: -0.03em; }
.pf-sec--dark .pf-mhead-sub { color: #b9bcc4; }
.pf-arrows { display: flex; gap: 8px; }
.pf-arrows button {
    width: 54px; height: 54px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--pf-bg-alt); color: var(--pf-ink); font-size: 15px; transition: background-color .2s ease, color .2s ease;
}
.pf-arrows button:hover { background: var(--pf-blue); color: #fff; }
@media (max-width: 767px) {
    .pf-arrows { display: none; }     /* 휴대폰은 손가락으로 넘긴다 */
    .pf-mhead { margin-bottom: 36px; }
    .pf-company-bg::after { background: rgba(5, 7, 12, .84); }
}

/* 제품·솔루션 카드 줄 — 옆으로 넘긴다 */
.pf-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3.25); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-bottom: 24px; scrollbar-width: none;
}
.pf-track::-webkit-scrollbar { display: none; }
/* 카드 줄 양옆 화살표 — 카드 가장자리에 반쯤 걸쳐 뜬다 */
.pf-track-wrap { position: relative; }
.pf-track-nav {
    position: absolute; z-index: 2; top: var(--pf-nav-y, 40%); transform: translateY(-50%);
    width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--pf-ink); font-size: 16px;
    box-shadow: 0 10px 30px -8px rgba(15, 30, 80, .28), inset 0 0 0 1px var(--pf-line);
    transition: background-color .2s ease, color .2s ease, opacity .25s ease, visibility .25s;
}
/* 카드와 겹치면 화살표를 누르려다 카드가 눌린다 — 카드 바깥에 둔다 */
.pf-track-nav--prev { left: -84px; }
.pf-track-nav--next { right: -84px; }
/* 바깥 여백이 버튼보다 좁은 화면은 카드 줄을 안쪽으로 당겨 버튼 자리를 만든다 */
@media (max-width: 1840px) {
    .pf-track-wrap { padding: 0 76px; }
    .pf-track-nav--prev { left: 0; }
    .pf-track-nav--next { right: 0; }
}
@media (max-width: 767px) { .pf-track-wrap { padding: 0; } }
.pf-track-nav:hover { background: var(--pf-blue); color: #fff; box-shadow: 0 10px 30px -8px rgba(37, 99, 235, .55); }
.pf-track-nav.is-off { opacity: 0; visibility: hidden; }
@media (max-width: 767px) { .pf-track-nav { display: none; } }   /* 휴대폰은 손가락으로 넘긴다 */
@media (max-width: 1023px) { .pf-track { grid-auto-columns: 68%; } }
@media (max-width: 600px) { .pf-track { grid-auto-columns: 86%; gap: 14px; } }
.pf-pcard {
    scroll-snap-align: start; display: flex; flex-direction: column;
    padding: 10px 10px 34px; border-radius: 14px; background: var(--pf-bg-alt);
    transition: background-color .3s ease, box-shadow .3s ease;
}
.pf-pcard:hover { background: #fff; box-shadow: 0 30px 60px -30px rgba(15, 30, 80, .3), inset 0 0 0 1px var(--pf-line); }
.pf-pcard figure { position: relative; aspect-ratio: 16 / 10.5; border-radius: 10px; overflow: hidden; background: #fff; }
.pf-pcard figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pf-pcard figure img.contain { object-fit: contain; padding: 22px; }
.pf-pcard:hover figure img { transform: scale(1.05); }
.pf-pcard figure svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pf-pcard:hover figure svg { transform: scale(1.03); }
.pf-pcard figure .pf-arr { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; opacity: 0; transition: opacity .3s ease, transform .3s ease; }
.pf-pcard:hover figure .pf-arr { opacity: 1; }
.pf-pcard-k { margin: 26px 20px 0; font-size: 14px; font-weight: 600; color: var(--pf-blue); }
.pf-pcard h3 { margin: 8px 20px 0; font-size: 26px; font-weight: 700; letter-spacing: -0.04em; color: var(--pf-ink); }
.pf-pcard p { margin: 14px 20px 0; font-size: 16px; line-height: 1.65; color: #666; letter-spacing: -0.025em; }
/* 카드 안에 링크가 둘일 때 — 카드 본문 링크 + 아래 바깥 사이트 링크 */
.pf-pcard-main { display: flex; flex-direction: column; flex: 1; color: inherit; }
.pf-pcard-link {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    margin: 22px 20px 0; padding: 10px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 600; letter-spacing: -0.02em;
    color: var(--pf-blue); background: var(--pf-blue-tint);
    transition: background-color .25s ease, color .25s ease;
}
.pf-pcard-link i { font-size: 12px; }
.pf-pcard-link:hover { background: var(--pf-blue); color: #fff; }

/* 회사 소개 띠 — 사진 위 큰 문장 */
.pf-company { position: relative; color: #fff; overflow: hidden; background: #0b0d12; }
.pf-company-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pf-company-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,12,.88) 0%, rgba(5,7,12,.7) 50%, rgba(5,7,12,.5) 100%), linear-gradient(180deg, rgba(5,7,12,0) 50%, rgba(5,7,12,.85) 100%); }
/* 배경: 실제 Pharos 관제 화면을 비스듬히 깔고 왼쪽으로 어둡게 사라지게 */
.pf-company-bg--console {
    background:
        linear-gradient(rgba(120, 150, 230, .05) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(120, 150, 230, .05) 1px, transparent 1px) 0 0 / 48px 48px,
        radial-gradient(ellipse 60% 80% at 78% 40%, rgba(37, 99, 235, .28), transparent 70%),
        #060a14;
    overflow: hidden;
}
.pf-company-bg--console img {
    position: absolute; right: -8%; top: 8%; width: 66%; max-width: none; border-radius: 14px;
    transform: perspective(1800px) rotateY(-18deg) rotateX(8deg) rotateZ(2deg);
    opacity: .5; filter: saturate(.6) brightness(.85);
    box-shadow: 0 80px 140px -40px rgba(0, 0, 0, .9);
}
.pf-company-bg--console::after {
    background:
        linear-gradient(90deg, #060a14 0%, rgba(6, 10, 20, .92) 34%, rgba(6, 10, 20, .45) 62%, rgba(6, 10, 20, .2) 100%),
        linear-gradient(180deg, rgba(6, 10, 20, 0) 45%, rgba(6, 10, 20, .95) 100%) !important;
}
@media (max-width: 767px) {
    .pf-company-bg--console img { width: 140%; right: -60%; top: 4%; opacity: .3; }
}
.pf-company-in { position: relative; padding-top: 180px; padding-bottom: 72px; }
@media (max-width: 767px) { .pf-company-in { padding-top: 110px; } }
.pf-company dt { font-size: clamp(44px, 5vw, 76px); font-weight: 700; line-height: 1.2; letter-spacing: -0.05em; }
.pf-company dd { margin-top: 40px; max-width: 880px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.7; font-weight: 500; color: rgba(255, 255, 255, .86); letter-spacing: -0.03em; }
.pf-company-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.pf-company .pf-stats { margin-top: 120px; }
.pf-company .pf-stat { border-top-color: rgba(255, 255, 255, .28); }
.pf-company .pf-stat-n { color: #fff; }
.pf-company .pf-stat-l { color: rgba(255, 255, 255, .7); }
.pf-company-note { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* 소식 카드 */
.pf-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; border-top: 1px solid var(--pf-line); padding-top: 48px; }
@media (max-width: 1023px) { .pf-news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pf-news { grid-template-columns: 1fr; } }
.pf-news a { display: block; }
.pf-news figure { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--pf-bg-alt); }
.pf-news figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pf-news a:hover figure img { transform: scale(1.06); }
.pf-news-k { margin-top: 24px; font-size: 14px; font-weight: 700; color: var(--pf-blue); }
.pf-news h3 { margin-top: 10px; font-size: 21px; line-height: 1.45; font-weight: 700; letter-spacing: -0.035em; color: var(--pf-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-news a:hover h3 { color: var(--pf-blue); }
.pf-news p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: #777; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-news time { display: block; margin-top: 18px; font-size: 14px; color: #999; font-variant-numeric: tabular-nums; }

/* 협력사 로고 흐름 */
.pf-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pf-marquee-track { display: flex; width: max-content; animation: pf-marquee 40s linear infinite; }
.pf-marquee:hover .pf-marquee-track { animation-play-state: paused; }
.pf-marquee-item { flex: none; width: 220px; height: 110px; margin-right: 16px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 22px 30px; box-shadow: inset 0 0 0 1px var(--pf-line); }
.pf-marquee-item img { max-height: 48px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.pf-marquee-item:hover img { filter: none; opacity: 1; }
@keyframes pf-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pf-marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

/* =====================================================================
   하위 페이지 상단 — 사진(또는 제품) 위 페이지 제목 + 페이지 안 탭
   ===================================================================== */
.pf-subvis { position: relative; height: 560px; background: #05070c; color: #fff; overflow: hidden; }
.pf-subvis-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: pf-subvis-zoom 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
.pf-subvis-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,12,.92) 0%, rgba(5,7,12,.74) 50%, rgba(5,7,12,.5) 100%); }
.pf-subvis-bg--plain::after { display: none; }
@keyframes pf-subvis-zoom { to { transform: scale(1); } }
.pf-subvis-obj { position: absolute; right: 9%; bottom: 0; height: 86%; width: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.pf-subvis-shot {
    position: absolute; right: -5%; top: 56%; width: 50%; border-radius: 12px; overflow: hidden;
    transform: translateY(-50%) perspective(1600px) rotateY(-16deg) rotateX(4deg);
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
}
.pf-subvis-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) { .pf-subvis-shot { width: 90%; right: -40%; opacity: .4; } }
.pf-subvis-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 76px; }
.pf-crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .65); margin-bottom: 22px; }
.pf-crumb i { font-size: 10px; opacity: .6; }
.pf-subvis-eye { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8fb4ff; margin-bottom: 14px; }
.pf-subvis h1 { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.15; font-weight: 700; letter-spacing: -0.045em; color: #fff; }
.pf-subvis-p { margin-top: 20px; max-width: 640px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, .78); letter-spacing: -0.02em; }
@media (max-width: 767px) {
    .pf-subvis { height: 480px; }
    .pf-subvis-in { padding-bottom: 48px; }
    .pf-subvis-obj { right: -10%; height: 60%; opacity: .45; }
}

.pf-tabs { position: sticky; top: var(--pf-head-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--pf-line); }
.pf-tabs-in { display: flex; overflow-x: auto; scrollbar-width: none; }
.pf-tabs-in::-webkit-scrollbar { display: none; }
.pf-tabs a {
    flex: 1 0 auto; min-width: 150px; height: 66px; display: flex; align-items: center; justify-content: center; padding: 0 22px;
    font-size: 16px; font-weight: 600; color: #777; position: relative; white-space: nowrap; transition: color .2s ease;
}
.pf-tabs a + a::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--pf-line); }
.pf-tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--pf-blue); transform: scaleX(0); transition: transform .3s ease; }
.pf-tabs a:hover, .pf-tabs a.on { color: var(--pf-ink); }
.pf-tabs a.on::after { transform: scaleX(1); }
html:has(.pf-tabs) { scroll-padding-top: 160px; }

/* ---------- 푸터 ---------- */
.pf-footer { background: #0f1116; color: #8b8f98; padding: 80px 0 48px; font-size: 15px; }
.pf-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pf-footer-top img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.pf-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 16px; font-weight: 600; color: #e4e6ea; }
.pf-footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.pf-footer-info { padding-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.pf-footer-info dl { display: flex; flex-wrap: wrap; gap: 6px 26px; line-height: 1.7; }
.pf-footer-info dl + dl { margin-top: 6px; }
.pf-footer-info dt { color: #c7cad1; font-weight: 600; margin-right: 8px; display: inline; }
.pf-footer-info dd { display: inline; }
.pf-footer-copy { margin-top: 28px; font-size: 13.5px; color: #6c707a; }
.pf-social { display: flex; gap: 10px; align-self: start; }
.pf-social a {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .06); color: #c7cad1; font-size: 17px;
    transition: background-color .2s ease, color .2s ease;
}
.pf-social a:hover { background: var(--pf-blue); color: #fff; }
@media (max-width: 767px) { .pf-footer-info { grid-template-columns: 1fr; } }

/* ---------- 폼 ---------- */
.pf-field label { display: block; font-size: 14.5px; font-weight: 600; color: var(--pf-ink-2); margin-bottom: 8px; }
.pf-input {
    width: 100%; height: 54px; padding: 0 16px; border-radius: 8px;
    border: 1px solid #d5d5d5; background: #fff; font-size: 16px; color: var(--pf-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.pf-input { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.pf-input:focus { outline: none; border-color: var(--pf-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }

/* ---------- 로고 격자 (하위 페이지) ---------- */
.pf-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pf-logo-cell { height: 100px; border-radius: var(--pf-radius-sm); background: var(--pf-bg-alt); display: flex; align-items: center; justify-content: center; padding: 18px 22px; }
.pf-sec--alt .pf-logo-cell { background: #fff; }
.pf-logo-cell img { max-height: 44px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .3s ease, opacity .3s ease; }
.pf-logo-cell:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .pf-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pf-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.pf-faq { border-top: 2px solid var(--pf-ink); }
.pf-faq details { border-bottom: 1px solid var(--pf-line); }
.pf-faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 26px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; color: var(--pf-ink);
}
.pf-faq summary::-webkit-details-marker { display: none; }
.pf-faq summary::after { content: '+'; font-size: 26px; font-weight: 300; color: var(--pf-muted); transition: transform .25s ease; }
.pf-faq details[open] summary::after { transform: rotate(45deg); }
.pf-faq details p { padding: 0 0 28px; max-width: 800px; font-size: 17px; line-height: 1.75; color: var(--pf-ink-2); }

/* 맨 위로 */
#scroll-top.pf-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 40;
    width: 52px; height: 52px; border-radius: 10px;
    background: var(--pf-blue); color: #fff; box-shadow: 0 12px 28px -12px rgba(37, 99, 235, .6);
    display: flex; align-items: center; justify-content: center;
}
#scroll-top.pf-top:hover { background: var(--pf-blue-hover); }
