/*
  디자인 시스템 — docs/design-taxonomy.md 검증 기반
  - 아키타입: layout:hero-centric-landing (홈, full-bleed-hero) / layout:sectioned-stack (서비스 상세) / layout:article-longread + layout:manuscript-grid (가이드)
  - 그리드: layout:column-grid, layout:uniform-card-grid(사진 갤러리·서비스 카드), layout:asymmetric-two-up(홈 캐퍼빌리티·필드 아카이브)
  - 비율: layout:aspect-ratio-discipline(사진 4:3 고정), layout:scale-contrast(제목 위계)
  - 공간 모델: layout:hybrid-layout(고정 헤더 + 유동 본문), layout:margin-gutter
  - 컨테이너 페어링: style:outlined-containers(카드) / style:tonal-surface-separation(섹션 배경 교차) / style:seamless-surface-continuity(가이드 본문) / style:single-axis-rule-separation(홈 타임라인·인덱스)
  - 컬러: 2026-08-21 컬러스킴 변경(Technical Infrastructure 방향) — Canvas/Surface/Ink 중심 뉴트럴 + Technical Accent(#176B87) + 제한적 Orange(#E66A2C)
  - 반응형: layout:mobile-first-stack + layout:reflow-reorder
*/

:root {
    --color-primary: #176B87;
    --color-primary-dark: #124F63;
    --color-primary-tint: #E7EEF0;
    --color-accent: #E66A2C;
    --color-accent-text: #12171A;
    --color-text: #151719;
    --color-text-muted: #687078;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F1F1ED;
    --color-bg-deep: #E9E9E4;
    --color-border: #D6D8D7;
    --color-dark: #12171A;
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 10px;
    --wrap-width: 1120px;
    --hp-wrap-width: 1400px;
    --content-width: 720px;
    --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
    --shadow-elevated: 0 12px 24px -8px rgba(16, 24, 40, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    overflow-wrap: break-word;
}

h1, h2, h3 { line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap {
    max-width: var(--wrap-width);
    margin: 0 auto;
    padding: 0 20px;
}

a { color: inherit; text-decoration: none; }

/* ===== Header (layout:sticky-header-sidebar 응용) ===== */
.site-header {
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    z-index: 20;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}
.site-header__logo { display: flex; align-items: center; gap: 10px; }
.site-header__mark { width: 26px; height: 26px; color: var(--color-primary); flex-shrink: 0; }
.site-header__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-header__name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--color-text); }
.site-header__tagline { font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--color-text-muted); margin-top: 3px; }
.site-header__phone {
    background: var(--color-primary);
    color: #fff;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: var(--shadow-card);
    transition: background 0.15s ease, transform 0.15s ease;
}
.site-header__phone:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

.gnb__list {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
}
.gnb__item { position: relative; }
.gnb__cat { cursor: default; font-size: 14px; font-weight: 600; color: var(--color-text-muted); }
.gnb__item > a { font-size: 14px; font-weight: 600; color: var(--color-text-muted); }
.gnb__item:hover > .gnb__cat,
.gnb__item:hover > a { color: var(--color-primary); }
.gnb__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    min-width: 220px;
    padding: 8px;
    list-style: none;
    box-shadow: var(--shadow-elevated);
}
.gnb__item:hover .gnb__sub { display: block; }
.gnb__sub li a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.gnb__sub li a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

/* ===== Breadcrumb (layout:semantic-boundaries) ===== */
.breadcrumb {
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 16px 20px 0;
    max-width: var(--wrap-width);
    margin: 0 auto;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 6px; color: var(--color-border); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #fff;
    padding: 0 26px;
    height: 56px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    box-shadow: var(--shadow-card);
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    box-shadow: none;
}
.btn--outline:hover { background: var(--color-primary-tint); }

/* ===== Stat band — layout:stat-band ===== */
.stat-band {
    background: var(--color-bg-deep);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}
.stat-band__item .num { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--color-primary); display: block; }
.stat-band__item .label { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* ===== Section rhythm — style:tonal-surface-separation ===== */
section.wrap { padding: 56px 20px; }
section.section-alt { background: var(--color-bg-alt); }
.section-alt > .wrap { padding-top: 56px; padding-bottom: 56px; }
.section-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 0 0 8px; }
.section-sub { color: var(--color-text-muted); margin: 0 0 32px; font-size: 15px; }


