@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --oe-navy: #0d1b3d;
    --oe-navy-2: #13264f;
    --oe-header: #232323;
    --oe-primary: #2286c1;
    --oe-blue: #2286c1;
    --oe-blue-soft: #4aa3f0;
    --oe-text: #111827;
    --oe-muted: #6b7280;
    --site-header-height: 85px;
    --site-dock-height: 56px;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--site-header-height);
    padding-bottom: var(--site-dock-height);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--oe-text);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

html.page-loading body {
    opacity: 0;
}

html.page-ready body {
    opacity: 1;
    transition: opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
    html.page-loading body,
    html.page-ready body {
        opacity: 1;
        transition: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
}

body.quote-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--oe-header);
    box-shadow: 0 0 16px rgba(50, 50, 50, 0.12);
    transition: transform 0.4s ease;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1340px;
    height: var(--site-header-height);
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    display: block;
    font-size: 0;
    flex-shrink: 0;
    z-index: 2;
}

.site-logo-image {
    display: block;
    height: 50px;
    width: auto;
}

.nav-toggle,
.nav-backdrop,
.nav-menu-top,
.nav-acc {
    display: none;
}

.nav-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-item {
    position: relative;
    line-height: var(--site-header-height);
}

.nav-link {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--oe-primary);
}

.nav-sublist {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 40;
    min-width: 150px;
    padding: 5px 0;
    background-color: var(--oe-header);
    border-top: 2px solid var(--oe-primary);
    transform: translateX(-50%);
}

.nav-item.has-children:hover > .nav-sublist,
.nav-item.has-children:focus-within > .nav-sublist {
    display: block;
}

.nav-sublink {
    display: block;
    padding: 15px 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-sublink:hover {
    color: var(--oe-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 135px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--oe-primary);
    background-color: var(--oe-primary);
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 2;
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

.nav-cta:hover {
    background-color: #ffffff;
    color: var(--oe-primary);
}

.site-float {
    position: fixed;
    right: 16px;
    bottom: 12%;
    z-index: 90;
    display: flex;
    flex-direction: column;
    width: 140px;
    padding: 8px 12px 28px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.site-float-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #111111;
}

.site-float-item:last-child {
    border-bottom: 0;
}

.site-float-item svg {
    width: 28px;
    height: 28px;
}

.site-float-item--call {
    color: var(--oe-primary);
}

.site-float-item--kakao svg {
    color: #3b1c1d;
}

.site-main {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
    background: #111827;
    color: #d1d5db;
}

.site-footer-inner {
    padding: 36px 16px 80px;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 24px;
    font-size: 13px;
}

.site-footer-links a:hover {
    color: #ffffff;
}

.site-footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.site-footer-logo {
    display: block;
    max-width: 180px;
    height: auto;
    margin-bottom: 16px;
    filter: brightness(10);
}

.site-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.7;
}

.site-footer-meta a {
    text-decoration: underline;
}

.site-footer-copy {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: #9ca3af;
}

.site-footer-cs-label {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.site-footer-cs-phone {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.site-footer-cs p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.site-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: var(--site-dock-height);
}

.site-dock-call,
.site-dock-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}

.site-dock-call {
    background: var(--oe-primary);
}

.site-dock-quote {
    background: #0a367b;
}

.site-top {
    position: fixed;
    right: 16px;
    bottom: calc(var(--site-dock-height) + 16px);
    z-index: 91;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--oe-navy);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.site-yt-float {
    position: fixed;
    left: 16px;
    bottom: 10%;
    z-index: 95;
    display: none;
}

.site-yt-float > ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-yt-card {
    position: relative;
    display: block;
    width: 280px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 22px;
    appearance: none;
    background: #111827;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: #ffffff;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-yt-card:hover,
.site-yt-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.34);
}

.site-yt-card:focus-visible {
    outline: 2px solid #ff0033;
    outline-offset: 3px;
}

.site-yt-card-thumb {
    position: absolute;
    inset: -18%;
    width: 136%;
    height: 136%;
    object-fit: cover;
}

.site-yt-card-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.62) 100%);
}

.site-yt-card-shorts,
.site-yt-card-channel,
.site-yt-card-title,
.site-yt-card-play {
    position: absolute;
    z-index: 1;
}

