﻿:root {
    --bg: #101114;
    --surface: #191b20;
    --surface-light: #22252c;
    --gold: #dbc18c;
    --gold-dark: #ac8c50;
    --text: #f4f0e7;
    --muted: #b8bac2;
    --border: #38383d;
    --radius: 18px;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.85;
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

img, video {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

button, input, select {
    font: inherit;
}

.container {
    width: min(92%, var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(16,17,20,.97);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    color: var(--gold);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--text);
    font-size: 14px;
}

.site-nav a[aria-current="page"] {
    color: var(--gold);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: var(--surface);
    color: var(--gold);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 15px;
    cursor: pointer;
}

.hero {
    padding: 90px 0 72px;
    background: radial-gradient(
        ellipse at top right,
        #39301e 0%,
        #191b20 42%,
        #101114 85%
    );
    border-bottom: 1px solid var(--border);
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
}

h1, h2, h3 {
    line-height: 1.4;
    letter-spacing: -.045em;
}

h1 {
    font-size: clamp(34px, 5.5vw, 64px);
    margin: 18px 0 22px;
}

h2 {
    font-size: clamp(25px, 3.5vw, 36px);
    margin: 0 0 24px;
}

h3 {
    font-size: 22px;
    margin: 0 0 12px;
}

p {
    margin: 0 0 18px;
}

.hero-description {
    max-width: 740px;
    color: var(--muted);
    font-size: 18px;
}

.gold {
    color: var(--gold);
}

section {
    padding: 64px 0;
}

.section-muted {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.section-intro {
    max-width: 780px;
    color: var(--muted);
    margin-bottom: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.grid-two {
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.card {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.card h3 {
    color: var(--gold);
}

.card p {
    color: var(--muted);
}

.card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
    font-weight: 700;
    margin-top: 8px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 24px;
    background: var(--gold);
    color: #141414;
    font-weight: 800;
    border-radius: 10px;
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-dark);
}

.breadcrumb {
    color: var(--muted);
    font-size: 13px;
    padding: 18px 0;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    text-align: left;
    background: var(--surface);
}

th, td {
    padding: 17px 20px;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--gold);
    background: var(--surface-light);
}

tr:last-child td {
    border-bottom: 0;
}

details {
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 12px;
}

summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--gold);
}

details p {
    margin: 16px 0 0;
    color: var(--muted);
}

.notice {
    padding: 20px;
    border-left: 3px solid var(--gold);
    background: var(--surface-light);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: var(--radius);
    background: var(--surface);
}

.media-frame {
    max-width: 850px;
    margin: 24px auto;
}

.media-frame video {
    width: 100%;
}

figure {
    margin: 24px 0;
}

figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
}

.mobile-contact {
    display: none;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 22px 5%;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
    }

    .site-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav a {
        padding: 8px 0;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
        padding-bottom: 82px;
    }

    .header-inner {
        min-height: 65px;
    }

    .logo {
        font-size: 19px;
    }

    .hero {
        padding: 55px 0 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    section {
        padding: 44px 0;
    }

    .grid, .grid-two {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        padding: 22px;
    }

    .btn-row .btn {
        flex: 1;
    }

    .map-frame {
        height: 280px;
    }

    .mobile-contact {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 200;
        background: #101114;
        border-top: 1px solid var(--border);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        gap: 10px;
    }

    .mobile-contact a {
        flex: 1;
        text-align: center;
        padding: 12px 8px;
        border-radius: 9px;
        font-weight: 800;
        color: #111;
        background: var(--gold);
    }

    .mobile-contact a.telegram {
        background: #229ed9;
        color: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* IMAGE SEO STYLES */

.seo-image {
    width: 100%;
    max-width: 900px;
    margin: 28px auto;
}

.seo-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.seo-image figcaption {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    margin-top: 12px;
}

.hero .seo-image {
    max-width: 720px;
    margin: 24px 0;
}

@media (max-width: 600px) {
    .seo-image {
        margin: 20px auto;
    }

    .seo-image figcaption {
        font-size: 12px;
    }
}


/* VIDEO SEO STYLES */

.media-frame {
    width: 100%;
    max-width: 900px;
    margin: 28px auto;
}

.media-frame video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #101114;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.media-frame figcaption {
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 600px) {
    .media-frame {
        margin: 20px auto;
    }

    .media-frame figcaption {
        font-size: 12px;
    }
}

