
:root {
    --yellow: #ffdc32;
    --yellow-light: #fff5c2;
    --bg: #fffdf5;
    --surface: #ffffff;
    --text: #171717;
    --muted: #5e5e5e;
    --border: #e8e1c7;
}

* {
    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.8;
    word-break: keep-all;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

/* 상단 메뉴 */

.header {
    background: #ffffff;
    border-bottom: 3px solid var(--yellow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.logo {
    background: var(--yellow);
    color: #171717;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 5px 17px;
    border-radius: 8px;
    white-space: nowrap;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

nav a {
    font-size: 14px;
    font-weight: 700;
}

nav a:hover {
    color: #806300;
}

/* 메인 배너 */

.hero {
    position: relative;
    overflow: hidden;
    padding: 115px 0;
    text-align: center;
    background:
        radial-gradient(
            circle at 10% 20%,
            #fff2a3 0%,
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            #ffc800 0%,
            transparent 40%
        ),
        linear-gradient(135deg, #ffe86c, #ffd523);
    border-bottom: 1px solid #e5c329;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    background: #171717;
    color: #ffdf32;
    padding: 5px 18px;
    border-radius: 30px;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 700;
}

h1 {
    font-size: clamp(45px, 8vw, 85px);
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 900;
    letter-spacing: -3px;
}

.hero-subtitle {
    color: #292400;
    font-size: clamp(20px, 4vw, 33px);
    font-weight: 800;
    margin: 12px 0;
}

.hero p {
    font-weight: 500;
}

.hero .eyebrow {
    font-weight: 700;
}

/* 전화문의 버튼 */

.call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #171717;
    color: #ffe239;
    font-size: 18px;
    font-weight: 800;
    padding: 17px 32px;
    margin-top: 22px;
    border-radius: 12px;
    box-shadow: 0 6px 0 #9c801d;
    transition: transform 0.2s;
}

.call-button:hover {
    transform: translateY(-3px);
}

/* 본문 */

.section {
    padding: 65px 0;
}

.section + .section {
    border-top: 1px solid var(--border);
}

h2 {
    color: #171717;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 24px;
    padding-left: 15px;
    border-left: 7px solid #ffcf17;
}

h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.section p {
    color: var(--muted);
}

/* 지역별 카드 */

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.region-card {
    display: block;
    position: relative;
    padding: 30px 25px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: 6px solid var(--yellow);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, background 0.2s;
}

.region-card:hover {
    transform: translateY(-4px);
    background: var(--yellow-light);
}

.region-card h3 {
    color: #171717;
    font-weight: 800;
}

.region-card p {
    font-size: 15px;
    margin-bottom: 0;
}

/* 하단 영역 */

.footer {
    padding: 40px 0;
    background: #181818;
    border-top: 5px solid var(--yellow);
    text-align: center;
    color: #dddddd;
    font-size: 13px;
}

.footer p:first-child {
    color: var(--yellow);
    font-weight: 800;
    font-size: 17px;
}

.mobile-call {
    display: none;
}

a:focus-visible {
    outline: 3px solid #826200;
    outline-offset: 4px;
}

/* 태블릿 */

@media (max-width: 900px) {
    .header .container {
        flex-direction: column;
        padding: 16px 0;
        gap: 12px;
    }

    nav {
        justify-content: center;
        gap: 14px;
    }

    .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 모바일 */

@media (max-width: 600px) {
    body {
        padding-bottom: calc(
            75px + env(safe-area-inset-bottom, 0px)
        );
    }

    .header {
        position: static;
    }

    .logo {
        font-size: 22px;
    }

    nav {
        gap: 8px 14px;
    }

    nav a {
        font-size: 12px;
        padding: 5px 0;
    }

    .hero {
        padding: 65px 0;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    h1 {
        letter-spacing: -2px;
    }

    .section {
        padding: 42px 0;
    }

    .region-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .region-card {
        padding: 23px;
    }

    .mobile-call {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px 10px calc(
            15px + env(safe-area-inset-bottom, 0px)
        );
        background: #ffdc32;
        border-top: 2px solid #171717;
        color: #171717;
        font-size: 19px;
        font-weight: 900;
        z-index: 999;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

/* Telegram contact buttons */

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.contact-buttons .call-button {
    margin-top: 0;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #229ED9;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    padding: 17px 32px;
    border-radius: 12px;
    box-shadow: 0 6px 0 #1678a5;
}

.telegram-button:hover {
    background: #1678a5;
}

@media (max-width: 600px) {
    .contact-buttons {
        flex-direction: column;
        max-width: 340px;
        margin: 25px auto 0;
    }

    .telegram-button {
        font-size: 16px;
    }
}


/* PROMO IMAGE CSS */

.promo-image {
    margin: 0 auto;
    max-width: 1000px;
}

.promo-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

.promo-image figcaption {
    text-align: center;
    font-size: 12px;
    color: #666666;
    margin-top: 10px;
}

#main-visual {
    padding-top: 35px;
    padding-bottom: 35px;
}

.section p a,
.section li a {
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 700;
}


/* VIDEO DESIGN CSS */

.video-wrap {
    max-width: 960px;
    margin: 25px auto 0;
}

.video-wrap video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #171717;
    border: 3px solid #ffdc32;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

.video-wrap figcaption {
    font-size: 12px;
    color: #666666;
    text-align: center;
    margin-top: 12px;
}


/* DETAIL GUIDE CSS */

.info-table-wrap {
    overflow-x: auto;
    margin: 25px 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 15px;
}

.info-table th,
.info-table td {
    border: 1px solid #e8e1c7;
    padding: 17px;
    text-align: left;
}

.info-table th {
    background: #ffdc32;
    color: #171717;
    font-weight: 800;
}

.info-table td:first-child {
    font-weight: 700;
    width: 32%;
}

.faq-list {
    display: grid;
    gap: 13px;
    margin: 25px 0;
}

.faq-list details {
    background: #ffffff;
    border: 1px solid #e8e1c7;
    border-radius: 12px;
    padding: 20px;
}

.faq-list summary {
    font-weight: 800;
    cursor: pointer;
}

.faq-list details[open] {
    border-color: #d5af00;
    background: #fff9de;
}

.faq-list details p {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .info-table {
        font-size: 13px;
    }

    .info-table th,
    .info-table td {
        padding: 12px;
    }

    .faq-list details {
        padding: 16px;
    }
}


/* REGION MAP CSS */

.map-wrap {
    overflow: hidden;
    width: 100%;
    margin: 25px 0 15px;
    background: #ffffff;
    border: 3px solid #ffdc32;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

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

.map-notice {
    color: #666666;
    font-size: 13px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    background: #ffdc32;
    color: #171717;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 8px;
}

.map-link:hover {
    background: #ffd000;
}

@media (max-width: 600px) {
    .map-wrap iframe {
        height: 300px;
    }

    .map-link {
        display: flex;
        justify-content: center;
    }
}


/* LOCAL LINKS CSS */

.local-links {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.local-links li {
    border-bottom: 1px solid #eee6c9;
}

.local-links li:last-child {
    border-bottom: 0;
}

.local-links a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 700;
    color: #252525;
}

.local-links a:hover {
    color: #806300;
}

section[id] {
    scroll-margin-top: 110px;
}

@media (max-width: 600px) {
    section[id] {
        scroll-margin-top: 20px;
    }
}


/* MOBILE CONTACT CSS */

.mobile-contact {
    display: none;
}

@media (max-width: 600px) {

    body {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #171717;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    }

    .mobile-contact a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 70px;
        padding: 10px 5px;
        font-size: 16px;
        font-weight: 900;
        line-height: 1.5;
    }

    .mobile-contact span {
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-phone {
        background: #ffdc32;
        color: #171717;
    }

    .mobile-telegram {
        background: #1678a5;
        color: #ffffff;
    }

    .mobile-call {
        display: none;
    }
}

