/* ===== Reset / Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans KR", sans-serif;
}

body {
    background-color: #f5f6f8;
    color: #333;
    padding-bottom: 80px; /* 하단 고정 상담 버튼 공간 */
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 20px;
}

.logo-area img {
    height: 40px;
    width: auto;
}

.header-cta {
    margin-left: auto;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    background: #1f3a8a;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 18px;
    letter-spacing: -0.2px;
}

.call-btn:hover {
    background: #1e40af;
}

/* (선택) nav를 다시 쓸 경우 대비 */
.nav {
    margin-left: 12px;
}
.nav a {
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    margin-right: 18px;
    font-weight: 500;
}
.nav a:hover {
    color: #1f2937;
}

/* ===== Main Hero (Video) ===== */
.main-hero.video-hero {
    position: relative;
    width: 100%;
    height: 600px; /* PC 기본 높이 */
    overflow: hidden; /* 침범 방지 핵심 */
    background: #000; /* 로딩 전 배경 */
    isolation: isolate; /* z-index 충돌 방지 */
}

.main-hero.video-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ===== Hero (Text Section) ===== */
.hero {
    background: #111827;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.hero h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.hero p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== Catalog ===== */
.catalog {
    margin: 40px auto;
}

.catalog h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.product-card h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.price {
    color: #b91c1c;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-card ul {
    list-style: none;
    margin-bottom: 16px;
}

.product-card ul li {
    font-size: 14px;
    margin-bottom: 6px;
    padding-left: 10px;
    position: relative;
}

.product-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6b7280;
}

.detail-btn {
    width: 100%;
    height: 46px;
    background: #1f2937;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
}

/* ===== Common Service ===== */
.common-service {
    margin: 60px auto 40px;
}

.common-service h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.common-list {
    display: flex;
    gap: 24px;
}

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

.common-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 14px;
}

.common-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.common-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ===== Service Table ===== */
.service-table {
    margin: 50px auto;
}

.service-table h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

thead th {
    background: #f3f4f6;
    font-size: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
}

tbody td {
    font-size: 13px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    vertical-align: top;
    line-height: 1.6;
}

tbody td:first-child {
    font-weight: 700;
    background: #fafafa;
    width: 160px;
}

.badge {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    background: #1f2937;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
}

/* ===== Fixed Call Bar (Bottom) ===== */
.call-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #b91c1c;
    z-index: 1000;
}

.call-fixed a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

/* ===== Footer ===== */
.footer {
    background: #111827;
    color: #9ca3af;
    font-size: 13px;
    padding: 40px 0 30px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo {
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-info p {
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 10px;
    color: #6b7280;
    font-size: 12px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }

    .logo-area img {
        height: 34px;
    }

    /* nav를 쓰게 되면 모바일에서는 숨기는 게 일반적 */
    .nav {
        display: none;
    }

    .call-btn {
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 17px;
    }

    .main-hero.video-hero {
        height: 250px; /* 모바일 배너 높이 */
    }

    .catalog h3,
    .common-service h3,
    .service-table h3 {
        font-size: 20px;
    }

    table {
        min-width: 700px;
    }

    .common-list {
        flex-direction: column;
    }

    .common-item img {
        height: 200px;
    }

    .common-item h4 {
        font-size: 17px;
    }

    .common-item p {
        font-size: 13px;
    }

    .footer {
        padding: 30px 0 24px;
    }

    .footer-logo {
        height: 28px;
    }

    .footer-links {
        gap: 12px;
    }
    .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
}
