@import url("font-awesome.min.css");

:root {
    --ink: #0b1120;
    --ink-soft: #182235;
    --muted: #657086;
    --paper: #f5f7fb;
    --surface: #ffffff;
    --line: #dfe4ee;
    --mint: #5eead4;
    --mint-dark: #0f766e;
    --blue: #60a5fa;
    --violet: #a78bfa;
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
    --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--paper);
    color: var(--ink);
    /* Prefer the web font, with stable Korean system-font fallbacks. */
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    word-break: keep-all;
}

body, button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { height: auto; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.18; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--mint); color: var(--ink); }

.icon {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.site-shell, .container {
    margin-left: auto;
    margin-right: auto;
    width: var(--shell);
}

.skip-link {
    background: var(--mint);
    border-radius: 0 0 10px 10px;
    color: var(--ink);
    font-weight: 700;
    left: 16px;
    padding: 10px 16px;
    position: fixed;
    top: -80px;
    z-index: 1000;
}

.skip-link:focus { top: 0; }

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(223, 228, 238, 0.82);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    align-items: center;
    display: flex;
    height: 76px;
    justify-content: space-between;
}

.site-brand {
    align-items: center;
    display: inline-flex;
    font-family: "DM Sans", sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    gap: 11px;
    letter-spacing: -0.03em;
}

.site-brand-mark {
    align-items: flex-end;
    background: var(--ink);
    border-radius: 9px;
    display: inline-flex;
    gap: 3px;
    height: 30px;
    justify-content: center;
    padding: 7px;
    width: 30px;
}

.site-brand-mark i {
    background: var(--mint);
    border-radius: 3px;
    display: block;
    height: 8px;
    width: 3px;
}

.site-brand-mark i:nth-child(2) { height: 15px; }
.site-brand-mark i:nth-child(3) { background: var(--blue); height: 11px; }

.site-navigation > ul {
    align-items: center;
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation a {
    border-radius: 999px;
    color: #3d475b;
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 14px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-navigation a:hover, .site-navigation a[aria-current="page"] {
    background: #edf1f7;
    color: var(--ink);
}

.nav-products {
    position: relative;
}

.nav-products details {
    position: relative;
}

.nav-products summary {
    align-items: center;
    border-radius: 999px;
    color: #3d475b;
    cursor: pointer;
    display: flex;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 9px;
    list-style: none;
    padding: 9px 14px;
    transition: background 180ms ease, color 180ms ease;
    user-select: none;
}

.nav-products summary::-webkit-details-marker {
    display: none;
}

.nav-products summary:hover,
.nav-products summary.is-current,
.nav-products details[open] summary {
    background: #edf1f7;
    color: var(--ink);
}

.nav-products summary > i {
    border-bottom: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    display: block;
    height: 6px;
    margin-top: -3px;
    transform: rotate(45deg);
    transition: transform 180ms ease;
    width: 6px;
}

.nav-products details[open] summary > i {
    margin-top: 3px;
    transform: rotate(225deg);
}

.nav-products-panel {
    animation: nav-panel-in 160ms ease both;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 13px);
    width: 410px;
}

.nav-products-panel::before {
    content: "";
    height: 16px;
    left: 0;
    position: absolute;
    right: 0;
    top: -14px;
}

.nav-products-heading {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px 12px;
}

.nav-products-heading > span {
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-products-heading small {
    color: var(--muted);
    font-size: 0.72rem;
}

.nav-products-list {
    display: grid;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-products-list a {
    align-items: center;
    border-radius: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding: 11px 12px;
}

.nav-products-list a:hover,
.nav-products-list a[aria-current="page"] {
    background: #f3f6fa;
}

.nav-product-mark {
    align-items: center;
    background: #eaf0f7;
    border-radius: 13px;
    color: var(--ink);
    display: grid;
    font-family: "DM Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.nav-product-mark-all {
    background: #eef1f7;
    display: block;
    overflow: hidden;
    position: relative;
}

.nav-product-mark-all i {
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 7px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.13);
    height: 25px;
    position: absolute;
    top: 10px;
    width: 19px;
}

.nav-product-mark-all i:nth-child(1) {
    background: #6ee7d8;
    left: 7px;
    transform: rotate(-13deg);
}

.nav-product-mark-all i:nth-child(2) {
    background: #7cb8ff;
    left: 13px;
    top: 8px;
    transform: rotate(-1deg);
    z-index: 1;
}

.nav-product-mark-all i:nth-child(3) {
    background: #27324a;
    left: 20px;
    transform: rotate(12deg);
    z-index: 2;
}

.nav-product-mark-movlog {
    background: #fff1d5;
    color: #654735;
}

.nav-product-mark-citybus {
    background: #e1efff;
    color: #195b9f;
}

.nav-product-copy {
    min-width: 0;
}

.nav-product-copy strong,
.nav-product-copy small {
    display: block;
}

.nav-product-copy strong {
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.35;
}

.nav-product-copy small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.45;
    margin-top: 2px;
}

.nav-product-arrow {
    color: #a5adba;
    font-size: 0.8rem;
    transition: color 180ms ease, transform 180ms ease;
}

.nav-products-list a:hover .nav-product-arrow {
    color: var(--ink);
    transform: translate(2px, -2px);
}

@keyframes nav-panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-navigation .nav-contact {
    background: var(--ink);
    color: #fff;
    margin-left: 5px;
    padding-inline: 18px;
}

.site-navigation .nav-contact:hover {
    background: #253047;
    color: #fff;
    transform: translateY(-1px);
}

.language-switcher {
    align-items: center;
    color: #9aa3b3;
    display: flex;
    font-family: "DM Sans", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    gap: 2px;
    margin-left: 7px;
}

.language-button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #7e899b;
    cursor: pointer;
    font: inherit;
    letter-spacing: 0.04em;
    padding: 8px 6px;
    transition: background 180ms ease, color 180ms ease;
}