/* ===== Service grid (home) — layout:feature-grid ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.service-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px;
    background: #fff;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.service-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); border-color: var(--color-primary); }
.service-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.service-card p { margin: 0; font-size: 16px; color: var(--color-text-muted); line-height: 1.6; }
.service-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.service-card ul li { position: relative; padding-left: 16px; font-size: 16px; color: var(--color-text-muted); line-height: 1.6; }
.service-card ul li::before { content: '–'; position: absolute; left: 0; color: var(--color-primary); }
.service-card a { font-size: 14px; color: var(--color-text-muted); }
.service-card a:hover { color: var(--color-primary); }

/* ===== 세부페이지 본문 컴포넌트 카드 — 문단을 배경 박스로 시각화 ===== */
.content-card { background: var(--color-bg-alt); border-radius: var(--radius); padding: 28px 30px; margin: 48px 0; }
.content-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.content-card p { margin: 0; font-size: 16px; color: var(--color-text-muted); line-height: 1.7; }

/* 본문 리드 문단 — FAQ 질문(17~24px)보다 살짝 작게 */
section.wrap > p, .article > p { font-size: 17px; color: var(--color-text); line-height: 1.8; }

/* ===== 아이콘 — 라인 드로잉만 사용 ===== */
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.service-card > .icon { color: var(--color-primary); width: 28px; height: 28px; }

/* ===== 증상/포인트 번호형 카드 그리드 — layout:uniform-card-grid ===== */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0; }
.check-card { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px 20px; background: #fff; transition: box-shadow .15s ease, border-color .15s ease; }
.check-card:hover { box-shadow: var(--shadow-elevated); border-color: var(--color-primary); }
.check-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.check-card__num { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--color-primary); }
.check-card .icon { color: var(--color-primary); }
.check-card p { margin: 0; font-size: 16px; font-weight: 500; color: var(--color-text); line-height: 1.55; }
@media (max-width: 860px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }

/* ===== 세부페이지 비대칭 2단 — 텍스트+사진, 히어로처럼 배치 다양화 ===== */
.split-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin: 56px 0; }
.split-row--reverse { grid-template-columns: .9fr 1.1fr; }
.split-row--reverse .split-row__media { order: -1; }
.split-row__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); margin-bottom: 12px; }
.split-row__media + .photo-caption { margin-top: 0; }
.split-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-row__body p { font-size: 17px; line-height: 1.8; color: var(--color-text); margin: 0 0 12px; }
.split-row__body p:last-child { margin-bottom: 0; }
.split-row__body .photo-caption { margin: 8px 0 0; }
@media (max-width: 780px) {
    .split-row, .split-row--reverse { grid-template-columns: 1fr; gap: 24px; margin: 40px 0; }
    .split-row--reverse .split-row__media { order: 0; }
}

/* ===== 세부페이지 미니 타임라인 — 진행 과정을 카드가 아닌 연결선으로 ===== */
.mini-timeline { margin: 24px 0 56px; }
.mini-timeline__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.mini-timeline__track::before { content: ''; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--color-border); }
.mini-timeline__step { position: relative; }
.mini-timeline__icon { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; }
.mini-timeline__icon .icon { width: 17px; height: 17px; color: var(--color-primary); }
.mini-timeline__step h3 { font-size: 17px; margin: 0 0 8px; font-weight: 600; }
.mini-timeline__step p { font-size: 15px; color: var(--color-text-muted); margin: 0; line-height: 1.65; }
@media (max-width: 720px) {
    .mini-timeline__track { grid-template-columns: 1fr; gap: 28px; }
    .mini-timeline__track::before { display: none; }
}

/* ===== 세부페이지 노트 박스 — content-card와 다른 변형(좌측 강조선) ===== */
.note-box { border-left: 3px solid var(--color-primary); padding: 2px 0 2px 22px; margin: 48px 0; }
.note-box h3 { font-size: 17px; margin: 0 0 8px; font-weight: 600; }
.note-box p { margin: 0; font-size: 16px; color: var(--color-text-muted); line-height: 1.75; }

