body.kdb-page {
    margin: 0;
    color: #222;
    background: #fff;
    font-family: "Noto Sans KR", sans-serif;
}

body.kdb-page .main-content {
    margin-top: 0;
}

.kdb-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    background: #000;
    border-bottom: 1px solid #000;
}

.kdb-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.kdb-logo img {
    height: 42px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.kdb-logo span {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.kdb-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    height: 100%;
}

.kdb-nav > a,
.kdb-caret {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: -0.03em;
    font-weight: 500;
}

.kdb-caret {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 78px;
}

.kdb-caret::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg) translateY(-2px);
}

.kdb-no-arrow::after {
    content: none;
}

.kdb-drop {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.kdb-drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 168px;
    background: #3a3a3a;
    z-index: 60;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.kdb-drop:hover .kdb-drop-menu,
.kdb-drop:focus-within .kdb-drop-menu,
.kdb-drop.is-open .kdb-drop-menu {
    display: block;
}

.kdb-drop-menu a {
    display: block;
    padding: 16px 22px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.kdb-drop-menu a:last-child {
    border-bottom: 0;
}

.kdb-drop-menu-wide {
    min-width: 250px;
}

.kdb-drop-menu a.has-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.kdb-drop-menu a.has-sub::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
}

.kdb-drop-menu a:hover {
    background: #4a4a4a;
}

.kdb-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 10px;
}

.kdb-nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.kdb-notice {
    padding: 72px 8vw 36px;
    text-align: center;
}

.kdb-notice h2,
.kdb-business h2,
.kdb-portfolio h2,
.kdb-customer h2 {
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.kdb-notice h2 {
    font-size: 34px;
    margin-bottom: 42px;
}

.kdb-notice-viewport {
    overflow: hidden;
}

.kdb-notice-track {
    display: flex;
    transition: transform 0.45s ease;
}

.kdb-notice-card {
    flex: 0 0 25%;
    padding: 8px 28px 18px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.kdb-notice-card time {
    display: block;
    color: #9aa0a6;
    font-size: 13px;
    margin-bottom: 14px;
}

.kdb-notice-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: -0.03em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kdb-notice-card:hover p {
    color: #0b63ce;
}

.kdb-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.kdb-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: #d5d5d5;
    padding: 0;
    cursor: pointer;
}

.kdb-dots button.is-on {
    background: #222;
}

.kdb-hero {
    position: relative;
    height: 520px;
    background: #111;
    overflow: hidden;
}

.kdb-hero-slides,
.kdb-hero-slide,
.kdb-hero-media {
    width: 100%;
    height: 100%;
}

.kdb-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.kdb-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.kdb-hero-media {
    object-fit: cover;
    display: block;
}

.kdb-hero-photo {
    background-size: cover;
    background-position: center;
}

.kdb-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.2));
}

.kdb-hero-copy {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 54px;
    z-index: 2;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.kdb-hero-copy h2 {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.kdb-hero-copy p {
    margin: 0;
    font-size: 16px;
    opacity: 0.92;
}

.kdb-hero-arrow,
.kdb-hero-pause {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.kdb-hero-arrow {
    font-size: 54px;
    line-height: 1;
    padding: 8px 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.kdb-hero-prev { left: 18px; }
.kdb-hero-next { right: 18px; }

.kdb-hero-pause {
    left: 50%;
    width: 54px;
    height: 54px;
    margin-left: -27px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kdb-pause-icon,
.kdb-pause-icon::after {
    display: block;
    width: 3px;
    height: 16px;
    background: #fff;
}

.kdb-pause-icon {
    position: relative;
    margin: 0 auto;
}

.kdb-pause-icon::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
}

.kdb-hero-pause.is-paused .kdb-pause-icon,
.kdb-hero-pause.is-paused .kdb-pause-icon::after {
    width: 0;
    height: 0;
    background: transparent;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
}

.kdb-hero-pause.is-paused .kdb-pause-icon::after {
    display: none;
}

.kdb-business,
.kdb-portfolio,
.kdb-customer {
    padding: 88px 8vw 20px;
    text-align: center;
}

.kdb-portfolio h2,
.kdb-customer h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
}

.kdb-business h2 {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 36px;
    font-weight: 500;
}

.kdb-lead {
    margin: 14px auto 36px;
    max-width: 640px;
    color: #666;
    font-size: 15px;
}

.kdb-biz-grid,
.kdb-port-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
}

.kdb-biz-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    text-align: left;
}

.kdb-biz-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) brightness(0.45);
}

