/* ==========================================================================
   OSBC main-design2 — common.css
   토큰 / 리셋 / 헤더(개별 드롭다운 + 제품 와이드 패널) / 푸터(차콜)
   버튼 3종 / eyebrow / 섹션 공통 / 카드·칩 / CTA 카드 / 이미지 슬롯
   6페이지 공통 재사용. 데스크탑 전용(@media 없음).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Brand */
	--c-primary: #37AAE0;        /* OSBC Blue (로고 원색) — 면적 포인트, 밴드, CTA 카드 */
	--c-primary-deep: #1B85B8;   /* 본문 위 링크·소형 텍스트용 (대비 보정) */
	--c-primary-ink: #0F6E9E;    /* 컬러 밴드 위 진한 보조 */
	--c-tint: #EAF6FC;           /* 라이트 틴트 배경 (히어로·틴트 카드) */
	--c-tint-2: #D9EEF9;         /* 틴트 한 단계 진하게 (보더·호버) */
	--c-yellow: #FEC415;         /* CI 옐로 — 칩·배지 미세 포인트만 (대면적 금지) */

	/* Neutrals */
	--c-ink: #111418;            /* 헤딩 */
	--c-text: #3A424B;           /* 본문 */
	--c-text-sub: #6B7480;       /* 서브 */
	--c-text-mute: #97A0AB;      /* 캡션·날짜 */
	--c-bg: #FFFFFF;
	--c-bg-alt: #F5F7F9;         /* 라이트 그레이 밴드 */
	--c-border: #E5E9EE;
	--c-border-soft: #EFF2F5;
	--c-footer: #1A2128;         /* 차콜 (네이비 아님!) — 푸터 전용 */

	/* Layout */
	--container-w: 1280px;
	--header-h: 76px;
	--pad-x: 40px;

	/* Radius */
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;           /* CTA 대형 카드 */
	--radius-pill: 999px;

	/* Type */
	--ff-base: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset / Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--ff-base);
	font-size: 16px;
	line-height: 1.7;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	word-break: keep-all; /* 한국어 어절 단위 줄바꿈 — 전 페이지 공통 */
	overflow-wrap: break-word; /* 긴 영문 토큰(URL 등) 넘침 방지 */
}

h1,
h2,
h3,
h4 {
	color: var(--c-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

p {
	margin: 0;
}

ul,
ol {
	list-style: none;
}

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

img {
	display: block;
	max-width: 100%;
}

button {
	font-family: inherit;
	border: 0;
	background: none;
	cursor: pointer;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--c-primary-deep);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Layout Helpers
   -------------------------------------------------------------------------- */
.container {
	max-width: calc(var(--container-w) + var(--pad-x) * 2);
	margin: 0 auto;
	padding-left: var(--pad-x);
	padding-right: var(--pad-x);
}

.section {
	padding: 110px 0;
}

.section-alt {
	background: var(--c-bg-alt);
}

/* 섹션 헤딩 — 기본 좌정렬 */
.section-head {
	margin-bottom: 48px;
}

.section-head .eyebrow {
	margin-bottom: 14px;
}

.section-title {
	font-size: 38px;
	font-weight: 800;
}

.section-lead {
	margin-top: 14px;
	font-size: 17px;
	color: var(--c-text-sub);
}

/* 좌헤딩 + 우측 액션 버튼 행 */
.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

/* 센터 정렬 변형 — Stats 인트로·CTA 카드 등 허용 영역에서만 사용 */
.section-head-center {
	text-align: center;
}

.section-head-center .eyebrow {
	text-align: center;
}

/* --------------------------------------------------------------------------
   4. Eyebrow / Chip
   -------------------------------------------------------------------------- */
.eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-primary-deep);
	text-align: left;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	background: var(--c-tint);
	color: var(--c-primary-deep);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.chip-pending {
	background: var(--c-bg-alt);
	color: var(--c-text-mute);
}

/* --------------------------------------------------------------------------
   5. Buttons — 모두 pill, 3종
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: var(--radius-pill);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.01em;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn .arrow {
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.2s ease;
}

.btn:hover .arrow {
	transform: translateX(4px);
}

.btn-dark {
	background: var(--c-ink);
	color: #FFFFFF;
}

.btn-dark:hover {
	background: #2A323B;
}

.btn-outline {
	border: 1px solid var(--c-border);
	background: var(--c-bg);
	color: var(--c-ink);
}

.btn-outline:hover {
	border-color: var(--c-primary-deep);
	color: var(--c-primary-deep);
}

.btn-primary {
	background: var(--c-primary);
	color: #FFFFFF;
}

.btn-primary:hover {
	background: var(--c-primary-deep);
}

/* 컬러 카드(primary 배경) 위 흰 아웃라인 버튼 */
.btn-ghost-light {
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #FFFFFF;
}

.btn-ghost-light:hover {
	border-color: #FFFFFF;
	background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
	padding: 10px 22px;
	font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   6. Card 공통
   -------------------------------------------------------------------------- */
.card {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.card:hover {
	border-color: var(--c-primary);
}

/* 틴트 카드 — 지니언스 About 제품 요약 카드 패턴 */
.card-tint {
	background: var(--c-tint);
	border: 1px solid var(--c-tint-2);
	border-radius: var(--radius-lg);
	transition: border-color 0.2s ease;
}

.card-tint:hover {
	border-color: var(--c-primary);
}

/* --------------------------------------------------------------------------
   7. 이미지 슬롯 (자료 미수령 영역 공통 처리)
   -------------------------------------------------------------------------- */
.img-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--c-tint);
	border: 1px solid var(--c-tint-2);
	border-radius: var(--radius-lg);
}

.img-slot-alt {
	background: var(--c-bg-alt);
	border-color: var(--c-border-soft);
}

.img-slot-label {
	font-size: 13px;
	color: var(--c-text-mute);
	text-align: center;
	line-height: 1.6;
	padding: 0 24px;
}

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-bg);
	border-bottom: 1px solid var(--c-border-soft);
}

