:root {
    --wrap: 1440px;
    --text: #1f2937;
    --muted: #667085;
    --line: #d7dce3;
    --bg: #f5f1eb;
    --bg-soft: #fcfaf7;
    --panel: #ffffff;
    --navy: #1f3659;
    --navy-deep: #172944;
    --beige: #e8ddd1;
    --gold: #b9915e;
    --rose: #8b5d62;
    --shadow: 0 24px 60px rgba(23, 41, 68, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Noto Sans KR", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7f2ec 0%, #fbfaf8 50%, #f5f1eb 100%);
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container,
.warps {
    width: min(100% - 40px, var(--wrap));
    margin: 0 auto;
}

#header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(31, 54, 89, 0.08);
}

.top-bar {
    border-bottom: 1px solid rgba(31, 54, 89, 0.08);
    background: rgba(248, 244, 239, 0.9);
}

.top-bar-inner,
.main-header-inner {
    display: grid;
    align-items: center;
    gap: 40px;
}

.top-bar-inner {
    min-height: 42px;
    font-size: 13px;
    color: var(--muted);
}

.top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.top-links a:hover,
.fsns a:hover,
.footmenu a:hover,
.bcont a:hover {
    color: var(--navy);
}

.top-copy {
    font-weight: 700;
    color: var(--navy);
}

.main-header-inner {
    min-height: 96px;
    grid-template-columns: 220px minmax(0, 1fr) auto;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--navy-deep);
}

.logo a span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d5b183);
    color: #fff;
    box-shadow: var(--shadow);
}

.navbar {
    min-width: 0;
}

.nav-list {
    display: grid;
    grid-template-columns: repeat(var(--menu-count, 6), minmax(0, 1fr));
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 96px;
    padding: 0 10px;
    border-radius: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-deep);
}

.nav-item.is-active .nav-link,
.nav-link:hover {
    background: rgba(31, 54, 89, 0.06);
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy);
}

#mega-menu-container {
    display: none;
    border-top: 1px solid rgba(31, 54, 89, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

#mega-menu-container.is-open {
    display: block;
}

.mega-menu-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(var(--menu-count, 6), minmax(0, 1fr));
    gap: 0;
    padding: 12px 0 24px;
}

.mega-menu-column {
    padding: 12px 14px 0;
    min-width: 0;
}

.mega-menu-column + .mega-menu-column {
    border-left: 1px solid rgba(31, 54, 89, 0.08);
}

.mega-menu-title {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
}

.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.mega-menu-list a {
    display: block;
    padding: 2px 0;
    word-break: keep-all;
}

#contents {
    min-height: calc(100vh - 200px);
}

.main-hero,
.sub-hero,
.board-hero {
    position: relative;
    overflow: hidden;
}

.main-hero {
    padding: 72px 0 42px;
    background:
        radial-gradient(circle at 15% 20%, rgba(185, 145, 94, 0.28), transparent 32%),
        linear-gradient(135deg, #10213d 0%, #28456e 55%, #5e748d 100%);
    color: #fff;
}

.main-hero-grid,
.board-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: stretch;
}

.hero-slide {
    padding: 40px;
    border-radius: 36px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
}

.hero-slide + .hero-slide {
    margin-top: 18px;
}

.hero-eyebrow,
.section-head span,
.sub-hero-eyebrow,
.board-hero-eyebrow,
.side-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-slide h2,
.sub-hero h1,
.board-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.hero-slide p,
.sub-hero p,
.board-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.hero-cta,
.kakao-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #d2aa7a);
    color: #fff;
    font-weight: 700;
    margin-top: 26px;
}

.hero-cta.is-current {
    background: #fff;
    color: var(--navy);
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.hero-panel-card,
.hero-stats div,
.feature-strip-card,
.promo-card,
.board-preview-card,
.consult-banner,
.video-placeholder,
.feature-image-shell,
.product-info,
.process-step,
.faq-item,
.board-card,
.board-side-card,
.clinic-card {
    background: var(--panel);
    border-radius: 28px;
    border: 1px solid rgba(31, 54, 89, 0.08);
    box-shadow: var(--shadow);
}

.hero-panel-card {
    padding: 28px;
    color: var(--navy-deep);
}

.hero-panel-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rose);
}

