@charset "utf-8";
/* ==========================================================================
   [리뉴얼 메인] 공통 스타일 — head2.php / tail2.php
   기존 common.css 와 충돌하지 않도록 모든 클래스에 b2- 접두어 사용
   ========================================================================== */

:root {
    --b2-navy: #121a5c;
    --b2-navy-deep: #0b1450;
    --b2-blue: #0a52d6;
    --b2-blue-bright: #2f74ff;
    --b2-blue-soft: #e9f1ff;
    --b2-orange: #f0841a;
    --b2-orange-deep: #e06e00;
    --b2-kakao: #ffe500;
    --b2-text: #222;
    --b2-gray: #666;
    --b2-line: #e3ebf7;
    --b2-header-h: 100px;
    --b2-ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }
html.b2-lock, html.b2-lock body { overflow: hidden; }

.b2-wrap {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    color: var(--b2-text);
    font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    word-break: keep-all;
    background: #fff;
}
/* 테마 공통 CSS 의 글자 단위 줄바꿈(break-all)을 덮어써서 한글은 어절 단위로만 줄바꿈 */
.b2-wrap * { word-break: keep-all; overflow-wrap: break-word; }
.b2-wrap img { max-width: 100%; vertical-align: top; }
.b2-wrap a { color: inherit; }
.b2-wrap b, .b2-wrap strong { font-weight: 700; }
.b2-wrap button { font-family: inherit; cursor: pointer; }

/* 로그인 중 안내 문구(head.sub.php)가 헤더를 가리지 않게 */
#hd_login_msg { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   상단 스크롤 진행바
   -------------------------------------------------------------------------- */
.b2-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 3px;
    pointer-events: none;
}
.b2-progress-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--b2-blue), var(--b2-blue-bright), var(--b2-orange));
    transform: scaleX(0);
    transform-origin: 0 50%;
}

/* --------------------------------------------------------------------------
   헤더
   -------------------------------------------------------------------------- */
.b2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--b2-header-h);
    background: rgba(255, 255, 255, .96);
    transition: height .4s var(--b2-ease), box-shadow .4s, background .4s;
    animation: b2HeaderIn .9s var(--b2-ease) both;
}
.b2-header.is-scrolled {
    height: 72px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 8px 30px rgba(18, 26, 92, .08);
}
.b2-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 100px;
}
.b2-header-tel,
.b2-header-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
}
.b2-header-btns { justify-content: flex-end; }

