﻿:root {
    --bg: #0d0b13;
    --surface: #171321;
    --card: #211a30;
    --accent: #bc91ff;
    --accent-dark: #8250d4;
    --text: #f5f2fa;
    --muted: #c1b9ce;
    --line: #392d4a;
    --radius: 18px;
    --width: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a:hover {
    text-decoration: underline;
}

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

img, video, iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 11, 19, .96);
    border-bottom: 1px solid var(--line);
}

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

.logo {
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

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

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--accent);
}

.hero {
    padding: 88px 0 70px;
    background:
        radial-gradient(ellipse at 85% 15%,
        rgba(130,80,212,.23), transparent 55%),
        linear-gradient(145deg, #171020, #0d0b13);
    border-bottom: 1px solid var(--line);
}

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

h1, h2, h3 {
    line-height: 1.4;
    letter-spacing: -1px;
}

h1 {
    font-size: clamp(30px, 5vw, 52px);
    margin: 16px 0 22px;
}

h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin: 0 0 22px;
}

h3 {
    font-size: 21px;
    margin: 0 0 14px;
}

p {
    margin: 0 0 18px;
}

.lead {
    color: var(--muted);
    max-width: 800px;
    font-size: 18px;
}

.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.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(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

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

.card a {
    font-weight: 700;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 800;
}

.btn-primary {
    background: var(--accent);
    color: #130b21;
}

.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
}

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

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.media-box {
    overflow: hidden;
    background: #08070c;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.media-box video {
    width: 100%;
    max-height: 540px;
}

.region-map {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.region-map iframe {
    width: 100%;
    height: 340px;
    border: 0;
}

.map-caption {
    padding: 18px;
    color: var(--muted);
    font-size: 14px;
}

.notice {
    padding: 20px;
    border-left: 4px solid var(--accent);
    background: var(--surface);
    border-radius: 8px;
    color: var(--muted);
}

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

summary {
    cursor: pointer;
    font-weight: 700;
}

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

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

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

.mobile-contact {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 84px;
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 0;
    }

    .site-nav {
        gap: 12px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .hero {
        padding: 48px 0;
    }

    .section {
        padding: 40px 0;
    }

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

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

    .card {
        padding: 21px;
    }

    .region-map iframe {
        height: 280px;
    }

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

    .mobile-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        border-radius: 10px;
        font-weight: 800;
    }

    .mobile-contact .phone {
        background: var(--accent);
        color: #130b21;
    }

    .mobile-contact .telegram {
        background: #168acd;
        color: white;
    }
}

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