:root {
    --navy: #1a3a5f;
    --gold: #c4a47c;
    --bg: #f4f7f9;
    --white: #ffffff;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: var(--navy);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    word-break: keep-all;
}

header p {
    opacity: 0.8;
    font-size: 1.1rem;
}

section {
    background: var(--white);
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

h2 {
    color: var(--navy);
    border-left: 6px solid var(--gold);
    padding-left: 15px;
    margin-bottom: 30px;
    font-size: 1.7rem;
}

h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: #444;
}

/* 이미지 스타일 */
.img-box {
    margin: 20px 0;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}

.img-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.img-caption {
    background: #f8f8f8;
    padding: 10px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 테이블 스타일 */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    text-align: left;
}

th {
    background: #f8f9fa;
    color: var(--navy);
    width: 25%;
    font-weight: 600;
}

/* 타임라인 */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 15px;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--navy);
}

.timeline-date {
    font-weight: bold;
    color: var(--gold);
    width: 130px;
    flex-shrink: 0;
}

/* 경영이념 */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.mission-card { text-align: center; }
.mission-circle { display: flex; align-items: center; justify-content: center; width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--navy); background: #fff; margin: 0 auto 16px; font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.mission-card p { background: #e8f0f8; padding: 14px; border-radius: 8px; font-size: 0.92rem; line-height: 1.7; text-align: left; }

/* 사업분야 */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 10px; }
.biz-card { border: 1px solid #dee2e6; border-radius: 12px; padding: 24px; background: #fff; }
.biz-title { display: inline-block; background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 50px; font-size: 1.05rem; font-weight: 700; text-align: center; margin-bottom: 14px; line-height: 1.5; }
.biz-card ul { padding-left: 18px; margin-bottom: 14px; color: #555; }
.biz-card ul li { margin-bottom: 4px; font-size: 0.93rem; }
.biz-card p { font-size: 0.88rem; color: #666; line-height: 1.75; background: #f4f7f9; padding: 12px; border-radius: 6px; }

@media (max-width: 768px) {
    .mission-grid { grid-template-columns: 1fr; }
    .mission-circle { width: 110px; height: 110px; font-size: 1rem; }
    .biz-grid { grid-template-columns: 1fr; }
}

/* 동영상 */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* GNB */
.gnb {
    background: #122d4d;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 6px solid var(--gold);
}

.gnb ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
}

.gnb li a {
    display: block;
    padding: 14px 32px;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.gnb li a:hover,
.gnb li a.active {
    background: var(--gold);
    color: #fff;
}

@media (max-width: 768px) {
    .gnb ul {
        gap: 0;
    }

    .gnb li a {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* CTA */
.cta-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    background: var(--gold);
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 1.6rem;
    }

    section {
        padding: 25px;
    }

    .timeline-date {
        width: 100px;
        font-size: 0.9rem;
    }
}