.language-button:hover, .language-button.is-active {
    background: #edf1f7;
    color: var(--ink);
}

.nav-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.nav-toggle span {
    background: var(--ink);
    border-radius: 2px;
    display: block;
    height: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
    width: 21px;
}

.button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    font-size: 0.94rem;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10); transform: translateY(-2px); }
.button.special { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.small { font-size: 0.84rem; min-height: 42px; padding: 0 18px; }
.button.light { background: #fff; border-color: #fff; color: var(--ink); }

.text-link {
    align-items: center;
    display: inline-flex;
    font-size: 0.94rem;
    font-weight: 700;
    gap: 10px;
}

.text-link i { font-style: normal; transition: transform 180ms ease; }
.text-link:hover i { transform: translate(3px, -3px); }
.page-content { min-height: 55vh; }

#main:not(.home-page):not(.citybus-page):not(.movlog-page) { padding: 88px 0 110px; }

header.special {
    margin: 0 auto 52px;
    max-width: 760px;
    text-align: center;
}

header.special .icon {
    align-items: center;
    background: #e8fbf7;
    border-radius: 16px;
    color: var(--mint-dark);
    display: inline-flex;
    font-size: 1.4rem;
    height: 52px;
    justify-content: center;
    margin-bottom: 22px;
    width: 52px;
}

header.special h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    margin: 0;
}

header.special p { color: var(--muted); font-size: 1.05rem; margin: 18px 0 0; }
.wrapper { margin: 0 auto; }

.wrapper.style1, .wrapper.style4 {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: clamp(28px, 5vw, 56px);
}

.special { text-align: center; }

ul.buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

ul.posts { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
ul.posts > li h2 { font-size: 1.45rem; letter-spacing: -0.035em; }
.post-meta { color: var(--muted); font-size: 0.88rem; }

#footer { background: #080d18; color: #fff; padding: 72px 0 30px; }
.footer-grid { display: grid; gap: 64px; grid-template-columns: 1.4fr 1fr; }
.footer-brand { margin-bottom: 20px; }
.footer-brand .site-brand-mark { background: #fff; }
.footer-brand + p { color: #9da7b8; font-size: 0.95rem; line-height: 1.75; margin: 0; }
.footer-links { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }

.footer-links strong {
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.footer-links a { color: #9da7b8; font-size: 0.9rem; transition: color 180ms ease; }
.footer-links a:hover { color: var(--mint); }

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #737e90;
    display: flex;
    font-size: 0.76rem;
    justify-content: space-between;
    margin-top: 58px;
    padding-top: 24px;
}

.footer-bottom p { margin: 0; }

@media (max-width: 820px) {
    :root { --shell: min(100% - 32px, 680px); }
    .site-header-inner { height: 68px; }
    .nav-toggle { display: flex; position: relative; z-index: 2; }

    .site-navigation {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--line);
        left: 0;
        opacity: 0;
        padding: 20px 16px 24px;
        pointer-events: none;
        position: absolute;
        top: 100%;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease;
        width: 100%;
    }

    .site-navigation { max-height: calc(100vh - 68px); overflow-y: auto; }
    .site-navigation > ul { align-items: stretch; flex-direction: column; gap: 4px; margin: 0 auto; max-width: 680px; }
    .site-navigation a { font-size: 1rem; padding: 12px 14px; }
    .nav-products summary { font-size: 1rem; justify-content: space-between; padding: 12px 14px; }
    .nav-products-panel { animation: none; border-radius: 18px; box-shadow: none; margin: 4px 0 8px; padding: 8px; position: static; width: auto; }
    .nav-products-panel::before { display: none; }
    .nav-products-heading { padding: 7px 8px 10px; }
    .nav-products-list a { font-size: initial; grid-template-columns: 42px minmax(0, 1fr) auto; padding: 10px; }
    .nav-product-mark { height: 42px; width: 42px; }
    .nav-product-copy strong { font-size: 0.88rem; }
    .nav-product-copy small { font-size: 0.72rem; }
    .site-navigation .nav-contact { margin: 8px 0 0; text-align: center; }
    .language-switcher { justify-content: center; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
    .site-header[data-open] .site-navigation { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .site-header[data-open] .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .site-header[data-open] .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header[data-open] .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    body { font-size: 15px; word-break: normal; }
    #main:not(.home-page):not(.citybus-page):not(.movlog-page) { padding: 64px 0 78px; }
    .footer-links { gap: 28px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