.b2-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translate(-50%, -50%);
}
.b2-logo-mark {
    width: 76px;
    height: 76px;
    transition: width .4s var(--b2-ease), height .4s var(--b2-ease);
}
.b2-header.is-scrolled .b2-logo-mark { width: 56px; height: 56px; }
.b2-logo-text { display: flex; flex-direction: column; color: var(--b2-navy); }
.b2-logo-text strong { font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.b2-logo-text em { font-size: 18px; font-style: normal; color: #3c4a7e; letter-spacing: 0; }

/* 알약 버튼 */
.b2-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 18px;
    border-radius: 17px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    transition: transform .3s var(--b2-ease), box-shadow .3s;
}
.b2-pill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
    transition: left .6s;
}
.b2-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18, 26, 92, .2); }
.b2-pill:hover::after { left: 130%; }
.b2-pill-navy { background: var(--b2-navy); color: #fff !important; }
.b2-pill-orange { background: var(--b2-orange); color: #fff !important; }
.b2-pill-blue { background: var(--b2-blue); color: #fff !important; }
.b2-pill-kakao { background: var(--b2-kakao); color: #2b2b2b !important; }
.b2-pill-icon { width: 22px; height: 22px; }
.b2-pill-svg { width: 22px; height: 22px; fill: #fff; }
.b2-pill-svg .b2-card-line { fill: var(--b2-blue); }

/* 모바일 메뉴 버튼 */
.b2-menu-btn {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
}
.b2-menu-btn span {
    position: absolute;
    left: 9px;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--b2-navy);
    transition: transform .3s, opacity .3s;
}
.b2-menu-btn span:nth-child(1) { top: 13px; }
.b2-menu-btn span:nth-child(2) { top: 19px; width: 16px; }
.b2-menu-btn span:nth-child(3) { top: 25px; }

/* 모바일 메뉴 패널 */
.b2-drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    transition: visibility 0s .5s;
}
.b2-drawer.is-open { visibility: visible; transition: none; }
.b2-drawer-dim {
    position: absolute;
    inset: 0;
    background: rgba(11, 20, 80, .55);
    opacity: 0;
    transition: opacity .4s;
}
.b2-drawer.is-open .b2-drawer-dim { opacity: 1; }
.b2-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(320px, 86vw);
    padding: 70px 24px 30px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .5s var(--b2-ease);
}
.b2-drawer.is-open .b2-drawer-panel { transform: none; }
.b2-drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
}
.b2-drawer-close::before,
.b2-drawer-close::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 9px;
    width: 22px;
    height: 2px;
    background: var(--b2-navy);
    transform: rotate(45deg);
}
.b2-drawer-close::after { transform: rotate(-45deg); }
.b2-drawer-tit { margin-bottom: 10px; font-size: 22px; font-weight: 800; color: var(--b2-navy); }
.b2-drawer-link {
    display: block;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--b2-blue-soft);
    font-size: 16px;
    font-weight: 700;
    color: var(--b2-navy) !important;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .4s, transform .5s var(--b2-ease), background .3s;
}
.b2-drawer-link.is-primary { background: var(--b2-blue); color: #fff !important; }
.b2-drawer.is-open .b2-drawer-link { opacity: 1; transform: none; }
.b2-drawer.is-open .b2-drawer-link:nth-of-type(1) { transition-delay: .1s; }
.b2-drawer.is-open .b2-drawer-link:nth-of-type(2) { transition-delay: .16s; }
.b2-drawer.is-open .b2-drawer-link:nth-of-type(3) { transition-delay: .22s; }
.b2-drawer.is-open .b2-drawer-link:nth-of-type(4) { transition-delay: .28s; }
.b2-drawer-tel { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.b2-drawer-tel a { font-size: 20px; font-weight: 800; color: var(--b2-navy) !important; }

/* --------------------------------------------------------------------------
   공용 버튼
   -------------------------------------------------------------------------- */
.b2-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 28px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
    color: #fff !important;
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s var(--b2-ease), box-shadow .35s;
}
.b2-btn:hover { transform: translateY(-3px); }
.b2-btn-sm { height: 42px; padding: 0 22px; font-size: 18px; }
.b2-btn-blue { background: var(--b2-blue); box-shadow: 0 10px 30px rgba(10, 82, 214, .35); }
.b2-btn-blue:hover { box-shadow: 0 16px 36px rgba(10, 82, 214, .5); }
.b2-btn-orange { background: var(--b2-orange); box-shadow: 0 10px 26px rgba(240, 132, 26, .35); }
.b2-btn-orange:hover { box-shadow: 0 16px 34px rgba(240, 132, 26, .5); }

/* 버튼 빛 반사 (주기적으로 지나감) */
.b2-btn-shine::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    z-index: -1;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: b2Shine 3.6s ease-in-out infinite;
}

/* 버튼 화살표 아이콘 */
.b2-btn-arrow {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: transform .35s var(--b2-ease);
}
.b2-btn-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    margin: -4px 0 0 -5px;
    border-top: 2px solid var(--b2-navy);
    border-right: 2px solid var(--b2-navy);
    transform: rotate(45deg);
}
.b2-btn:hover .b2-btn-arrow { transform: translateX(5px); }

/* 퍼지는 링 효과 */
.b2-btn-ring { animation: b2Ring 2.2s ease-out infinite; }

/* --------------------------------------------------------------------------
   섹션 공통
   -------------------------------------------------------------------------- */