/* ===== 세부페이지 하단 CTA — 페이지 맞춤 설득 멘트, 크게 ===== */
.detail-cta { background: var(--color-dark); border-radius: var(--radius-lg); padding: 56px 40px; margin: 48px 0 24px; text-align: center; color: #fff; }
.detail-cta__eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.detail-cta h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0 auto 14px; color: #fff; max-width: 34ch; }
.detail-cta p { font-size: 16px; color: rgba(255,255,255,.78); margin: 0 auto 30px; max-width: 46ch; }
.detail-cta .btn { background: var(--color-accent); color: #fff; height: 60px; padding: 0 36px; font-size: 16px; }
.detail-cta .btn:hover { background: #fff; color: var(--color-accent-text); }
@media (max-width: 720px) { .detail-cta { padding: 40px 24px; } }

/* ===== Page heading (히어로 이미지 없는 페이지 — 예: 상담페이지) ===== */
.page-h1 {
    max-width: var(--wrap-width);
    margin: 40px auto 8px;
    padding: 0 20px;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
}
.page-lead {
    max-width: var(--wrap-width);
    margin: 0 auto 8px;
    padding: 0 20px;
    color: var(--color-text-muted);
    font-size: 15px;
    font-weight: 500;
}

/* ===== 세부페이지 히어로 — style:media-backed-surfaces, 본문과 명확한 구분감 ===== */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--color-dark);
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(18,23,26,.1) 0%, rgba(18,23,26,.15) 45%, rgba(18,23,26,.86) 100%);
}
.page-hero__content {
    position: relative;
    max-width: var(--wrap-width);
    margin: 0 auto;
    width: 100%;
    padding: 56px 20px 36px;
}
.page-hero .breadcrumb { color: rgba(255,255,255,.7); padding: 0; margin: 0 0 16px; max-width: none; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,.32); }
.page-hero .page-h1 { color: #fff; margin: 0 0 12px; padding: 0; max-width: none; font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
.page-hero .page-lead { color: rgba(255,255,255,.85); margin: 0; padding: 0; max-width: 640px; font-size: 17px; }
.page-hero__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 16px; }
@media (max-width: 720px) {
    .page-hero { min-height: 320px; }
    .page-hero__content { padding: 44px 20px 28px; }
    .page-hero .page-h1 { font-size: clamp(30px, 9vw, 40px); }
}

/* ===== Video / Photo gallery — layout:uniform-card-grid + layout:aspect-ratio-discipline ===== */
.video-embed { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; margin: 24px 0; box-shadow: var(--shadow-card); }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 36px 0;
}
.photo-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    box-shadow: var(--shadow-card);
}
.video-caption, .photo-caption { font-size: 13px; color: var(--color-text-muted); margin-top: -12px; margin-bottom: 24px; }

