@charset "UTF-8";

/* ── hero 텍스트 fade-up ── */
.hero-content h1,
.hero-content p {
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content h1 { animation-delay: 0.2s; }
.hero-content p  { animation-delay: 0.5s; }
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── 스크롤 fade-up ── */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HERO ─── */
.hero {
    max-height: 1230px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../../image/company/background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}
/* hero-content h1/p 크기 오버라이드 (company 디자인 기준) */
.hero-content h1 {
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 16px;
}
.hero-content p {
    font-size: clamp(16px, 2vw, 30px);
}

/* ══════════════════════════════════
   OVERVIEW: banner + overlapping cards
══════════════════════════════════ */
.overview-outer {
    padding: clamp(40px, 5vw, 80px) 0;
    position: relative;
    z-index: 5;
}

.overview-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(1550px, 92%);
    margin: 0 auto;
}

.overview-banner {
    width: 100%;
    height: 483px;
    background: url('../../image/company/subHeader.jpg') center/cover no-repeat;
    border-radius: 16px;
    padding: clamp(32px,4vw,60px) clamp(24px,4vw,60px) clamp(100px,13vw,180px);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* .overview-banner > img { width: min(600px, 55%); } */

.stats-overlap {
    width: 90%;
    position: relative;
    margin-top: clamp(-150px, -10vw, -130px);
    z-index: 6;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
    padding: clamp(20px,2.5vw,40px) clamp(16px,3vw,40px) clamp(14px,2vw,24px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px,1.5vw,28px);
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: clamp(14px,1.8vw,24px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 3px solid #ead6ff;
    box-shadow: var(--shadow-card);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.stat-label { font-size: clamp(13px,1.3vw,20px); font-weight: 600; color: #333; }

.stat-card-header img {
    width: clamp(36px,4.5vw,72px);
    height: clamp(36px,4.5vw,72px);
    object-fit: contain;
    opacity: 0.85;
}

.stat-divider { width: 100%; height: 1px; background: rgba(0,0,0,0.08); }

.stat-value {
    text-align: center;
    font-size: clamp(26px,3.5vw,68px);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.15;
}

.stat-unit { font-size: clamp(13px,1.3vw,26px); font-weight: 500; color: #333; }

.stats-note {
    margin-top: 12px;
    font-size: clamp(11px,0.85vw,15px);
    font-weight: 500;
    color: #777;
    text-align: left;
}

/* ══════════════════════════════════
   MAIN CONTENT
══════════════════════════════════ */
.main-wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(60px,8vw,120px);
    padding: clamp(60px,8vw,120px) 0 clamp(40px,5vw,80px);
}

.section-inner {
    width: min(1550px, 92%);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(24px,2.5vw,36px);
    font-weight: 400;
    color: black;
    margin-bottom: clamp(24px, 3vw, 40px);
}

/* ─── 재무분석 ─── */
.finance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.finance-card {
    background: white;
    border-radius: var(--radius-card);
    outline: 1px rgba(0,0,0,.1) solid;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.finance-card-title {
    text-align: center;
    font-size: clamp(20px,1.8vw,32px);
    font-weight: 600;
    color: black;
}

.finance-stats { display: flex; gap: 8px; padding: 0 4px; }

.finance-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.finance-stat .year   { font-size: clamp(10px,.8vw,13px);  font-weight: 600; color: rgba(0,0,0,.45); }
.finance-stat .amount { font-size: clamp(12px,1vw,18px);   font-weight: 600; color: var(--color-primary); }
.finance-stat .change { font-size: clamp(13px,1.1vw,20px); font-weight: 700; color: #e00; }

/* Bar chart */
.bar-chart {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.bar-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(6px,1vw,16px);
    height: clamp(110px,13vw,210px);
}

.bar-group { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; }

.bar-value-label { font-size: clamp(8px,.65vw,11px); font-weight: 600; color: #666; white-space: nowrap; }

.bar {
    width: 100%;
    max-width: 56px;
    border-radius: 5px 5px 0 0;
    transition: height .9s cubic-bezier(.22,.61,.36,1);
}

.bar.c0 { background: linear-gradient(180deg,#8800c0 0%,#6600a0 100%); }
.bar.c1 { background: linear-gradient(180deg,#b050f0 0%,#9000CE 100%); }
.bar.c2 { background: linear-gradient(180deg,#c880f8 0%,#a030e0 100%); }
.bar.c3 { background: linear-gradient(180deg,#ddb6ff 0%,#c070f0 100%); }
.bar.c4 { background: linear-gradient(180deg,#f0d4ff 0%,#e0aaff 100%); }

.bar-year-label { font-size: clamp(8px,.65vw,11px); color: #999; font-weight: 500; white-space: nowrap; }
.bar-x-line { width: 100%; height: 1px; background: rgba(0,0,0,.1); }

/* ─── 기업의 추구 ─── */
.values-section {
    background: #F6F8FF;
    padding: clamp(32px,4vw,40px) 0;
}

.values-grid {
    width: min(1550px,92%);
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
}

.values-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(144,0,206,0.15);
}
.values-section .card:hover img { transform: scale(1.07); }
.values-section .card img { transition: transform 0.5s ease; }
.values-section .card-body { transition: transform 0.35s ease; }
.values-section .card:hover .card-body { transform: translateY(-4px); }
.values-section .card-title { text-align: center; }

/* ─── 찾아오시는 길 ─── */
.map-section { width: min(1550px,92%); margin: 0 auto; }

.map-placeholder {
    width: 100%;
    height: clamp(250px,35vw,700px);
    background: #D9D9D9;
    border-radius: 8px;
    margin-bottom: 16px;
}

.map-info { padding: 10px 0; font-size: clamp(14px,1.1vw,20px); font-family: 'Nanum Square', sans-serif; line-height:1.8; }
.map-info strong { font-weight:700; }

/* ─── RESPONSIVE ─── */
@media (max-width:1100px) {
    .stats-grid   { grid-template-columns: repeat(2,1fr); }
    .finance-grid { grid-template-columns: repeat(2,1fr); }
    .values-grid  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:768px) {
    .hero-content { top: 50%; }
    .stats-grid   { grid-template-columns: repeat(2,1fr); }
    .finance-grid { grid-template-columns: 1fr; }
    .values-grid  { grid-template-columns: 1fr; }
    /* .overview-banner > img { width: min(280px,75%); } */
}
@media (max-width:480px) {
    .stats-grid { grid-template-columns:1fr 1fr; gap:10px; }
}
