@charset "utf-8";

/* =========================================
   Sub Page Stylesheet (Company) - High-End Redesign
   Strict Rules: No CSS Vars, Hex Codes, PX Units
   ========================================= */

/* --- Typography & Animations --- */
.eyebrow {
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.fade-up { opacity: 0; transform: translateY(40px); animation: fadeUpAnim 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomOutBg { to { transform: scale(1); } }

/* 1. Sub Visual Header */
.sub-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 500px; /* Increased height for premium feel */
    margin: 0 auto;
    background: url("/img/pagetop.jpg") no-repeat 50% 50%;
    background-color: #12141d; /* Darker, richer tone */
    background-size: cover;
    color: #ffffff;
    text-align: center; /* Centered for impact */
    overflow: hidden;
}

.sub-visual::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 11, 16, 0.8) 0%, rgba(10, 11, 16, 0.4) 100%);
    content: "";
    z-index: 1;
}

.sub-visual-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sub-visual-content .sub-title {
    font-size: 56px; /* Larger */
    font-weight: 300; /* Lighter, more elegant */
    letter-spacing: -0.02em;
    color: #ffffff;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    margin-bottom: 20px;
    margin-top: 50px;
}

.sub-breadcrumb {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

/* Sub Visual - Responsive */
@media (max-width: 1024px) {
    .sub-visual { height: 400px; background: url("/img/pagetop.jpg") no-repeat 60% 50%; background-size:cover;}

    .sub-visual-content .sub-title { font-size: 42px; }


}
@media (max-width: 768px) {
    .sub-visual { height: 320px; }
    .sub-title { font-size: 32px; }
    .sub-breadcrumb { font-size: 14px; }
}

/* 2. Tab Navigation */
.cp-tabs {
    position: sticky;
    top: 90px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
}

.cp-tab-list {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.cp-tab-item { flex: 1; text-align: center; }

.cp-tab-link {
    display: block;
    padding: 24px 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #94a3b8;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.cp-tab-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--color-primary); transition: width 0.4s ease;
}

.cp-tab-link:hover, .cp-tab-link.active { color: var(--color-primary); }
.cp-tab-link.active::after { width: 100%; }

/* Tabs - Mobile */
@media (max-width: 768px) {
    .cp-tabs { top: 60px; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cp-tab-list { display: block; width: auto; }
    .cp-tab-item { display: inline-block; width: auto; }
    .cp-tab-link { padding: 18px 24px; font-size: 18px; }
}

/* 3. Common Section Styles */
.cp-section { padding: 120px 0; background: #ffffff; }
.cp-bg-gray { background-color: #fafbfc; }

.cp-container {
    max-width: 1400px; /* Wider for high-end feel */
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.cp-header { text-align: center; margin-bottom: 70px; }

.cp-head-sub {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
}

.cp-head-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #1a1f3c; /* 통일된 다크 네이비 톤 적용 */
}

.cp-head-desc {
    font-size: 18px;
    font-weight: 300;
    color: #64748b;
    margin-top: 30px;
}

/* Common Section - Responsive */
@media (max-width: 1024px) {
    .cp-section { padding: 120px 0; }
    .cp-head-title { font-size: 40px; }
}
@media (max-width: 768px) {
    .cp-section { padding: 80px 0; }
    .cp-container { padding: 0 24px; }
    .cp-header { margin-bottom: 60px; }
    .cp-head-title { font-size: 32px; }
    .cp-head-desc { font-size: 18px; }
}

/* 4. Brand Story Section (Asymmetric) */
.cp-brand-grid {
    display: flex;
    gap: 80px;
    align-items: stretch; /* Change to stretch to force equal height */
}

.cp-brand-txt {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cp-brand-img-wrap { width: 50%; position: relative; }

.cp-brand-txt h3 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #1a1f3c;
    margin-bottom: 24px;
}

.cp-brand-txt p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: #475569;
    word-break: keep-all;
    margin-bottom: 30px;
}
.cp-brand-txt strong { font-weight: 500; color: #12141d; }

.cp-brand-img {
    width: 100%;
    height: 100%; /* Force image container to fill wrap */
    border-radius: 4px; /* Flatter, sharper corner for high-end */
    overflow: hidden;
    position: relative;
}
.cp-brand-img::after {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.03);
    z-index: 1; pointer-events: none;
}

.cp-brand-img img {
    display: block;
    width: 100%;
    height: 100%; /* Image fills its container height */
    object-fit: cover; /* Maintain aspect ratio and crop overflow */
    transition: transform 10s ease;
}
.cp-brand-img:hover img { transform: scale(1.05); }

/* Core Values (3 Box Style) */
.cp-core-values-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.cp-value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.cp-value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.cp-value-card .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f8fafc;
    border-radius: 50%;
    font-size: 36px;
    color: var(--color-primary);
    transition: background 0.4s ease, color 0.4s ease;
}

.cp-value-card:hover .icon-box {
    background: var(--color-primary);
    color: #ffffff;
}

.cp-value-card .cp-value-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cp-value-card .cp-value-info strong {
    font-size: 22px;
    font-weight: 700;
    color: #12141d;
}

.cp-value-card .cp-value-info span {
    font-size: 16px;
    font-weight: 300;
    color: #64748b;
}

/* Brand Story - Responsive */
@media (max-width: 1024px) {
    .cp-brand-grid { flex-direction: column; gap: 60px; }
    .cp-brand-txt, .cp-brand-img-wrap { width: 100%; }
    .cp-brand-txt h3 { font-size: 32px; }
    .cp-core-values-box { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
}
@media (max-width: 768px) {
    .cp-brand-txt h3 { font-size: 28px; }
    .cp-brand-txt p { font-size: 18px; }
    .cp-core-values-box { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
    .cp-value-card { padding: 30px 20px; }
}

/* 5. CI Identity Section */
.cp-ci-wrap {
    display: flex;
    gap: 60px;
    background: #ffffff;
    padding: 60px 80px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.cp-ci-left { width: 40%; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #e2e8f0; padding-right: 60px; }
.cp-ci-right { width: 60%; display: flex; flex-direction: column; justify-content: center; }

.cp-ci-logo { width: 100%; max-width: 300px; height: auto; margin-bottom: 40px; }

.cp-ci-desc h3 { font-size: 28px; font-weight: 300; color: #12141d; margin-bottom: 20px; }
.cp-ci-desc p { font-size: 18px; font-weight: 300; line-height: 1.8; color: #64748b; margin-bottom: 40px; }

/* CI Colors */
.cp-color-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.cp-color-item { display: flex; align-items: center; gap: 20px; }
.color-chip { width: 60px; height: 60px; border-radius: 50%; }
.color-chip.Blue { background: #10488e; }
.color-chip.Green { background: #73bb2e; }
.color-info { display: flex; flex-direction: column; }
.cp-color-name { font-size: 18px; font-weight: 600; color: #12141d; letter-spacing: 0.05em; margin-bottom: 4px; }
.cp-color-hex { font-size: 18px; font-weight: 400; color: #94a3b8; }

/* CI - Responsive */
@media (max-width: 1024px) {
    .cp-ci-wrap { flex-direction: column; padding: 60px 40px; gap: 40px; }
    .cp-ci-left { width: 100%; border-right: none; border-bottom: 1px solid #e2e8f0; padding-right: 0; padding-bottom: 40px; align-items: center; text-align: center; }
    .cp-ci-right { width: 100%; }
    .cp-ci-logo { margin-bottom: 20px; }
}
@media (max-width: 768px) {
    .cp-ci-wrap { padding: 40px 24px; }
    .cp-color-grid { grid-template-columns: 1fr; }
}


/* 6. Partners Logo Wall (Static Grid) */
.bg-dark { background-color: #ffffff; }
.bg-dark .cp-head-title { color: #1a1f3c; }
.bg-dark .cp-head-desc { color: #64748b; }

.cp-partner-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 중앙 정렬에서 왼쪽 순차 정렬로 변경 */
    gap: 20px;
    margin-top: 60px;
}

.marquee-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 왼쪽 정렬 */
    gap: 20px;
    width: 100%;
}

.marquee-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 왼쪽 정렬 */
    gap: 20px;
    width: 100%;
}

.marquee-content[aria-hidden="true"] {
    display: none;
}

.pt-item {
    width: 220px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    padding: 15px;
}

.pt-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.pt-item img {
    max-width: 70%;
    max-height: 55px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pt-item:hover img {
    transform: scale(1.05);
}

/* Partners - Responsive */
@media (max-width: 1024px) {
    .pt-item { width: 180px; height: 90px; }
}
@media (max-width: 768px) {
    .pt-item { width: 150px; height: 75px; padding: 10px; }
    .marquee-track { gap: 12px; }
}

/* 7. Certificates (Editorial Style) */
.cp-cert-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}

.cp-cert-item {
    position: relative;
}

.cert-img-box {
    width: 100%;
    aspect-ratio: 3 / 4; /* 여백/찌그러짐 방지를 위해 가장 안정적인 세로형 인증서 비율(3:4) 도입 */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    background: #f8fafc;
}

.cert-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 액자 크기(3:4)를 가득 채우면서 튀어나가는 부분만 자름 */
    object-position: center top; /* 가로형 사진이 들어올 경우 피사체 보호를 위해 상단/중앙 타겟 */
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-cert-item:hover .cert-img-box img { transform: scale(1.03) translateY(-5px); }

.cp-cert-info {
    text-align: center;
    padding: 0 20px;
}
.cp-cert-tit {
    font-size: 18px;
    font-weight: 400;
    color: #12141d;
    margin-bottom: 8px;
}
.cp-cert-sub {
    font-size: 18px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Certs - Responsive */
@media (max-width: 1024px) {
    .cp-cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cp-cert-grid { grid-template-columns: 1fr; gap: 60px; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}