@font-face {
    font-family: "Pretendard";
    src: url("../fonts/PretendardVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --ib-primary: #8b641e;
    --ib-primary-dark: #674815;
    --ib-gold: #d8b15d;
    --ib-ink: #202229;
    --ib-text: #555b66;
    --ib-muted: #7b818d;
    --ib-line: #e2e4e9;
    --ib-soft: #f6f7f9;
    --ib-footer: #17191e;
    --ib-shadow: 0 12px 32px rgba(21, 25, 34, .10);
    --ib-radius: 6px;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ib-ink);
    background: #fff;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
body.ib-no-scroll { overflow: hidden; }
#hd_login_msg { display: none !important; }
.sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.ib-site, .ib-site * { box-sizing: border-box; }
.ib-site { min-width: 320px; overflow: hidden; }
.ib-site a { color: inherit; text-decoration: none; }
.ib-site button, .ib-site input { font: inherit; }
.ib-site button { color: inherit; }
.ib-site img { display: block; max-width: 100%; }
.ib-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.ib-skip { position: fixed; z-index: 10000; top: -60px; left: 20px; padding: 10px 18px; background: #111; color: #fff !important; }
.ib-skip:focus { top: 12px; }

/* Header */
.ib-header { position: relative; z-index: 1000; background: #fff; border-bottom: 1px solid var(--ib-line); }
.ib-header-top { height: 34px; color: #747a85; background: #f7f8fa; border-bottom: 1px solid #eceef1; font-size: 13px; }
.ib-header-top-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.ib-header-top p { margin: 0; }
.ib-header-top ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ib-header-top a:hover { color: var(--ib-primary); }
.ib-header-main { height: 80px; background: #fff; }
.ib-header-main-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ib-logo { display: block; flex: 0 0 auto; width: 138px; }
.ib-header-actions { display: flex; align-items: stretch; height: 100%; margin-left: auto; }
.ib-premium { align-self: center; margin-right: 14px; padding: 9px 15px; color: #3d2d0d !important; background: linear-gradient(135deg, #edd391, #c99b3f); border: 1px solid #c09032; border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.ib-gnb, .ib-gnb > ul { height: 100%; }
.ib-gnb > ul { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.ib-gnb li { height: 100%; }
.ib-gnb a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 15px; color: #262a31; font-size: 15px; font-weight: 700; white-space: nowrap; }
.ib-gnb a::after { content: ""; position: absolute; right: 15px; bottom: 0; left: 15px; height: 3px; background: var(--ib-primary); transform: scaleX(0); transition: transform .25s ease; }
.ib-gnb a:hover { color: var(--ib-primary); }
.ib-gnb a:hover::after { transform: scaleX(1); }
.ib-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 54px; height: 100%; padding: 0 14px; border: 0; background: transparent; cursor: pointer; }
.ib-menu-toggle span { display: block; width: 25px; height: 2px; background: #252830; transition: transform .25s, opacity .2s; }
.ib-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ib-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.ib-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ib-sitemap { visibility: hidden; position: absolute; z-index: 1002; top: 114px; right: 0; left: 0; padding: 0 0 36px; background: #fff; opacity: 0; transform: translateY(-18px); transition: opacity .25s, transform .25s, visibility .25s; }
.ib-sitemap.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
.ib-sitemap-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 16px; border-bottom: 1px solid var(--ib-line); }
.ib-sitemap-head strong { font-size: 22px; }
.ib-sitemap-close { width: 42px; height: 42px; padding: 0; border: 0; background: transparent; font-size: 36px; font-weight: 200; line-height: 1; cursor: pointer; }
.ib-sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.ib-sitemap-group { display: grid; grid-template-columns: 145px 1fr; gap: 20px; align-items: baseline; padding: 19px 0; border-bottom: 1px solid #eceef1; }
.ib-sitemap-group > a { position: relative; padding-left: 13px; font-weight: 750; }
.ib-sitemap-group > a::before { content: ""; position: absolute; top: .72em; left: 0; width: 5px; height: 5px; background: var(--ib-gold); border-radius: 50%; }
.ib-sitemap-group ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.ib-sitemap-group li a { color: var(--ib-muted); font-size: 14px; }
.ib-sitemap-group a:hover { color: var(--ib-primary); }
.ib-sitemap-dim { visibility: hidden; position: fixed; z-index: 1001; inset: 114px 0 0; background: rgba(8, 10, 15, .48); opacity: 0; transition: opacity .25s, visibility .25s; }
.ib-sitemap-dim.is-open { visibility: visible; opacity: 1; }

/* Common */
.ib-main { min-height: 500px; }
.ib-main-index { width: 100%; }
.ib-page-container { width: min(1200px, calc(100% - 48px)); min-height: 560px; margin: 0 auto; padding: 64px 0 100px; }
.ib-page-title { margin: 0 0 36px; padding-bottom: 18px; border-bottom: 2px solid var(--ib-ink); font-size: 32px; line-height: 1.3; }
.ib-section { padding: 96px 0; background: #fff; }
.ib-section h2, .ib-section h3, .ib-section h4, .ib-section p { margin-top: 0; }
.ib-section-head { margin-bottom: 36px; }
.ib-section-head h2, .ib-slider-head h2, .ib-guide-head h2 { margin: 0; font-size: 31px; line-height: 1.25; letter-spacing: -.035em; }
.ib-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 4px; font-size: 15px; font-weight: 750; transition: transform .18s, background .18s, border-color .18s; }
.ib-btn:hover { transform: translateY(-2px); }
.ib-btn-primary { color: #fff !important; background: var(--ib-primary); border-color: var(--ib-primary); }
.ib-btn-primary:hover { background: var(--ib-primary-dark); border-color: var(--ib-primary-dark); }
.ib-btn-outline-light { color: #fff !important; background: rgba(0, 0, 0, .12); border-color: rgba(255, 255, 255, .8); }
.ib-btn-gold { color: #33260d !important; background: var(--ib-gold); border-color: var(--ib-gold); }
.ib-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.ib-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Hero */
.ib-hero { position: relative; height: 600px; color: #fff; background: #26282c; overflow: hidden; }
.ib-hero-slide { visibility: hidden; position: absolute; inset: 0; display: flex; align-items: center; background-position: center; background-size: cover; opacity: 0; transition: opacity .65s ease, visibility .65s; }
.ib-hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 10, 13, .58), rgba(9, 10, 13, .12)); pointer-events: none; }
.ib-hero-slide.is-active { visibility: visible; opacity: 1; }
.ib-hero-copy { position: relative; z-index: 1; text-align: center; }
.ib-hero-copy h2 { margin: 0; font-size: clamp(32px, 3vw, 46px); font-weight: 750; line-height: 1.45; letter-spacing: -.045em; }
.ib-hero-copy h2 span { display: block; }
.ib-hero-copy p { margin: 22px 0 30px; color: rgba(255,255,255,.86); font-size: 18px; }
.ib-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Consult */
.ib-consult-wrap { position: relative; z-index: 5; height: 0; }
.ib-consult-bar { position: relative; top: -52px; display: flex; align-items: center; width: 100%; height: 104px; padding: 26px 30px; border: 1px solid var(--ib-line); border-radius: var(--ib-radius); background: #fff; box-shadow: var(--ib-shadow); cursor: pointer; }
.ib-consult-bar span { flex: 1; padding: 13px 20px; color: #8a909b; background: var(--ib-soft); border-radius: 30px; text-align: left; }
.ib-consult-bar strong { min-width: 160px; margin-left: 12px; padding: 13px 22px; color: #fff; background: var(--ib-primary); border-radius: 4px; }
.ib-modal { visibility: hidden; position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 12, 17, .62); opacity: 0; transition: opacity .2s, visibility .2s; }
.ib-modal.is-open { visibility: visible; opacity: 1; }
.ib-modal-dialog { width: min(520px, 100%); padding: 26px; background: #fff; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.25); transform: translateY(10px); transition: transform .2s; }
.ib-modal.is-open .ib-modal-dialog { transform: translateY(0); }
.ib-modal-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--ib-line); }
.ib-modal-head h2 { margin: 0; font-size: 24px; }
.ib-modal-head button { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; font-size: 32px; cursor: pointer; }
.ib-modal-lead { margin: 18px 0 14px; color: var(--ib-muted); }
.ib-consult-list { display: grid; gap: 8px; }
.ib-consult-list > a { display: grid; grid-template-columns: 32px 1fr 20px; gap: 12px; align-items: center; padding: 13px 15px; border: 1px solid var(--ib-line); border-radius: 5px; }
.ib-consult-list > a:hover, .ib-consult-list > a.is-accent { border-color: #d9c28e; background: #fdfbf5; }
.ib-consult-list i { color: var(--ib-primary); font-size: 21px; text-align: center; }
.ib-consult-list span { display: grid; }
.ib-consult-list strong { font-size: 15px; }
.ib-consult-list em { color: var(--ib-muted); font-size: 13px; font-style: normal; }
.ib-consult-list b { color: #9ba0a9; font-size: 24px; font-weight: 300; }

/* Sliders and cards */
.ib-partners { padding-top: 124px; }
.ib-slider-group + .ib-slider-group { margin-top: 72px; }
.ib-slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.ib-slider-head > div:first-child { flex: 1; }
.ib-slider-head h3 { display: inline; margin: 0 16px 0 0; font-size: 23px; }
.ib-slider-head p { display: inline; color: var(--ib-muted); font-size: 14px; }
.ib-slider-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.ib-slider-actions > a { margin-right: 4px; color: #515660; font-size: 14px; font-weight: 650; }
.ib-slider-actions button { width: 38px; height: 38px; padding: 0; border: 1px solid var(--ib-line); border-radius: 4px; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.ib-slider-actions button:hover { color: var(--ib-primary); border-color: var(--ib-primary); }
.ib-card-track { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; }
.ib-card-track::-webkit-scrollbar { display: none; }
.ib-company-card, .ib-product-card { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; overflow: hidden; border: 1px solid var(--ib-line); border-radius: var(--ib-radius); background: #fff; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.ib-company-card:hover, .ib-product-card:hover { transform: translateY(-4px); box-shadow: var(--ib-shadow); }
.ib-company-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.ib-company-thumb img, .ib-product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ib-company-card:hover img, .ib-product-card:hover img { transform: scale(1.035); }
.ib-company-body { padding: 18px; }
.ib-badge { display: inline-block; margin-bottom: 10px; padding: 3px 8px; color: #6f4e12; background: #f3e6c7; border-radius: 2px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.ib-company-body h4 { margin: 0 0 3px; font-size: 19px; }
.ib-company-body > strong { color: var(--ib-text); font-size: 13px; font-weight: 600; }
.ib-company-body p { min-height: 47px; margin: 12px 0; color: var(--ib-muted); font-size: 13px; line-height: 1.65; }
.ib-company-body a, .ib-product-body a { color: var(--ib-primary); font-size: 13px; font-weight: 700; }
.ib-products { padding-top: 0; }
.ib-chip-row { display: flex; gap: 8px; margin: 0 0 24px; }
.ib-chip-row button { padding: 8px 18px; color: #6e737d; border: 1px solid var(--ib-line); border-radius: 22px; background: #fff; cursor: pointer; }
.ib-chip-row button.is-active { color: #fff; border-color: var(--ib-primary-dark); background: var(--ib-primary-dark); }
.ib-product-thumb { aspect-ratio: 1 / 1; overflow: hidden; background: #eee; }
.ib-product-body { padding: 18px; }
.ib-product-body > span { color: var(--ib-muted); font-size: 13px; }
.ib-product-body h3 { margin: 4px 0 10px; font-size: 18px; }
.ib-product-body > strong { display: block; margin-bottom: 13px; font-size: 18px; }

/* Trust */
.ib-trust { padding: 34px 0; background: var(--ib-soft); }
.ib-trust-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.ib-trust-item { display: flex; gap: 12px; align-items: flex-start; }
.ib-trust-item i { flex: 0 0 auto; width: 30px; color: var(--ib-primary); font-size: 25px; text-align: center; }
.ib-trust-item span { display: grid; }
.ib-trust-item strong { font-size: 14px; line-height: 1.35; }
.ib-trust-item em { margin-top: 4px; color: var(--ib-muted); font-size: 12px; font-style: normal; line-height: 1.45; }

/* Guide */
.ib-guide-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.ib-guide-head p { margin: 10px 0 0; color: var(--ib-muted); }
.ib-guide-head > a { flex: 0 0 auto; font-size: 14px; font-weight: 650; }
.ib-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ib-guide-card { position: relative; overflow: hidden; min-height: 220px; padding: 0 0 20px; border: 1px solid var(--ib-line); border-radius: var(--ib-radius); background: #fff; }
.ib-guide-card > img { width: 100%; height: 120px; object-fit: cover; background: #e8e0d2; }
.ib-guide-card > span { display: grid; padding: 18px 18px 0; }
.ib-guide-card strong { font-size: 18px; }
.ib-guide-card em { margin-top: 3px; color: var(--ib-muted); font-size: 13px; font-style: normal; }
.ib-guide-card > b { position: absolute; right: 17px; bottom: 15px; color: var(--ib-primary); }

/* CTA */
.ib-final-cta { display: flex; align-items: center; min-height: 475px; padding: 80px 0; color: #fff; background-position: center; background-size: cover; text-align: center; }
.ib-final-cta h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.3; letter-spacing: -.04em; }
.ib-final-cta > div > strong { display: block; margin-top: 12px; color: #e5c473; font-size: 21px; }
.ib-final-cta p { margin: 18px 0 25px; color: rgba(255,255,255,.72); font-size: 17px; }
.ib-final-cta > div > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Footer */
.ib-footer { color: #b9bdc6; background: var(--ib-footer); }
.ib-footer-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-top: 50px; padding-bottom: 48px; }
.ib-footer-nav h3 { margin: 0 0 13px; color: #fff; font-size: 15px; }
.ib-footer-nav a { display: block; width: fit-content; margin: 6px 0; color: #a5aab4; font-size: 13px; }
.ib-footer-nav a:hover { color: #fff; }
.ib-footer-info { border-top: 1px solid rgba(255,255,255,.11); }
.ib-footer-info-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 40px; }
.ib-footer-info img { width: 128px; margin-bottom: 18px; }
.ib-footer-info p { display: flex; flex-wrap: wrap; gap: 3px 18px; margin: 4px 0; color: #8f949e; font-size: 12px; }
.ib-footer-info small { display: block; margin-top: 12px; color: #737882; }
.ib-top-button { width: 44px; height: 44px; padding: 0; color: #fff; border: 1px solid rgba(255,255,255,.24); background: transparent; cursor: pointer; }
.ib-top-button:hover { border-color: var(--ib-gold); color: var(--ib-gold); }

@media (max-width: 1120px) {
    .ib-gnb a { padding: 0 10px; font-size: 14px; }
    .ib-premium { margin-right: 5px; padding-right: 11px; padding-left: 11px; }
    .ib-trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
    .ib-gnb { display: none; }
    .ib-sitemap-grid { grid-template-columns: 1fr; }
    .ib-sitemap { position: fixed; top: 0; left: auto; width: min(440px, 92vw); height: 100dvh; padding-bottom: 30px; overflow-y: auto; transform: translateX(100%); }
    .ib-sitemap.is-open { transform: translateX(0); }
    .ib-sitemap-dim { inset: 0; }
    .ib-sitemap-group { grid-template-columns: 130px 1fr; }
    .ib-company-card, .ib-product-card { flex-basis: calc((100% - 20px) / 2); }
    .ib-guide-grid { grid-template-columns: repeat(2, 1fr); }
    .ib-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .ib-container, .ib-page-container { width: calc(100% - 32px); }
    .ib-header-top p { display: none; }
    .ib-header-top-inner { justify-content: flex-end; }
    .ib-header-main { height: 68px; }
    .ib-logo { width: 110px; }
    .ib-premium { font-size: 10px; }
    .ib-menu-toggle { width: 48px; padding: 0 10px; }
    .ib-sitemap-head { padding-top: 17px; }
    .ib-sitemap-group { grid-template-columns: 1fr; gap: 7px; }
    .ib-sitemap-group ul { padding-left: 13px; }
    .ib-hero { height: 520px; }
    .ib-hero-slide { background-position: 58% center; }
    .ib-hero-copy h2 { font-size: 29px; line-height: 1.35; }
    .ib-hero-copy h2 span + span { margin-top: 8px; }
    .ib-hero-copy p { margin: 18px 0 26px; font-size: 15px; }
    .ib-hero-actions { display: grid; grid-template-columns: 1fr; width: min(290px, 100%); margin: 0 auto; }
    .ib-consult-bar { top: -40px; height: 80px; padding: 16px; }
    .ib-consult-bar span { min-width: 0; padding: 11px 14px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
    .ib-consult-bar strong { min-width: auto; margin-left: 8px; padding: 11px 15px; font-size: 14px; }
    .ib-section { padding: 72px 0; }
    .ib-partners { padding-top: 102px; }
    .ib-section-head h2, .ib-slider-head h2, .ib-guide-head h2 { font-size: 27px; }
    .ib-slider-group + .ib-slider-group { margin-top: 56px; }
    .ib-slider-head { align-items: flex-start; }
    .ib-slider-head h3 { display: block; margin-bottom: 7px; font-size: 21px; }
    .ib-slider-head p { display: block; font-size: 13px; line-height: 1.55; }
    .ib-slider-actions > a { display: none; }
    .ib-company-card, .ib-product-card { flex-basis: 84%; }
    .ib-chip-row { overflow-x: auto; }
    .ib-chip-row button { flex: 0 0 auto; }
    .ib-trust-grid { grid-template-columns: 1fr; }
    .ib-trust-item { align-items: center; }
    .ib-guide-head { align-items: flex-start; flex-direction: column; }
    .ib-guide-grid { grid-template-columns: 1fr; }
    .ib-guide-card { min-height: 192px; }
    .ib-guide-card > img { height: 105px; }
    .ib-final-cta { min-height: 520px; }
    .ib-final-cta > div > strong { font-size: 18px; }
    .ib-final-cta p { font-size: 15px; }
    .ib-final-cta p br { display: none; }
    .ib-final-cta > div > div { display: grid; width: min(290px, 100%); margin: 0 auto; }
    .ib-footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding-top: 40px; padding-bottom: 38px; }
    .ib-footer-info-inner { align-items: flex-start; }
    .ib-footer-info p { display: grid; gap: 2px; }
    .ib-page-container { padding-top: 45px; padding-bottom: 70px; }
    .ib-page-title { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .ib-reveal { opacity: 1; transform: none; }
}
