/* 목록 화면 세 곳(설비·생산라인·인사이트)의 히어로 — 2026-09-25.
   사장님 "바로 장비로 떨어지니 어색하다 / 아이덴티티 같은 hero가 필요해".

   회사소개(/company)의 히어로 문법을 그대로 가져온다 — 가운데 정렬 ·
   큰 제목 · 슬로건 · KPI 카드 3장(0에서 카운트업) · 조사일. 색과 그림자,
   여백까지 같은 값을 쓴다. 세 화면이 같은 회사로 보여야 한다.

   **문의 버튼을 넣지 않는다.** 전환 동선은 상세 페이지에만 둔다
   (§decision_cta_concentrated_on_detail_pages). 여기서 할 일은 찾는 것이다.

   규칙을 여기 하나에만 둔다. 화면마다 복붙하면 오늘처럼 어긋난다. */

.ph-wrap{
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e9f2;
    background:
        radial-gradient(880px 520px at 16% 10%, rgba(20,168,154,.13), transparent 62%),
        radial-gradient(1020px 640px at 86% 24%, rgba(31,111,235,.15), transparent 64%),
        linear-gradient(180deg,#ffffff 0%,rgba(238,243,251,.92) 54%,transparent 100%);
}

.ph{
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 24px 30px;
    text-align: center;
}

.ph-eb{
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #1558c0;
}

.ph-title{
    margin: 0;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.04;
    color: #0d1116;
}

/* 슬로건 — 방문자가 얻는 것. 우리 일 얘기는 아래 작은 줄로 내린다.
   긴 한글은 줄이 어디서 끊길지 몰라 <br> 로 직접 끊는다. */
.ph-slogan{
    margin: 26px auto 0;
    max-width: 34ch;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 750;
    line-height: 1.34;
    letter-spacing: -.04em;
    color: #1a2128;
    word-break: keep-all;
}

.ph-sub{
    margin: 9px auto 0;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.7;
    color: #5f6b75;
    word-break: keep-all;
}

/* 검색창 — 2026-09-25. 이 자리에 숫자 카드도, 칩도 놓아 봤다.
   숫자는 작아 보이기만 했고 칩은 아홉·열넷이 늘어서서 복잡했다. 한 칸으로 받는다.

   먹 바탕도 대 봤으나 히어로는 밝은 편이 낫다(사장님 "따라오는것만"). 먹은
   머리띠를 따라오는 쪽(.ps-find)에만 쓴다 — 거기는 밝으면 묻힌다.
   아이콘만 돋보기에서 반짝임으로 바꿨다. 「찾기」가 아니라 「말하면 골라
   준다」는 뜻이라 이쪽이 맞다. */
.ph-search{
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 800px;
    margin: 42px auto 0;
    padding: 0 12px 0 28px;
    height: 72px;
    background: #fff;
    border: 1px solid rgba(15,22,28,.07);
    border-radius: 22px;     /* 따라오는 검색과 같은 꼴 — 알약이 아니라 둥근 네모 */
    box-shadow: 0 1px 2px rgba(15,22,28,.04), 0 8px 20px rgba(15,22,28,.08),
                0 22px 40px rgba(15,22,28,.07);
    transition: box-shadow .18s, border-color .18s, transform .18s;
}

.ph-search:focus-within{
    border-color: rgba(77,182,172,.6);
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(15,22,28,.04), 0 10px 24px rgba(77,182,172,.18),
                0 26px 48px rgba(15,22,28,.09);
}

.ph-search-ic{
    width: 25px;
    height: 25px;
    flex: none;
    color: #4DB6AC;
}

.ph-search-in{
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    font: inherit;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.028em;
    color: #1a2128;
    -webkit-appearance: none;
    appearance: none;
}

.ph-search-in::placeholder{color: #aab3bb; font-weight: 400}
/* 사파리가 붙이는 자체 지우기 단추 — 우리 단추와 겹친다 */
.ph-search-in::-webkit-search-cancel-button{-webkit-appearance: none}

.ph-search-x{
    flex: none;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 13px;
    background: rgba(15,22,28,.06);
    color: #5f6b75;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s;
}
.ph-search-x:hover{background: rgba(15,22,28,.12)}

.ph-search-hint{
    margin: 11px auto 0;
    max-width: 46ch;
    min-height: 1.35em;
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 600;
    color: #5f6b75;
    letter-spacing: -.02em;
    word-break: keep-all;
}

/* 캠페인 카드로 가는 길 — 2026-10-03. 검색어가 카드 별칭(리본믹서 · 배합탱크 …)이면 뜬다.
   먹색 알약 하나 · 흰 글씨. 민트는 쓰지 않는다(포인트 색은 화면에 하나면 된다). */
.ph-card{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 14px auto 0;
    padding: 11px 18px;
    border-radius: 999px;
    background: #101418;
    color: #fff;
    text-decoration: none;
    font-size: 14.5px;
    letter-spacing: -.02em;
    max-width: 100%;
}
.ph-card[hidden]{display: none}
.ph-card b{font-weight: 700}
.ph-card-k{font-size: 12px; color: rgba(255,255,255,.62); letter-spacing: .02em}
.ph-card-go{font-weight: 600; white-space: nowrap}
@media (max-width: 640px){ .ph-card{font-size: 13.5px; padding: 10px 14px; gap: 8px} .ph-card-k{display: none} }

/* 자주 가는 곳 — 2026-09-25. 사장님이 크롬 새 탭을 보여 주시며
   "이런식의 자주가는 버튼 몇개로 구성해보자". 둥근 아이콘 + 아래 이름.
   칩을 아홉·열넷 늘어놓던 것을 여섯으로 줄인 자리다. */
.ph-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
    max-width: 640px;
    margin: 16px auto 0;
}

.ph-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 74px;
    padding: 4px 0;
    text-decoration: none;
    color: #5f6b75;
}

.ph-link-ic{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: #3a4753;
    box-shadow: 0 1px 2px rgba(15,22,28,.05), 0 6px 16px rgba(15,22,28,.08);
    transition: transform .16s cubic-bezier(.16,1,.3,1), box-shadow .16s, color .16s;
}

.ph-link-ic svg{width: 20px; height: 20px}

.ph-link-tx{
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.3;
    text-align: center;
    word-break: keep-all;
}

.ph-link:hover .ph-link-ic{
    color: #1558c0;
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(15,22,28,.06), 0 12px 24px rgba(15,22,28,.14);
}
.ph-link:hover .ph-link-tx{color: #1a2128}
.ph-link:active .ph-link-ic{transform: translateY(0)}

@media (max-width: 860px){
    .ph{padding: 36px 18px 34px}
    .ph-search{margin-top: 28px; height: 60px; padding: 0 8px 0 18px; gap: 11px; border-radius: 18px}
    .ph-search-ic{width: 19px; height: 19px}
    .ph-search-in{font-size: 16px}   /* 16px 아래면 사파리가 화면을 확대한다 */
    .ph-search-x{width: 30px; height: 30px}
    .ph-search-hint{margin-top: 13px; font-size: 13.5px}
    .ph-links{gap: 4px 12px; margin-top: 20px; max-width: 340px}
    .ph-link{width: 62px; gap: 7px}
    .ph-link-ic{width: 46px; height: 46px}
    .ph-link-ic svg{width: 20px; height: 20px}
    .ph-link-tx{font-size: 11.5px}
}
