﻿:root {
    --bg: #100d17;
    --surface: #1b1625;
    --surface-light: #251d32;
    --accent: #bc98ff;
    --accent-dark: #7950cf;
    --text: #f5f2fa;
    --muted: #c1b8ce;
    --border: #382e48;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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(--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 {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

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

.site-header {
    background: #15101e;
    border-bottom: 1px solid var(--border);
}

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

.brand {
    color: var(--accent);
    font-size: 23px;
    font-weight: 900;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

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

.hero {
    padding: 80px 0 60px;
    background: radial-gradient(
        ellipse at top right,
        #352052,
        #100d17 70%
    );
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

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

h1, h2, h3 {
    line-height: 1.4;
    margin-top: 0;
}

h1 {
    font-size: clamp(30px, 5vw, 52px);
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(24px, 3vw, 33px);
    letter-spacing: -0.7px;
}

h3 {
    font-size: 20px;
}

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

strong {
    color: var(--text);
}

.section {
    padding: 55px 0;
}

.section + .section {
    border-top: 1px solid var(--border);
}

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

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

.card:hover {
    border-color: var(--accent-dark);
}

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

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

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

.btn-primary {
    background: var(--accent);
    color: #160e25;
}

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

.phone {
    color: var(--accent);
    font-size: clamp(25px, 4vw, 36px);
    font-weight: 900;
}

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

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

.content {
    max-width: 850px;
    margin: 0 auto;
}

.content h2 {
    margin-top: 36px;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

figure {
    margin: 0;
}

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

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

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

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

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

details p {
    margin: 15px 0 0;
}

.map-wrap {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.site-footer {
    padding: 40px 0 95px;
    background: #0b0910;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.mobile-contact {
    display: none;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    nav {
        gap: 8px 15px;
    }

    .hero {
        padding: 38px 0;
    }

    .hero-layout,
    .grid,
    .media-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 35px 0;
    }

    .card {
        padding: 20px;
    }

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

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

    .mobile-contact a {
        flex: 1;
        text-align: center;
    }

    .map-wrap iframe {
        height: 260px;
    }
}

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

nav a[aria-current="page"] {
    color: var(--accent);
    font-weight: 800;
    border-bottom: 2px solid var(--accent);
}

.hero figure img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

video {
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: #0b0910;
}

.btn:hover {
    text-decoration: none;
    opacity: 0.9;
}

.phone:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px;
    }
}