.b2-sec { position: relative; padding: 130px 0; }
.b2-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.b2-inner-wide { max-width: 1760px; }
.b2-sec-head { text-align: center; margin-bottom: 60px; }
.b2-sec-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--b2-blue);
    letter-spacing: 0;
}
.b2-sec-tit {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--b2-navy);
    letter-spacing: -0.04em;
    isolation: isolate;
    text-wrap: balance; /* 마지막 줄에 한 어절만 남지 않게 */
}
.b2-sec-tit b { color: var(--b2-blue); }
.b2-sec-tit .b2-en { font-weight: 900; letter-spacing: 0; }
.b2-sec-desc { margin-top: 14px; font-size: 20px; color: #444; }
.b2-sec-head-white .b2-sec-tit,
.b2-sec-head-white .b2-sec-desc { color: #fff; }

/* --------------------------------------------------------------------------
   스크롤 등장 효과 (JS 가 is-in 부여)
   -------------------------------------------------------------------------- */
.b2-ready [data-b2-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .9s var(--b2-ease), transform 1s var(--b2-ease);
    transition-delay: var(--b2-delay, 0s);
}
.b2-ready [data-b2-reveal].is-in { opacity: 1; transform: none; }

/* 섹션 제목: 글자 아래에서 위로 + 밑줄 그어지기 */
.b2-sec-head .b2-sec-tit b {
    position: relative;
    display: inline-block;
}
.b2-sec-head .b2-sec-tit b::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    z-index: -1;
    height: 14px;
    background: rgba(47, 116, 255, .18);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1s var(--b2-ease) .5s;
}
.b2-sec-head.is-in .b2-sec-tit b::after { transform: scaleX(1); }
.b2-sec-head-white .b2-sec-tit b::after { background: rgba(255, 255, 255, .2); }

/* --------------------------------------------------------------------------
   푸터
   -------------------------------------------------------------------------- */
.b2-footer {
    position: relative;
    padding: 110px 20px 130px;
    overflow: hidden;
    background: linear-gradient(160deg, #0e1a66 0%, #0b1450 55%, #0a1a78 100%);
    color: #fff;
    text-align: center;
}
.b2-footer-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    pointer-events: none;
}
.b2-footer-blob-1 {
    top: -20%;
    right: -5%;
    width: 60vw;
    height: 60vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, #1f4fff 0%, transparent 65%);
    animation: b2Blob1 16s ease-in-out infinite alternate;
}
.b2-footer-blob-2 {
    bottom: -40%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 760px;
    max-height: 760px;
    background: radial-gradient(circle, #2a3cff 0%, transparent 65%);
    animation: b2Blob2 18s ease-in-out infinite alternate;
}
.b2-footer-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 60%;
    pointer-events: none;
}
.b2-footer-wave .b2-wave-1 { fill: rgba(47, 116, 255, .14); animation: b2Wave 14s linear infinite; }
.b2-footer-wave .b2-wave-2 { fill: rgba(47, 116, 255, .1); animation: b2Wave 20s linear infinite reverse; }
.b2-footer-inner { position: relative; z-index: 2; }
.b2-footer-mark {
    width: 230px;
    height: 230px;
    filter: brightness(0) invert(1);
    animation: b2Float 5s ease-in-out infinite;
}
.b2-footer-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 60px;
    font-size: 16px;
    color: rgba(255, 255, 255, .85);
}
.b2-footer-info a { transition: color .3s; }
.b2-footer-info a:hover { color: var(--b2-kakao); }

/* --------------------------------------------------------------------------
   플로팅 바로가기
   -------------------------------------------------------------------------- */