.site-yt-card-shorts {
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.site-yt-card-shorts svg {
    width: 24px;
    height: 24px;
}

.site-yt-card-channel {
    top: 46px;
    left: 14px;
    right: 88px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.site-yt-card-channel-name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.site-yt-card-avatar {
    display: block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 999px;
    background: #0d1b3d;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.site-yt-card-avatar img {
    display: block;
    width: 210%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.site-yt-card-play {
    top: 50%;
    left: 50%;
    width: 78px;
    height: 78px;
    color: #ff0033;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transform: translate(-50%, -46%);
}

.site-yt-card-play svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.site-yt-card-title {
    left: 14px;
    right: 14px;
    bottom: 14px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.site-yt-layer[hidden] {
    display: none;
}

.site-yt-layer {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.site-yt-layer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 16, 38, 0.72);
}

.site-yt-layer-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 16px;
    background: #111827;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.site-yt-layer-panel.is-video {
    width: min(960px, calc(100vw - 48px), calc((100vh - 120px) * 16 / 9));
}

.site-yt-layer-panel.is-shorts {
    width: min(420px, calc(100vw - 48px), calc((100vh - 120px) * 9 / 16));
}

.site-yt-layer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px 12px 20px;
    background: #0d1b3d;
}

.site-yt-layer-head h2 {
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.site-yt-layer-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.site-yt-layer-close:hover,
.site-yt-layer-close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.site-yt-layer-frame {
    position: relative;
    width: 100%;
    background: #000000;
}

.site-yt-layer-panel.is-video .site-yt-layer-frame {
    aspect-ratio: 16 / 9;
}

.site-yt-layer-panel.is-shorts .site-yt-layer-frame {
    aspect-ratio: 9 / 16;
}

.site-yt-layer-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.yt-layer-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .site-yt-card {
        transition: none;
    }

    .site-yt-card:hover,
    .site-yt-card:focus-visible {
        transform: none;
    }
}

.quote-modal[hidden] {
    display: none;
}

.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 61, 0.55);
}

.quote-modal-panel {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 24px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    overflow: auto;
    padding: 24px;
    border-radius: 12px;
    background: #ffffff;
}

.quote-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.quote-modal-head h2 {
    margin: 0;
    font-size: 22px;
}

.quote-modal-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary {
    border: 0;
    background-color: var(--oe-navy);
    color: #ffffff;
}

.page-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    background: var(--oe-navy) url("../../images/about/sub_top.jpg") center/cover no-repeat;
    color: #ffffff;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 16, 38, 0.45);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 48px;
    padding-bottom: 48px;
}

.page-hero-kicker {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.16em;
}

.page-hero h1,
.page-hero .contact-title {
    margin: 0;
    color: #ffffff;
}

.page-hero .contact-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

@media all and (max-width: 1200px) {
    .nav-list {
        gap: 28px;
    }
}

@media all and (max-width: 860px) {
    .site-yt-float {
        display: none !important;
    }
    :root {
        --site-header-height: 60px;
    }

    .site-logo-image {
        height: 35px;
    }

    .nav-cta,
    .site-float {
        display: none;
    }

    .nav-toggle {
        position: relative;
        display: block;
        width: 20px;
        height: 18px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 3;
    }

    .nav-toggle-line {
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #ffffff;
        transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
    }

    .nav-toggle-line:nth-child(2) { top: 0; }
    .nav-toggle-line:nth-child(3) { top: 50%; transform: translateY(-50%); }
    .nav-toggle-line:nth-child(4) { bottom: 0; }

    body.nav-open .nav-toggle-line:nth-child(2) {
        top: 50%;
        transform: rotate(45deg);
    }

    body.nav-open .nav-toggle-line:nth-child(3) {
        opacity: 0;
    }

    body.nav-open .nav-toggle-line:nth-child(4) {
        top: 50%;
        bottom: auto;
        transform: rotate(-45deg);
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 120;
        display: block;
        width: calc(100% - 60px);
        height: 100%;
        background: #252626;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        overflow-y: auto;
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-menu-top {
        display: flex;
        align-items: center;
        height: 60px;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .nav-menu-logo img {
        display: block;
        height: 35px;
        width: auto;
    }

    body.nav-open,
    body.quote-open {
        overflow: hidden;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid #000000;
    }

    .nav-item {
        position: relative;
        line-height: 45px;
        padding: 0 20px;
        border-bottom: 1px solid #000000;
    }

    .nav-link {
        font-size: 16px;
        font-weight: 400;
    }

    .nav-acc {
        display: block;
        position: absolute;
        top: 0;
        right: 16px;
        width: 32px;
        height: 45px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffffff;
        cursor: pointer;
    }

    .nav-acc::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        border-right: 1.5px solid #ffffff;
        border-bottom: 1.5px solid #ffffff;
        transform: translate(-50%, -60%) rotate(45deg);
    }

    .nav-item.has-children.is-open > .nav-acc::before {
        transform: translate(-50%, -30%) rotate(-135deg);
    }

    .nav-item.has-children:hover > .nav-sublist,
    .nav-item.has-children:focus-within > .nav-sublist {
        display: none;
    }

    .nav-item.has-children.is-open > .nav-sublist {
        display: block;
    }

    .nav-sublist {
        position: static;
        min-width: 0;
        padding: 0 0 12px 10px;
        background: transparent;
        border-top: 0;
        transform: none;
    }

    .nav-sublink {
        padding: 0;
        margin-bottom: 13px;
        color: var(--oe-primary);
        font-size: 14px;
        line-height: 20px;
        text-align: left;
    }

    .site-footer-grid {
        flex-direction: column;
    }

    .site-footer-inner {
        padding-bottom: 88px;
    }
}