.hero-panel-card strong,
.hero-stats strong,
.promo-card strong,
.board-preview-head strong,
.board-card-body strong,
.feature-title,
.section-head h2,
.clinic-card strong,
.board-side-card h3 {
    display: block;
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.hero-stats {
    display: grid;
    gap: 14px;
}

.hero-stats div {
    padding: 22px 24px;
}

.hero-stats span {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.warps {
    padding: 42px 0 84px;
}

.feature-strip-grid,
.promo-grid,
.home-board-grid,
.product-info-container,
.process-container,
.board-layout,
.clinic-grid {
    display: grid;
    gap: 22px;
}

.feature-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-strip-card,
.promo-card,
.board-preview-card,
.board-side-card,
.clinic-card {
    padding: 28px;
}

.home-section + .home-section {
    margin-top: 32px;
}

.section-head {
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    color: var(--navy-deep);
}

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

.promo-card {
    min-height: 220px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 40%),
        var(--panel);
}

.promo-card p,
.consult-banner p,
.board-card-body p,
.board-side-card p,
.feature-description,
.clinic-card p {
    margin: 12px 0 0;
    color: var(--muted);
}

.promo-card span {
    display: inline-flex;
    margin-top: 22px;
    color: var(--navy);
    font-weight: 700;
}

.home-board-grid,
.board-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.board-preview-head,
.board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.board-preview-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.board-preview-item:first-of-type {
    margin-top: 10px;
}

.board-preview-item strong {
    display: block;
    font-size: 15px;
    line-height: 1.5;
}

.board-preview-item small,
.board-card-foot,
.clinic-slug {
    color: var(--muted);
}

.board-badge,
.board-category,
.board-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(31, 54, 89, 0.08);
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.board-badge.is-muted {
    background: rgba(185, 145, 94, 0.16);
    color: var(--rose);
}

.consult-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    background: linear-gradient(135deg, #fff 0%, #f8f0e5 100%);
}

.sub-hero-theme,
.board-hero-theme {
    padding: 64px 0 42px;
    background:
        radial-gradient(circle at 80% 25%, rgba(185, 145, 94, 0.28), transparent 22%),
        linear-gradient(135deg, #233a5d 0%, #49637f 100%);
    color: #fff;
}

.sub-hero .container,
.board-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
}

.sub-hero-badge {
    min-width: 220px;
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.sub-hero-badge span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.sub-main,
.board-main {
    display: grid;
    gap: 28px;
}

.video-container,
.feature-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
}

.video-placeholder,
.feature-image-shell {
    display: grid;
    place-items: center;
    min-height: 320px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(185, 145, 94, 0.24), transparent 30%),
        linear-gradient(135deg, #1f3659, #395578);
    color: #fff;
}

.feature-content {
    align-items: center;
}

.feature-text,
.product-details,
.process-content {
    padding: 12px 0;
}

.feature-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--navy-deep);
}

.feature-subtitle {
    margin: 0;
    font-size: 18px;
    color: var(--rose);
}

.tech-section,
.feature-section {
    padding: 0;
}

.section-light .product-info,
.section-beige .process-step {
    background: linear-gradient(180deg, #fff, #fbf7f2);
}

.product-info-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-info {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    padding: 24px;
}

.icon-circle {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d6b488);
    color: #fff;
    font-weight: 800;
    font-size: 26px;
}

.product-details h5,
.process-content h4 {
    margin: 0;
    font-size: 20px;
    color: var(--navy-deep);
}

.product-details p,
.process-content p,
.faq-answer {
    margin: 10px 0 0;
    color: var(--muted);
}

.process-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
    padding: 24px;
}

.process-number {
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.2em;
}

.faq-container {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: none;
    padding: 22px 24px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-deep);
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.clinic-card {
    background: linear-gradient(180deg, #fff, #fbf7f2);
}

.board-toolbar {
    margin-bottom: 18px;
}

.board-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(31, 54, 89, 0.06);
    color: var(--navy);
    font-weight: 700;
}

.board-tab.is-current {
    background: var(--navy);
    color: #fff;
}

.board-stack {
    display: grid;
    gap: 16px;
}