/* ===== FAQ — style:single-axis-rule-separation, layout:progressive-disclosure (카드 금지, 번호+괘선) ===== */
.faq { display: flex; flex-direction: column; margin: 24px 0; counter-reset: faq; border-top: 1px solid var(--color-border); }
.faq details {
    border-bottom: 1px solid var(--color-border);
    counter-increment: faq;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    padding: 26px 0;
    font-size: clamp(17px, 2vw, 24px);
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: 18px;
}
.faq summary::before {
    content: counter(faq, decimal-leading-zero);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--color-primary);
    flex-shrink: 0;
}
.faq summary::after { content: '+'; font-size: 22px; color: var(--color-text-muted); font-weight: 300; margin-left: auto; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { padding: 0 0 26px 42px; margin: 0; color: var(--color-text-muted); font-size: 15px; }

/* ===== CTA box / banner — layout:cta-banner ===== */
.cta-box {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.cta-box p { margin: 0; font-weight: 700; font-size: 16px; }

/* ===== Article / guide — layout:manuscript-grid + style:seamless-surface-continuity ===== */
.article {
    max-width: var(--content-width);
    margin: 0 auto;
}
.article h2 { font-size: 22px; margin: 40px 0 12px; }
.article p { color: var(--color-text); font-size: 16px; }

/* ===== 내부링크 3x2 카드그리드 — layout:uniform-card-grid, 마지막 칸 상담하기 ===== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.related-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.related-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.related-card span { padding: 12px 14px; font-size: 14px; font-weight: 600; }
.related-card--cta {
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-accent-text);
    min-height: 100%;
}
.related-card--cta span { padding: 0; font-size: 16px; font-weight: 700; }
@media (max-width: 720px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ===== 리빌 애니메이션 — 종류를 다양하게(통일 금지) ===== */
[data-reveal] { opacity: 0; }
[data-reveal].is-visible { opacity: 1; }
[data-reveal="fade-up"] { transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal="fade-up"].is-visible { transform: translateY(0); }
[data-reveal="fade-in"] { transition: opacity 0.7s ease; }
[data-reveal="scale-in"] { transform: scale(0.92); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal="scale-in"].is-visible { transform: scale(1); }
[data-reveal="slide-left"] { transform: translateX(-32px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal="slide-left"].is-visible { transform: translateX(0); }
[data-reveal="slide-right"] { transform: translateX(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal="slide-right"].is-visible { transform: translateX(0); }
[data-reveal="fade-up-lg"] { transform: translateY(32px); transition: opacity 0.85s cubic-bezier(.22,1,.36,1), transform 0.85s cubic-bezier(.22,1,.36,1); }
[data-reveal="fade-up-lg"].is-visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== Hero 진입 애니메이션 — 항상 최초 뷰포트 안이므로 스크롤 트리거 대신 로드 즉시 재생 ===== */
@keyframes hpFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hp-hero h1 { animation: hpFadeUp 0.8s cubic-bezier(.22,1,.36,1) both; animation-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
    .hp-hero h1 { animation: none; }
}

/* ===== 상담페이지 전용 — 전화번호가 유일하게 노출되는 곳 ===== */
.contact-phone-block {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    color: #fff;
    margin: 24px 0 32px;
}
.contact-phone-block .label { font-size: 14px; opacity: 0.85; margin-bottom: 8px; }
.contact-phone-block .phone-number { font-size: clamp(32px, 6vw, 52px); font-weight: 800; letter-spacing: -0.02em; display: block; margin-bottom: 20px; white-space: nowrap; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 420px; margin: 0 auto; }
.contact-actions a {
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--color-primary);
    padding: 16px; border-radius: var(--radius); font-weight: 800; font-size: 17px;
}
.contact-actions a:hover { background: var(--color-primary-tint); }

/* ===== Footer — 사업자정보/바로가기/대표서비스 3열 가로배치 ===== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-bg-alt); margin-top: 64px; }
.site-footer__inner { padding: 40px 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 24px;
}
.footer-col__title { font-size: 13px; font-weight: 700; color: var(--color-text); margin: 0 0 12px; }
.footer-col p { margin: 4px 0; font-size: 13px; color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-primary); }
.footer-copy { margin-top: 16px; font-size: 12px; color: var(--color-text-muted); }
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Error page ===== */
.error-page { text-align: center; padding: 80px 20px; }

/* ===== Responsive — layout:mobile-first-stack + layout:reflow-reorder (전 페이지 공통) ===== */
@media (max-width: 720px) {
    section.wrap { padding: 40px 20px; }
    .stat-band { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   홈페이지 전용 — Technical Infrastructure / Field Service Editorial
   아키타입: layout:full-bleed-hero + layout:sectioned-stack
   구조: layout:asymmetric-two-up(캐퍼빌리티·아카이브), layout:single-axis-rule-separation(타임라인·인덱스·트러스트)
   컨테이너: style:media-backed-surfaces(히어로·풀블리드), style:contrast-scrim, style:outlined-containers 금지(카드형 배제)
   ========================================================================= */
.hp-wrap { max-width: var(--hp-wrap-width); margin: 0 auto; padding: 0 24px; }
.hp-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0 0 20px;
}

/* ---- Hero ---- */
.hp-hero { position: relative; min-height: 850px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--color-dark); }
.hp-hero__media { position: absolute; inset: 0; }
.hp-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-hero__scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(18,23,26,.1) 0%, rgba(18,23,26,.05) 30%, rgba(18,23,26,.82) 100%),
        linear-gradient(100deg, rgba(18,23,26,.6) 0%, rgba(18,23,26,.1) 52%, rgba(18,23,26,0) 70%);
}
.hp-hero__content { position: relative; padding: 120px 24px 0; color: #fff; }
.hp-hero__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 22px; }
.hp-hero h1 { font-size: clamp(76px, 9vw, 136px); font-weight: 900; letter-spacing: -0.05em; line-height: .94; margin: 0 0 26px; }
.hp-hero__statement { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.3; margin: 0 0 14px; max-width: 18ch; }
.hp-hero__lead { font-size: 17px; color: rgba(255,255,255,.8); max-width: 44ch; margin: 0 0 36px; }
.hp-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

.hp-hero__annotation { position: absolute; right: 24px; top: 120px; display: flex; flex-direction: column; gap: 20px; text-align: right; z-index: 2; }
.hp-hero__annotation-item { border-right: 1px solid rgba(255,255,255,.35); padding-right: 16px; }
.hp-hero__annotation-item .k { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.58); margin-bottom: 4px; }
.hp-hero__annotation-item .v { display: block; font-size: 13px; font-weight: 600; color: #fff; }

.hp-field-index { position: relative; border-top: 1px solid rgba(255,255,255,.22); }
.hp-field-index__list { max-width: var(--hp-wrap-width); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.hp-field-index__item { display: block; padding: 22px 22px 22px 0; border-right: 1px solid rgba(255,255,255,.2); color: #fff; }
.hp-field-index__item:last-child { border-right: 0; }
.hp-field-index__num { display: block; font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.hp-field-index__name { font-size: 15px; font-weight: 600; }
.hp-field-index a.hp-field-index__item:hover .hp-field-index__name { color: var(--color-accent); }

/* ---- Manifesto ---- */
.hp-manifesto { padding: 140px 0; }
.hp-manifesto__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hp-manifesto h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 28px; }
.hp-manifesto p { font-size: 18px; line-height: 1.7; color: var(--color-text-muted); max-width: 46ch; }
.hp-manifesto__media { aspect-ratio: 4 / 3; overflow: hidden; }
.hp-manifesto__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Capability (서비스) — Featured 2 + Index 4, 비대칭 ---- */
.hp-capability { padding: 0 0 140px; }
.hp-capability__head { padding-bottom: 56px; }
.hp-capability__head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.hp-capability__featured { border-top: 1px solid var(--color-border); }
.hp-capability__row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--color-border); }
.hp-capability__row--reverse .hp-capability__media { order: 2; }
.hp-capability__media { aspect-ratio: 16 / 11; overflow: hidden; }
.hp-capability__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.hp-capability__row:hover .hp-capability__media img { transform: scale(1.02); }
.hp-capability__body { display: flex; flex-direction: column; justify-content: center; padding: 56px; }
.hp-capability__num { font-size: 13px; font-weight: 600; color: var(--color-primary); letter-spacing: .08em; margin-bottom: 16px; }
.hp-capability__body h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; margin: 0 0 14px; letter-spacing: -0.02em; }
.hp-capability__body p { font-size: 15px; color: var(--color-text-muted); margin: 0 0 26px; max-width: 38ch; }
.hp-capability__link { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--color-text); display: inline-flex; align-items: center; gap: 6px; }
.hp-capability__row:hover .hp-capability__link { color: var(--color-primary); }