.header-inner {
	display: flex;
	align-items: center;
	height: var(--header-h);
}

.header-logo img {
	height: 26px;
	width: auto;
}

/* GNB */
.gnb {
	margin: 0 auto;
}

.gnb-list {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gnb-item {
	position: relative;
	height: var(--header-h);
	display: flex;
	align-items: center;
}

.gnb-link {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 22px;
	font-size: 16px;
	font-weight: 600;
	color: var(--c-ink);
	transition: color 0.2s ease;
}

.gnb-item:hover > .gnb-link,
.gnb-item.is-active > .gnb-link {
	color: var(--c-primary-deep);
}

/* 드롭다운 패널 — 메뉴 항목별 개별 분리 */
.gnb-panel {
	position: absolute;
	top: var(--header-h);
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	background: var(--c-bg);
	border: 1px solid var(--c-border-soft);
	border-radius: var(--radius-md);
	box-shadow: 0 12px 32px rgba(17, 20, 24, 0.08);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.gnb-item:hover .gnb-panel,
.gnb-item:focus-within .gnb-panel {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

/* 좁은 단일 리스트 드롭 (서비스 / 자료 / 회사소개) */
.gnb-panel-list {
	width: 300px;
	padding: 12px;
}

.panel-link {
	display: block;
	padding: 11px 14px;
	border-radius: var(--radius-sm);
	transition: background-color 0.15s ease;
}

.panel-link:hover {
	background: var(--c-tint);
}

.panel-link strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-ink);
	line-height: 1.5;
}

.panel-link:hover strong {
	color: var(--c-primary-deep);
}

.panel-link span {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--c-text-mute);
	line-height: 1.5;
}

/* 와이드 패널 — "제품 및 솔루션" 전용, 카테고리 4컬럼 */
.gnb-panel-mega {
	display: flex;
	gap: 40px;
	padding: 30px 36px 34px;
	width: max-content;
}

.mega-col {
	min-width: 168px;
}

.mega-cat {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--c-border-soft);
	font-size: 13px;
	font-weight: 600;
	color: var(--c-text-mute);
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.mega-product {
	display: block;
	padding: 7px 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-ink);
	transition: color 0.15s ease;
	white-space: nowrap;
}

.mega-product:hover {
	color: var(--c-primary-deep);
}

.mega-col.is-pending .mega-product {
	color: var(--c-text-sub);
}

.mega-col.is-pending .mega-product:hover {
	color: var(--c-primary-deep);
}

/* 헤더 우측 CTA */
.header-cta {
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. CTA 카드 (패턴 F — 6페이지 공통)
   -------------------------------------------------------------------------- */
.cta-section {
	padding: 40px 0 120px;
}

.cta-card {
	background: var(--c-primary);
	border-radius: var(--radius-xl);
	padding: 84px 60px;
	text-align: center;
}

.cta-title {
	font-size: 36px;
	font-weight: 800;
	color: #FFFFFF;
}

.cta-lead {
	margin-top: 14px;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.88);
}

.cta-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 36px;
}

/* --------------------------------------------------------------------------
   10. Footer (차콜)
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--c-footer);
	color: rgba(255, 255, 255, 0.75);
}

.footer-top {
	display: flex;
	gap: 80px;
	padding: 76px 0 60px;
}

.footer-brand {
	width: 400px;
	flex-shrink: 0;
}

.footer-brand .footer-logo {
	height: 24px;
	width: auto;
	margin-bottom: 24px;
}

.footer-company {
	font-size: 15px;
	font-weight: 700;
	color: #FFFFFF;
	margin-bottom: 14px;
}

.footer-info {
	font-size: 13.5px;
	line-height: 2;
	color: rgba(255, 255, 255, 0.62);
}

.footer-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	flex: 1;
}

.footer-col h3 {
	font-size: 15px;
	font-weight: 700;
	color: #FFFFFF;
	margin-bottom: 18px;
}

.footer-col li {
	margin-bottom: 10px;
}

.footer-col a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.68);
	transition: color 0.15s ease;
}

.footer-col a:hover {
	color: #FFFFFF;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
	display: flex;
	gap: 24px;
}

.footer-legal a {
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.15s ease;
}

.footer-legal a:hover {
	color: #FFFFFF;
}
