@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&family=Poppins:wght@600;700&display=swap");

:root {
    --brand: #a91221;
    --brand-deep: #8e0f1c;
    --brand-rgb: 169, 18, 33;
    --blue: #a91221;
    --blue-deep: #8e0f1c;
    --cyan: #ffffff;
    --red: #a91221;
    --red-dark: #8e0f1c;
    --yellow: #ffe100;
    --ink: #1b1f24;
    --muted: #67757f;
    --bg: #f7f6f5;
    --card: #ffffff;
    --footer: #a91221;
    --grad: #a91221;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Noto Sans KR", sans-serif;
    background: var(--bg);
    color: var(--muted);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 12px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header,
.site-footer {
    background: var(--brand);
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px 8px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.site-menu {
    display: contents;
}
.logo {
    display: flex;
    align-items: center;
    line-height: 0;
}
.logo img {
    height: 44px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
}
.nav-links a.is-active { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 6px; }
.language-switcher {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    white-space: nowrap;
}
.language-switcher a {
    padding: 4px 7px;
    border-radius: 999px;
    color: rgba(255,255,255,.8);
    font-size: 11px;
    line-height: 1.35;
}
.language-switcher a:hover,
.language-switcher a.is-active {
    background: #fff;
    color: var(--brand);
}
.kakao-btn {
    background: #fff !important;
    color: #a91221 !important;
    font-weight: 700;
    border-radius: 4px;
    padding: 10px 16px !important;
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(169, 18, 33, .92) 0%, rgba(169, 18, 33, .80) 55%, rgba(169, 18, 33, .48) 100%),
        url("../img/hcmc.svg") center / cover no-repeat;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/visa-doc.svg") left 8% center / 48% no-repeat;
    opacity: .18;
    mix-blend-mode: screen;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    min-height: 560px;
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding: 100px 0 90px;
    max-width: 560px;
    color: #fff;
}
.hero h1 { color: #fff; font-size: 44px; font-weight: 900; line-height: 1.25; }
.hero h2 { color: #fff; font-size: 22px; font-weight: 700; margin-top: 18px; }
.hero p { color: rgba(255,255,255,.92); margin: 10px 0 0; }
.hero-figure {
    position: absolute;
    right: 15%;
    top: 0;
    bottom: 0;
    width: 40%;
}
.hero-figure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(169, 18, 33, .80) 0%, rgba(169, 18, 33, 0) 28%);
    pointer-events: none;
}
.hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
}
.hero-promo {
    position: absolute;
    z-index: 3;
    top: 92px;
    right: 0;
    width: 172px;
    padding: 22px 16px 18px;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 18px;
    background: rgba(124, 8, 23, .88);
    box-shadow: 0 18px 42px rgba(68, 0, 9, .32);
    color: #fff;
    text-align: center;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hero-promo:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(68, 0, 9, .42);
}
.hero-promo span,
.hero-promo strong,
.hero-promo em,
.hero-promo b,
.hero-promo small { display: block; }
.hero-promo span {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero-promo strong { margin-top: 6px; font-size: 22px; line-height: 1.2; }
.hero-promo em { margin-top: 10px; font-size: 18px; font-style: normal; font-weight: 800; }
.hero-promo b {
    margin-top: 5px;
    color: #ffe37b;
    font-size: 25px;
    line-height: 1.2;
}
.hero-promo small {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    font-size: 12px;
    font-weight: 700;
}

.page-hero {
    background: linear-gradient(130deg, #a91221, #8e0f1c);
    color: #fff;
    padding: 56px 0;
}
.page-hero h1 { color: #fff; font-size: 34px; }
.page-hero p { color: rgba(255,255,255,.9); margin: 0; }

.section { padding: 84px 0; }
.section.alt { background: #f6eaea; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 { font-size: 32px; font-weight: 900; }
.section-head p { margin: 8px auto 0; max-width: 720px; }
.rule {
    width: 46px;
    height: 2px;
    background: var(--brand);
    margin: 16px auto 0;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 40px 18px 24px;
    box-shadow: 0 12px 40px rgba(20, 40, 80, .08);
    overflow: hidden;
    text-align: left;
}
.price-card h3 { font-size: 22px; color: var(--blue); text-align: center; }
.price-card .en { text-align: center; color: #9aa6af; margin-bottom: 18px; border-bottom: 1px solid #edf0f3; padding-bottom: 16px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1 1 auto; }
.price-card li { padding: 7px 0 7px 22px; position: relative; color: #4d5b65; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.price-card .btn { margin-top: auto; }
.ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    transform: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    min-height: 44px;
    background: var(--brand);
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    border-radius: 4px;
    padding: 10px 22px;
    cursor: pointer;
}
.btn:hover { background: var(--brand-deep, #8e0f1c); color: #fff; }
.btn.block { width: 100%; }
.btn.is-off,
span.btn.is-off {
    background: #c5c9ce;
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
}
.btn.is-off:hover,
span.btn.is-off:hover {
    background: #c5c9ce;
    color: #fff;
}
.btn.yellow {
    background: var(--brand);
    color: #fff;
}
.btn.secondary {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--brand);
    text-decoration: none;
}
.btn.secondary:hover {
    background: #f8e9eb;
    color: var(--brand);
}
.card-note { display: block; text-align: center; font-size: 12px; color: #a0aab2; margin-top: 10px; }

.feature-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 18px;
}
.feature-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-right: 28px;
}
.feature-title .brand-word {
    font-family: Poppins, "Noto Sans KR", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--brand);
    line-height: 1;
}
.feature-title .feature-title-ko {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    color: var(--ink);
    letter-spacing: -.02em;
}
.feature-title .feature-title-ko::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 14px;
    background: var(--brand);
    border-radius: 2px;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 28px rgba(20, 40, 80, .06);
}
.icon-bubble {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.icon-bubble--art {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: transparent;
    overflow: hidden;
}
.icon-bubble--art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-card h3 { font-size: 18px; }
.feature-card p { margin: 0; font-size: 14px; }

.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px 18px;
    box-shadow: 0 10px 28px rgba(20, 40, 80, .06);
}
.quote { font-size: 34px; color: var(--blue); font-weight: 900; line-height: 1; }
.review p { font-size: 14px; color: #334047; min-height: 150px; }
.stars { color: #f5b301; border-top: 1px solid #edf0f3; padding-top: 12px; }
.who { font-weight: 700; color: var(--ink); font-size: 14px; }

form input, form select, form textarea {
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 14px;
    border: 1px solid #e4eaef;
    border-radius: 10px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}
form label { display: block; font-weight: 600; color: var(--ink); margin: 12px 0 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.news-grid-3 { grid-template-columns: repeat(3, 1fr); }
.news-card h3 { font-size: 20px; }
.news-card h3 a { color: inherit; }
.news-card img { width: 100%; height: 240px; object-fit: cover; border-radius: 8px; margin-bottom: 14px; background: #f3e6e8; }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    margin: 0 0 16px;
    color: #5b656e;
}
.page-hero .crumbs,
.page-hero .crumbs a { color: rgba(255,255,255,.86); }
.booking-page .crumbs { justify-content: center; }

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.diff-grid article {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(20, 40, 80, .06);
}
.diff-grid ul { margin: 0; padding-left: 18px; }
.diff-grid li { margin: 8px 0; color: #4d5b65; }

.landing-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}
.landing-facts article {
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 12px;
    padding: 16px 18px;
}
.landing-facts h2,
.landing-facts h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #a91221;
}
.landing-facts p { margin: 0; font-size: 14px; color: #4d5b65; line-height: 1.55; }

.faq-block { margin: 36px 0 12px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 10px 0;
}
.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: #1b1f24;
}
.faq-list details p {
    margin: 10px 0 0;
    color: #4d5b65;
    line-height: 1.65;
}

.guide-article { max-width: 760px; }
.guide-article p { line-height: 1.8; color: #334047; }
.guide-cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #f3e6e8;
}
.guide-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.guide-cta .btn { text-decoration: none; }
.blog-guides-head { margin-top: 48px; }
.blog-guides-link { margin: 28px 0 8px; }
.blog-body h2, .blog-body h3, .blog-body h4 { margin: 28px 0 10px; }
.blog-body p { margin: 0 0 14px; line-height: 1.85; color: #334047; }
.blog-body ul, .blog-body ol { margin: 0 0 16px 1.2em; color: #334047; }
.blog-body img { border-radius: 10px; margin: 16px 0; }
.blog-body a { text-decoration: underline; }
.legal-page h2 { margin: 28px 0 8px; font-size: 20px; }
.legal-page p { line-height: 1.75; color: #334047; }
.footer-nap { line-height: 1.7; }
.news-date { font-size: 13px; color: #8b969e; }
.read-more {
    display: inline-block;
    margin-top: 10px;
    border: 1px solid #d7dee4;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--blue);
}

.site-footer {
    color: rgba(255, 255, 255, .88);
    padding: 48px 0 28px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 32px;
    padding-bottom: 28px;
}
.site-footer h4 { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li, .site-footer p { margin: 6px 0; font-size: 14px; }
.site-footer a { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; color: #fff;
}
.copy { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 16px; font-size: 13px; }

.float-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-chat a {
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff; font-size: 12px; font-weight: 800;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.float-chat .kakao { background: #fae100; color: #3c1e1e; }
.float-chat .zalo { background: #0068ff; }
.float-chat .phone { background: #22c55e; }

.alert { padding: 12px 14px; border-radius: 10px; margin: 16px 0; }
.alert.error { background: #fdecea; color: #8a1f16; }
.alert.ok { background: #e8f6ee; color: #14532d; }
.muted { color: var(--muted); }
.card {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(20, 40, 80, .06);
}
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #edf0f3; font-size: 14px; color: var(--ink); }
.status { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; background: #eee; }
.status.pending { background: #fff4d6; }
.status.reviewing, .status.processing { background: #dbeafe; }
.status.approved, .status.completed { background: #dcfce7; }
.status.rejected { background: #fee2e2; }

.page-body { padding: 36px 0 64px; }

.admin-subnav-bar {
    background: rgba(0,0,0,.18);
    border-top: 1px solid rgba(255,255,255,.22);
}
.admin-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding: 10px 0 12px;
    border-top: 0;
    background: none;
}
.admin-subnav a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.admin-subnav a.is-active {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.admin-who {
    margin-left: auto;
    color: rgba(255,255,255,.85);
    font-size: 13px;
}
.blog-admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
}
.blog-admin-bar .btn { text-decoration: none; min-width: 0; }
.blog-card-admin {
    margin: 10px 0 0;
    font-size: 14px;
}
.blog-card-admin .inline-form { display: inline; }
.deposit-balance {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand, #A91221);
    margin: 8px 0 16px;
}
.deposit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 20px;
}
.deposit-actions .btn { min-width: 0; text-decoration: none; }
.matrix-table input[type="number"] {
    width: 110px;
    margin: 0;
}
.inline-form { display: inline; }
button.linkish {
    background: none;
    border: 0;
    padding: 0;
    color: var(--blue);
    font: inherit;
    cursor: pointer;
}
tr.is-inactive td { color: #8b969e; }

@media (max-width: 1280px) {
    .price-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
    .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
    .hero-inner, .feature-grid, .price-grid, .reviews, .news-grid, .footer-grid, .form-row, .diff-grid, .news-grid-3 {
        grid-template-columns: 1fr;
    }
    .hero,
    .hero-inner { min-height: 0; }
    .hero-figure,
    .hero-promo { display: none !important; }
    .nav {
        flex-wrap: nowrap;
        min-height: 64px;
        padding: 8px 0;
        gap: 12px;
    }
    .logo img { height: 36px; }
    .nav-toggle { display: inline-flex; }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 45;
        flex-direction: column;
        gap: 16px;
        padding: 8px 20px 22px;
        background: var(--brand-deep);
        box-shadow: 0 18px 36px rgba(40, 0, 8, .28);
    }
    body.nav-open .site-menu { display: flex; }
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        overflow: visible;
    }
    .nav-links a {
        display: block;
        padding: 14px 4px;
        font-size: 16px;
        font-weight: 700;
        border-bottom: 1px solid rgba(255,255,255,.14);
        text-decoration: none;
    }
    .nav-links a.is-active {
        text-underline-offset: 3px;
    }
    .language-switcher {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 4px 0 0;
        width: 100%;
        gap: 6px;
        padding: 6px;
    }
    .language-switcher a {
        text-align: center;
        padding: 10px 6px;
        font-size: 13px;
    }
    .hero h1 { font-size: 30px; }
    .hero-copy { padding: 40px 0 48px; max-width: none; }
}