.hp-capability__index { margin-top: 8px; }
.hp-capability__index-row { display: flex; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--color-border); }
.hp-capability__index-row .n { font-size: 13px; color: var(--color-text-muted); width: 32px; flex-shrink: 0; }
.hp-capability__index-row .t { font-size: 19px; font-weight: 600; flex: 1; }
.hp-capability__index-row .arrow { font-size: 18px; color: var(--color-text-muted); transition: transform .25s ease, color .25s ease; }
.hp-capability__index-row:hover .arrow { transform: translateX(6px); color: var(--color-primary); }
.hp-capability__index-row:hover .t { color: var(--color-primary); }

/* ---- Timeline (프로세스) ---- */
.hp-timeline { padding: 140px 0; background: var(--color-bg-alt); }
.hp-timeline__head { padding-bottom: 64px; }
.hp-timeline__head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.hp-timeline__track { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 20px; position: relative; }
.hp-timeline__track::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--color-border); }
.hp-timeline__step { position: relative; }
.hp-timeline__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-primary); margin-bottom: 24px; position: relative; z-index: 1; }
.hp-timeline__code { font-size: 11px; letter-spacing: .1em; color: var(--color-primary); font-weight: 600; margin-bottom: 10px; }
.hp-timeline__step h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.hp-timeline__step p { font-size: 13px; line-height: 1.6; color: var(--color-text-muted); margin: 0; }