.board-card {
    padding: 24px;
}

.board-card-meta,
.board-card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.board-card-body {
    margin: 14px 0 18px;
}

.board-status {
    background: rgba(185, 145, 94, 0.2);
    color: var(--rose);
}

.board-policy {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

#footer {
    background: #182233;
    color: rgba(255, 255, 255, 0.78);
}

.footer_menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footmenu,
.fsns,
.copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.b_all_area {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.b_all_menu {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    padding: 28px 0;
}

.b_all_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.titl a {
    color: #fff;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0 36px;
}

.cp_wraps {
    display: grid;
    gap: 12px;
}

.tel {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footlogo strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.footlogo small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.56);
}

#floatMenu {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    display: grid;
    gap: 10px;
}

.float-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--navy), #395578);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.section + .section {
    margin-top: 28px;
}

.section .title {
    margin-bottom: 16px;
}

.section .content {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 54, 89, 0.08);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.bxslider_pack,
.mid_wrap,
.after-review-grid {
    display: grid;
    gap: 16px;
}

.bxslider2 {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.bxslider2 li {
    background-size: cover !important;
    background-position: center top !important;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.bxslider2 img {
    width: 100%;
    opacity: 0;
}

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

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

.mid_item img,
.bxslider_pack img,
.after-review-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.recent_box {
    float: left;
    width: calc(25% - 18px);
    margin-right: 24px;
    min-height: 320px;
}

.recent_box:last-of-type {
    margin-right: 0;
}

.recent_box .titles {
    margin-bottom: 14px;
}

.recent_box dl {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
}

.recent_box .data {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.recent_box .day {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

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

.after-review-item {
    display: grid;
    gap: 8px;
}

.after-review-item strong {
    font-size: 14px;
    line-height: 1.5;
}

.after-review-item span {
    color: var(--muted);
    font-size: 12px;
}

.radius_box .content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
}

.time_info {
    padding: 8px 0;
}

.time_table dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px 14px;
    margin: 0;
}

.time_table dt,
.time_table dd {
    margin: 0;
}

.phone_number h3 {
    margin: 0 0 14px;
    color: var(--navy-deep);
}

.time_notice {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.clear {
    clear: both;
}

@media (max-width: 1100px) {
    .feature-strip-grid,
    .promo-grid,
    .product-info-container,
    .process-container,
    .b_all_menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-hero-grid,
    .board-hero-grid,
    .home-board-grid,
    .board-layout,
    .video-container,
    .feature-content,
    .radius_box .content {
        grid-template-columns: 1fr;
    }

    .recent_box {
        width: calc(50% - 12px);
        margin-right: 24px;
        margin-bottom: 24px;
    }

    .recent_box:nth-of-type(2n) {
        margin-right: 0;
    }
}

@media (max-width: 820px) {
    .main-header-inner,
    .top-bar-inner {
        display: flex;
        gap: 24px;
    }

    .navbar {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-header-inner {
        min-height: 74px;
    }

    .mega-menu-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-menu-spacer {
        display: none;
    }

    #header.is-mobile-open .navbar {
        display: block;
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 12px);
        padding: 18px;
        border-radius: 24px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    #header.is-mobile-open .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .sub-hero .container,
    .consult-banner,
    .footer_menu,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container,
    .warps {
        width: min(100% - 24px, var(--wrap));
    }

    .top-links,
    .footmenu,
    .fsns,
    .copyright {
        gap: 10px;
    }

    .mega-menu-inner,
    .feature-strip-grid,
    .promo-grid,
    .product-info-container,
    .process-container,
    .b_all_menu,
    .bxslider_pack,
    .mid_wrap,
    .after-review-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide,
    .promo-card,
    .board-preview-card,
    .board-side-card,
    .consult-banner,
    .feature-strip-card,
    .board-card,
    .clinic-card,
    .product-info,
    .process-step {
        padding: 22px;
    }

    .hero-slide h2,
    .sub-hero h1,
    .board-hero h1 {
        font-size: 30px;
    }

    .recent_box {
        float: none;
        width: 100%;
        margin-right: 0;
        min-height: 0;
    }

    #floatMenu {
        right: 14px;
        bottom: 14px;
    }

    .float-item {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }
}