.b2-quick {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity .4s, transform .5s var(--b2-ease);
}
.b2-quick.is-show { opacity: 1; transform: none; pointer-events: auto; }
.b2-quick-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(11, 20, 80, .25);
    transition: transform .3s var(--b2-ease);
}
.b2-quick-btn:hover { transform: scale(1.1); }
.b2-quick-kakao { background: var(--b2-kakao); }
.b2-quick-kakao img { width: 30px; height: 30px; }
.b2-quick-tel { background: var(--b2-blue); animation: b2Ring2 2.4s ease-out infinite; }
.b2-quick-tel svg { width: 24px; height: 24px; fill: #fff; animation: b2Shake 2.4s ease-in-out infinite; }
.b2-quick-top { background: #fff; }
.b2-top-ring {
    position: absolute;
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    transform: rotate(-90deg);
}
.b2-top-ring circle {
    fill: none;
    stroke: var(--b2-blue);
    stroke-width: 3;
    stroke-linecap: round;
}
.b2-top-arrow { width: 22px; height: 22px; fill: var(--b2-navy); }

/* --------------------------------------------------------------------------
   공용 모달 (바로파트너스 가입 신청창, 서브 안내창)
   -------------------------------------------------------------------------- */
.b2-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    transition: visibility 0s .35s;
}
.b2-modal.is-open { visibility: visible; transition: none; }
.b2-modal-dim {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 48, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .35s;
}
.b2-modal.is-open .b2-modal-dim { opacity: 1; }
.b2-modal-box {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 820px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 32px 70px rgba(14, 28, 78, .35);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .35s, transform .45s var(--b2-ease);
}
.b2-modal.is-open .b2-modal-box { opacity: 1; transform: none; }
.b2-modal-box.is-wide { max-width: 1060px; }
.b2-modal-head {
    position: relative;
    flex: 0 0 auto;
    padding: 28px 64px 24px;
    background: var(--b2-navy);
    color: #fff;
    text-align: center;
}
.b2-modal-eng { display: block; font-size: 13px; font-weight: 800; letter-spacing: 3px; color: #70a1ff; }
.b2-modal-tit { margin-top: 6px; font-size: 28px; font-weight: 800; line-height: 1.25; letter-spacing: -0.03em; text-wrap: balance; }
.b2-modal-desc { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.b2-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
}
.b2-modal-close::before,
.b2-modal-close::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 9px;
    width: 22px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
}
.b2-modal-close::after { transform: rotate(-45deg); }
.b2-modal-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.b2-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
}
.b2-modal-note { font-size: 14px; font-weight: 600; color: #475569; }

/* 바로파트너스 가입 신청 폼 */
.b2-pa-form { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 30px 36px 32px; }
.b2-pa-trap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b2-pa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.b2-pa-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.b2-pa-field.is-full { grid-column: 1 / -1; }
.b2-pa-label { font-size: 15px; font-weight: 800; color: #1e293b; }
.b2-pa-req { color: var(--b2-orange); }
.b2-pa-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 0;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color .2s;
}
.b2-pa-input:focus { border-color: var(--b2-blue); }
.b2-pa-input.is-error { border-color: #e5484d; }
.b2-pa-radio-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.b2-pa-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border: 1.5px solid #cbd5e1;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}
.b2-pa-radio input { width: 16px; height: 16px; accent-color: var(--b2-blue); }
.b2-pa-radio:has(input:checked) { border-color: var(--b2-blue); background: #f6faff; color: var(--b2-blue); }
.b2-pa-radio:has(input:focus-visible) { outline: 2px solid var(--b2-blue); outline-offset: 2px; }
.b2-pa-msg { min-height: 0; margin-top: 16px; font-size: 14px; font-weight: 600; color: #e5484d; }
.b2-pa-msg:empty { display: none; }
.b2-pa-msg.is-ok { color: var(--b2-blue); }
.b2-pa-submit { flex: 0 0 auto; height: 50px; font-size: 17px; }
.b2-pa-submit[disabled] { opacity: .6; cursor: wait; }

@media (max-width: 768px) {
    .b2-modal { padding: 12px; }
    .b2-modal-box { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .b2-modal-head { padding: 22px 52px 18px; }
    .b2-modal-tit { font-size: 22px; }
    .b2-modal-desc { font-size: 13.5px; }
    .b2-pa-form { padding: 22px 18px 24px; }
    .b2-pa-grid { grid-template-columns: 1fr; gap: 14px; }
    .b2-modal-foot { flex-direction: column; align-items: stretch; }
    .b2-modal-note { font-size: 13px; }
    .b2-pa-submit { width: 100%; }
}

/* --------------------------------------------------------------------------
   키프레임
   -------------------------------------------------------------------------- */
@keyframes b2HeaderIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes b2Shine { 0%, 55% { left: -80%; } 85%, 100% { left: 140%; } }
@keyframes b2Ring {
    0% { box-shadow: 0 10px 26px rgba(240, 132, 26, .35), 0 0 0 0 rgba(255, 170, 70, .7); }
    70% { box-shadow: 0 10px 26px rgba(240, 132, 26, .35), 0 0 0 22px rgba(255, 170, 70, 0); }
    100% { box-shadow: 0 10px 26px rgba(240, 132, 26, .35), 0 0 0 0 rgba(255, 170, 70, 0); }
}
@keyframes b2Ring2 {
    0% { box-shadow: 0 10px 24px rgba(11, 20, 80, .25), 0 0 0 0 rgba(10, 82, 214, .55); }
    70% { box-shadow: 0 10px 24px rgba(11, 20, 80, .25), 0 0 0 16px rgba(10, 82, 214, 0); }
    100% { box-shadow: 0 10px 24px rgba(11, 20, 80, .25), 0 0 0 0 rgba(10, 82, 214, 0); }
}
@keyframes b2Shake {
    0%, 60%, 100% { transform: rotate(0); }
    65%, 75%, 85% { transform: rotate(-14deg); }
    70%, 80%, 90% { transform: rotate(14deg); }
}
@keyframes b2Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes b2Blob1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-12vw, 8vw) scale(1.2); } }
@keyframes b2Blob2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(14vw, -6vw) scale(1.15); } }
@keyframes b2Wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   반응형
   -------------------------------------------------------------------------- */