.kdb-biz-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 16, 32, 0.2), rgba(8, 16, 32, 0.72));
}

.kdb-biz-diagram,
.kdb-biz-text {
    position: relative;
    z-index: 1;
}

.kdb-biz-diagram {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 36px 28px 10px;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.kdb-biz-diagram span {
    min-width: 64px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    text-align: center;
}

.kdb-biz-diagram i {
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
}

.kdb-biz-text {
    padding: 18px 28px 28px;
}

.kdb-biz-text h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 500;
}

.kdb-biz-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.kdb-port-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.kdb-port-shot {
    background: #f4f6f8;
    border: 1px solid #e6e6e6;
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.kdb-port-shot img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    object-position: top;
}

.kdb-port-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    height: 52px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.kdb-port-btn.is-teal { background: #1aa6b8; }
.kdb-port-btn.is-blue { background: #1f6feb; }
.kdb-port-btn.is-navy { background: #243044; }

.kdb-customer {
    padding-bottom: 90px;
}

.kdb-cust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
}

.kdb-cust-viewport {
    overflow: hidden;
    flex: 1;
}

.kdb-cust-track {
    display: flex;
    transition: transform 0.4s ease;
}

.kdb-cust-item {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.kdb-mark {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #243044;
    background: #fff;
}

.kdb-cust-item small {
    color: #888;
    font-size: 12px;
}

.kdb-cust-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #444;
}

.kdb-footer {
    background: #2a2d33;
    color: #c8cdd3;
    padding: 28px 8vw 34px;
    font-size: 13px;
}

.kdb-footer a {
    color: inherit;
    text-decoration: none;
}

.kdb-footer-links {
    display: flex;
    gap: 22px;
    margin-bottom: 18px;
}

.kdb-footer-links a:first-child {
    color: #fff;
    font-weight: 700;
}

.kdb-footer-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.kdb-footer-name {
    margin: 0 0 6px;
    color: #fff;
}

.kdb-footer-body p {
    margin: 0;
    line-height: 1.7;
}

.kdb-footer-phone {
    font-size: 28px;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.02em;
}

.kdb-top {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 50;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kdb-top img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

body.kdb-page .chat-widget-btn {
    background: #f5c400;
    color: #222;
    border-radius: 50%;
}

@media (max-width: 980px) {
    .kdb-notice-card,
    .kdb-cust-item { flex-basis: 50%; }
    .kdb-port-grid,
    .kdb-biz-grid { grid-template-columns: 1fr; }
    .kdb-hero { height: 420px; }
    .kdb-hero-copy h2 { font-size: 24px; }
    .kdb-header { padding: 0 18px; }
    .kdb-logo span { font-size: 14px; }
    .kdb-nav-toggle { display: block; }
    .kdb-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #000;
        border-bottom: 1px solid #000;
        padding: 8px 0 16px;
    }
    .kdb-nav.is-open { display: flex; }
    .kdb-nav > a,
    .kdb-caret { height: auto; padding: 12px 22px; }
    .kdb-drop { display: block; height: auto; }
    .kdb-drop-menu {
        position: static;
        transform: none;
        min-width: 0;
        display: block;
        background: #1a1a1a;
    }
    .kdb-footer-body { flex-direction: column; align-items: flex-start; }
}