/* ---- Field Archive (현장사진) — 비대칭 3줄 ---- */
.hp-archive { padding: 140px 0; }
.hp-archive__head { padding-bottom: 56px; }
.hp-archive__head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.hp-archive__row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-bottom: 12px; }
.hp-archive__row--reverse { grid-template-columns: 1fr 1.6fr; }
.hp-archive__row--reverse .hp-archive__item--lg { order: 2; }
.hp-archive__item { position: relative; overflow: hidden; }
.hp-archive__item--lg { aspect-ratio: 16 / 10; }
.hp-archive__item--sm { aspect-ratio: 4 / 5; }
.hp-archive__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hp-archive__item:hover img { transform: scale(1.02); }
.hp-archive__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,23,26,0) 55%, rgba(18,23,26,.72) 100%); }
.hp-archive__cap { position: absolute; left: 0; bottom: 0; padding: 18px 20px; color: #fff; z-index: 1; }
.hp-archive__cap .f { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.hp-archive__cap .t { font-size: 15px; font-weight: 600; }

/* ---- Field Footage (영상) ---- */
.hp-video { padding: 0 0 140px; }
.hp-video__head { padding-bottom: 32px; }
.hp-video__lead { font-size: 17px; color: var(--color-text-muted); margin: 0; max-width: 46ch; }
.hp-video__frame { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-top: 1px solid var(--color-border); }
.hp-video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.hp-video__caption { margin-top: 16px; font-size: 13px; color: var(--color-text-muted); }
.hp-video__caption a:hover { color: var(--color-primary); }

/* ---- Full-bleed 문장형 이미지 섹션 ---- */
.hp-fullbleed { position: relative; min-height: 640px; display: flex; align-items: center; }
.hp-fullbleed__media { position: absolute; inset: 0; }
.hp-fullbleed__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-fullbleed__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,23,26,.25), rgba(18,23,26,.7)); }
.hp-fullbleed__content { position: relative; color: #fff; }
.hp-fullbleed__content .hp-label { color: rgba(255,255,255,.75); }
.hp-fullbleed__content h2 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }

/* ---- Trust ---- */
.hp-trust { padding: 140px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.hp-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-trust__item { padding: 0 28px; border-right: 1px solid var(--color-border); }
.hp-trust__item:first-child { padding-left: 0; }
.hp-trust__item:last-child { border-right: 0; padding-right: 0; }
.hp-trust__item .tag { display: block; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--color-text); margin-bottom: 16px; }
.hp-trust__item p { font-size: 15px; line-height: 1.6; color: var(--color-text-muted); margin: 0; }

/* ---- 홈 FAQ 폭 제한 ---- */
.hp-faq { padding: 140px 0; }
.hp-faq__inner { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.hp-faq__inner .hp-label { text-align: left; }

/* ---- Final CTA ---- */
.hp-cta { position: relative; min-height: 480px; display: flex; align-items: center; }
.hp-cta__media { position: absolute; inset: 0; }
.hp-cta__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-cta__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,23,26,.55), rgba(18,23,26,.86)); }
.hp-cta__content { position: relative; color: #fff; text-align: center; margin: 0 auto; max-width: 760px; padding: 0 24px; }
.hp-cta__content .hp-label { color: rgba(255,255,255,.75); text-align: center; }
.hp-cta__content h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 20px; }
.hp-cta__content p { font-size: 16px; color: rgba(255,255,255,.82); margin: 0 0 32px; }
.hp-cta .btn { background: var(--color-accent); color: #fff; }
.hp-cta .btn:hover { background: #fff; color: var(--color-accent-text); }

/* ---- 홈 반응형 ---- */
@media (max-width: 860px) {
    .hp-hero { min-height: 0; }
    .hp-hero__content { padding: 108px 20px 0; }
    .hp-hero h1 { font-size: clamp(56px, 15vw, 72px); }
    .hp-hero__annotation { display: none; }
    .hp-field-index__list { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
    .hp-field-index__item:nth-child(2n) { border-right: 0; }
    .hp-manifesto, .hp-capability, .hp-timeline, .hp-archive, .hp-trust, .hp-faq, .hp-video { padding-top: 88px; padding-bottom: 88px; }
    .hp-capability { padding-bottom: 88px; }
    .hp-manifesto__grid, .hp-capability__row, .hp-capability__row--reverse { grid-template-columns: 1fr; gap: 24px; }
    .hp-capability__row--reverse .hp-capability__media { order: 0; }
    .hp-capability__body { padding: 32px 20px; }
    .hp-archive__row, .hp-archive__row--reverse { grid-template-columns: 1fr; }
    .hp-archive__row--reverse .hp-archive__item--lg { order: 0; }
    .hp-archive__item--lg, .hp-archive__item--sm { aspect-ratio: 4 / 3; }
    .hp-timeline__track { grid-template-columns: 1fr; row-gap: 32px; }
    .hp-timeline__track::before { display: none; }
    .hp-trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; column-gap: 20px; }
    .hp-trust__item { border-right: 0; padding: 0; }
    .hp-fullbleed, .hp-cta { min-height: 60vh; padding: 64px 0; }
}
@media (max-width: 560px) {
    .hp-hero__actions { flex-direction: column; }
    .hp-hero__actions .btn, .hp-hero__actions .btn--ghost { width: 100%; justify-content: center; }
}