@media (max-width: 1600px) {
    .b2-header-inner { padding: 0 40px; }
    .b2-pill { font-size: 15px; padding: 0 14px; }
    .b2-logo-text strong { font-size: 28px; }
    .b2-logo-text em { font-size: 15px; }
    .b2-logo-mark { width: 64px; height: 64px; }
}

@media (max-width: 1280px) {
    :root { --b2-header-h: 80px; }
    .b2-header-tel { display: none; }
    .b2-logo { position: static; transform: none; }
    .b2-header-btns { flex: 0 0 auto; }
    .b2-sec { padding: 100px 0; }
    .b2-sec-tit { font-size: 44px; }
    .b2-sec-desc { font-size: 18px; }
}

@media (max-width: 1024px) {
    :root { --b2-header-h: 68px; }
    .b2-header.is-scrolled { height: 60px; }
    .b2-header-inner { padding: 0 20px; }
    .b2-header-btns { display: none; }
    .b2-menu-btn { display: block; }
    .b2-logo { gap: 10px; }
    .b2-logo-mark,
    .b2-header.is-scrolled .b2-logo-mark { width: 46px; height: 46px; }
    .b2-logo-text strong { font-size: 22px; }
    .b2-logo-text em { font-size: 12px; }
    .b2-sec-tit { font-size: 36px; }
}

@media (max-width: 768px) {
    .b2-sec { padding: 80px 0; }
    .b2-sec-head { margin-bottom: 40px; }
    .b2-sec-tit { font-size: 28px; }
    .b2-sec-desc { font-size: 15px; }
    .b2-sec-eyebrow { font-size: 14px; }
    .b2-btn { height: 50px; font-size: 17px; padding: 0 22px; }
    .b2-btn-sm { height: 42px; font-size: 15px; }
    .b2-footer { padding: 80px 20px 100px; }
    .b2-footer-mark { width: 150px; height: 150px; }
    .b2-footer-info { flex-direction: column; margin-top: 36px; font-size: 14px; }
    .b2-quick { right: 12px; bottom: 12px; gap: 8px; }
    .b2-quick-btn { width: 44px; height: 44px; }
    .b2-quick-kakao img { width: 26px; height: 26px; }
    .b2-quick-tel svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
    .b2-sec-tit { font-size: 24px; }
    .b2-sec-desc { font-size: 14px; }
    .b2-logo-text strong { font-size: 19px; }
    .b2-logo-text em { font-size: 11px; }
    .b2-btn { height: 48px; font-size: 16px; padding: 0 18px; }
}

@media (max-width: 360px) {
    .b2-header-inner { padding: 0 14px; }
    .b2-logo-mark,
    .b2-header.is-scrolled .b2-logo-mark { width: 40px; height: 40px; }
    .b2-logo-text strong { font-size: 17px; }
    .b2-sec-tit { font-size: 22px; }
    .b2-btn { font-size: 15px; padding: 0 14px; }
}

/* 움직임 줄이기 설정 사용자 (Windows 접근성 > 애니메이션 효과 끔 등)
   애니메이션을 끄기만 하면 "처음 상태(투명)"에 멈춰 글자가 안 보이므로, 끝난 상태를 직접 지정 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .b2-wrap *,
    .b2-wrap *::before,
    .b2-wrap *::after,
    .b2-header,
    .b2-progress-bar,
    .b2-quick,
    .b2-quick * {
        animation: none !important;
        transition-duration: .01s !important;
        transition-delay: 0s !important;
    }
    .b2-ready [data-b2-reveal] { opacity: 1; transform: none; }
    .b2-sec-head .b2-sec-tit b::after { transform: scaleX(1); }
    .b2-pill::after,
    .b2-btn-shine::before { display: none; }
}
