@charset "utf-8";
/* ==========================================================================
   [리뉴얼 메인] 메인 섹션 스타일 — theme/grape5.5/mobile/index2.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 메인 비주얼
   -------------------------------------------------------------------------- */
.b2-hero {
    position: relative;
    height: clamp(720px, 100vh, 960px);
    padding-top: var(--b2-header-h);
    overflow: hidden;
    background: #f3f1ee;
}
.b2-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    translate: 0 var(--b2-hero-y, 0);
    animation: b2KenBurns 14s ease-out both;
    will-change: transform;
}
.b2-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 48% 42% at 50% 46%, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .35) 60%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
}
.b2-hero-light {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: transform .8s var(--b2-ease);
}
.b2-hero-light span {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    mix-blend-mode: screen;
    animation: b2Orb 9s ease-in-out infinite alternate;
}
.b2-hero-light span:nth-child(1) { top: 18%; left: 12%; width: 380px; height: 380px; background: rgba(120, 170, 255, .45); }
.b2-hero-light span:nth-child(2) { top: 45%; right: 10%; width: 460px; height: 460px; background: rgba(255, 220, 170, .5); animation-duration: 12s; }
.b2-hero-light span:nth-child(3) { bottom: 5%; left: 40%; width: 300px; height: 300px; background: rgba(255, 255, 255, .7); animation-duration: 7s; }

.b2-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 60px);
    padding: 0 20px;
    text-align: center;
}
.b2-hero-content > * { max-width: 100%; }
.b2-hero-tit,
.b2-hero-desc { text-wrap: balance; }
.b2-hero-ani {
    opacity: 0;
    animation: b2HeroUp 1.1s var(--b2-ease) both;
    animation-delay: var(--b2-delay, 0s);
}
.b2-hero-sub {
    font-size: 30px;
    font-weight: 600;
    color: #333;
}
.b2-hero-sub b { color: var(--b2-blue); }
.b2-hero-point {
    min-height: 1.4em;
    margin-top: 26px;
    font-size: 46px;
    font-weight: 800;
    color: var(--b2-navy);
}
.b2-typing::after {
    content: "";
    display: inline-block;
    width: 3px;
    height: .95em;
    margin-left: 6px;
    vertical-align: -0.08em;
    background: var(--b2-blue);
    animation: b2Caret 1s steps(1) infinite;
}
.b2-hero-tit {
    margin-top: 6px;
    font-size: 116px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--b2-navy);
    letter-spacing: -0.02em;
    word-spacing: .12em;
}
.b2-hero-shine {
    background: linear-gradient(100deg, var(--b2-blue) 0%, var(--b2-blue) 40%, #7fb0ff 50%, var(--b2-blue) 60%, var(--b2-blue) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: b2TextShine 4s linear infinite 1.8s;
}
.b2-hero-desc {
    margin: 28px 0 44px;
    font-size: 21px;
    line-height: 1.6;
    color: #333;
}

/* 스크롤 안내 */
.b2-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 84px;
    z-index: 2;
    width: 28px;
    height: 44px;
    margin-left: -14px;
    border: 2px solid rgba(18, 26, 92, .5);
    border-radius: 14px;
}
.b2-hero-scroll span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--b2-navy);
    animation: b2Wheel 1.8s ease-in-out infinite;
}

/* 하단 띠 */
.b2-hero-band {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    height: 60px;
    animation: b2BandIn 1s var(--b2-ease) 1.4s both;
}
.b2-band-left {
    display: flex;
    align-items: center;
    width: 50%;
    overflow: hidden;
    background: var(--b2-blue);
    color: #fff;
}
.b2-marquee { width: 100%; overflow: hidden; }
.b2-marquee-track {
    display: flex;
    width: max-content;
    animation: b2Marquee 22s linear infinite;
}
.b2-marquee-track span {
    padding: 0 120px 0 100px;
    font-size: 26px;
    font-weight: 700;
    white-space: nowrap;
}
.b2-band-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 50%;
    padding: 0 100px 0 60px;
    background: var(--b2-navy);
    color: #fff;
}
.b2-band-tel { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; white-space: nowrap; }
.b2-band-tel-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
    font-weight: 400;
    color: #5fd7ff;
}
.b2-band-tel-label svg { width: 30px; height: 30px; fill: #5fd7ff; }

/* --------------------------------------------------------------------------
   2. 현장 통계
   -------------------------------------------------------------------------- */
.b2-stats { padding: 110px 0 150px; }
.b2-stats .b2-sec-tit { font-size: 58px; }
.b2-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    max-width: 1145px;
    margin: 0 auto;
    padding: 4px;
    background: #edf3fc;
}
.b2-stat-card {
    position: relative;
    padding: 26px 28px 30px;
    overflow: hidden;
    background: #fff;
    transition: transform .45s var(--b2-ease), box-shadow .45s;
}
.b2-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--b2-blue), var(--b2-blue-bright));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .6s var(--b2-ease);
}
.b2-stat-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 116, 255, .12), transparent 70%);
    transform: scale(0);
    transition: transform .6s var(--b2-ease);
}
.b2-stat-card:hover { z-index: 2; transform: translateY(-10px); box-shadow: 0 24px 50px rgba(18, 26, 92, .14); }
.b2-stat-card:hover::before { transform: scaleX(1); }
.b2-stat-card:hover::after { transform: scale(2.2); }
.b2-stat-label { font-size: 20px; font-weight: 700; color: var(--b2-blue); }
.b2-stat-num {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 36px 0 30px;
    color: var(--b2-navy);
}
.b2-stat-num strong {
    font-family: "Roboto Condensed", "Oswald", sans-serif;
    font-size: 88px;
    font-weight: 700;
    line-height: .9;
    letter-spacing: -0.02em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.b2-stat-num span { font-size: 20px; font-weight: 700; color: #7ea3e6; }
.b2-stat-desc { font-size: 16px; color: #555; }

/* --------------------------------------------------------------------------
   3. 실시간 접수 현황
   -------------------------------------------------------------------------- */
.b2-live {
    padding: 70px 0 96px;
    overflow: hidden;
    background: #1d4fae;
}
.b2-live-bg {
    position: absolute;
    top: -15%;
    left: 0;
    right: 0;
    bottom: -15%;
    background-position: center;
    background-size: cover;
    opacity: .3;
    mix-blend-mode: luminosity;
    will-change: transform;
}
.b2-live::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(29, 79, 174, .55) 0%, rgba(20, 60, 160, .75) 100%);
}
.b2-live-deco {
    position: absolute;
    z-index: 1;
    width: 360px;
    opacity: .8;
    pointer-events: none;
}
.b2-live-deco-left { top: -10px; left: -10px; animation: b2Drift 10s ease-in-out infinite alternate; }
.b2-live-deco-right { right: 0; bottom: -10px; animation: b2Drift 12s ease-in-out infinite alternate-reverse; }
.b2-live .b2-sec-head { margin-bottom: 40px; }
.b2-live .b2-sec-tit { font-size: 52px; }
.b2-live .b2-sec-desc { margin-top: 8px; font-size: 20px; }

.b2-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    margin-bottom: 14px;
    padding: 0 18px 0 14px;
    border-radius: 15px;
    background: #00e4ff;
    font-size: 20px;
    font-weight: 900;
    color: var(--b2-blue);
    letter-spacing: .02em;
    box-shadow: 0 0 0 0 rgba(0, 228, 255, .6);
    animation: b2BadgeGlow 2s ease-out infinite;
}
.b2-live-badge i {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff1d1d;
}
.b2-live-badge i::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ff1d1d;
    animation: b2Dot 1.4s ease-out infinite;
}

/* [261112] 자동 롤링 대신 직접 스크롤 — 5줄 높이(60px × 5) 넘으면 상자 안에서 스크롤 */
.b2-live-board {
    max-width: 1000px;
    max-height: 300px;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #9bb8e6 #fff;
    background: #fff;
    box-shadow: 0 30px 60px rgba(5, 20, 80, .35);
}
.b2-live-board::-webkit-scrollbar { width: 8px; }
.b2-live-board::-webkit-scrollbar-track { background: #fff; }
.b2-live-board::-webkit-scrollbar-thumb { background: #9bb8e6; border-radius: 4px; }
.b2-live-row {
    display: grid;
    grid-template-columns: 88px 1fr 156px 132px 60px;
    align-items: center;
    gap: 20px;
    height: 60px;
    padding: 0 28px 0 30px;
    font-size: 17px;
    color: #333;
    background: #fff;
    transition: background .3s;
}
.b2-live-row.is-even { background: #eaf2fd; }
.b2-live-row.is-new { animation: b2RowFlash 1.2s ease-out; }
.b2-live-row:hover { background: #d9e8ff; }
.b2-live-type {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 4px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
}
.b2-live-type.is-permit { background: #ee8b0b; }
.b2-live-type.is-consent { background: #1f87e8; font-size: 13px; letter-spacing: -0.06em; }
.b2-live-type.is-protect { background: #12a37a; font-size: 14px; letter-spacing: -0.04em; }
.b2-live-type.is-remove { background: #5b6478; }
.b2-live-subject { padding-left: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.b2-live-time {
    justify-self: end;
    min-width: 60px;
    padding: 3px 8px;
    border-radius: 12px;
    background: #8d8d8d;
    font-size: 13px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}
.b2-live-row:first-child .b2-live-time { background: var(--b2-orange); }

/* --------------------------------------------------------------------------
   4. 4대 완결 솔루션
   -------------------------------------------------------------------------- */
.b2-service { padding: 150px 0 150px; }
.b2-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.b2-service-card {
    position: relative;
    aspect-ratio: 425 / 603;
    overflow: hidden;
    background: var(--b2-navy);
    cursor: pointer;
    outline: none;
}
.b2-service-photo { position: absolute; inset: 0; }
.b2-service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--b2-ease), filter .6s;
}
.b2-service-card.is-active .b2-service-photo img { transform: scale(1.12); filter: blur(2px); }
.b2-service-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 12px 10px 14px;
    background: rgba(30, 38, 110, .62);
    font-size: 24px;
    color: #fff;
    text-align: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.b2-service-over {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    background: rgba(10, 82, 214, .94);
    color: #fff;
    text-align: center;
    clip-path: inset(100% 0 0 0);
    transition: clip-path .7s var(--b2-ease);
}
.b2-service-card.is-active .b2-service-over { clip-path: inset(0 0 0 0); }
.b2-service-card.is-text .b2-service-over {
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .16), transparent 45%),
        var(--b2-blue);
}

/* 사진이 아직 없는 카드의 꺼진 상태 (남색 배경 + 선 아이콘) */
.b2-service-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
    background:
        radial-gradient(circle at 75% 15%, rgba(47, 116, 255, .35), transparent 50%),
        linear-gradient(160deg, #1b2a8a 0%, var(--b2-navy) 60%, var(--b2-navy-deep) 100%);
}
.b2-service-ph svg {
    width: 34%;
    max-width: 130px;
    fill: none;
    stroke: rgba(255, 255, 255, .55);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 1.2s var(--b2-ease);
}
.b2-service-ph .b2-ph-line { stroke: rgba(95, 215, 255, .7); }
.b2-service-card.is-active .b2-service-ph svg { transform: scale(1.12); }

.b2-service-over > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s, transform .6s var(--b2-ease);
}
.b2-service-card.is-active .b2-service-over > * { opacity: 1; transform: none; }
.b2-service-card.is-active .b2-service-over > :nth-child(1) { transition-delay: .2s; }
.b2-service-card.is-active .b2-service-over > :nth-child(2) { transition-delay: .3s; }
.b2-service-card.is-active .b2-service-over > :nth-child(3) { transition-delay: .4s; }
.b2-service-tit { font-size: 34px; font-weight: 700; }
.b2-service-tags {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 30px 0 34px;
}
.b2-service-tags li {
    padding: 2px 12px;
    border: 2px solid #fff;
    border-radius: 16px;
    font-size: 16px;
}
.b2-service-desc { font-size: 18px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   5. 맞춤형 솔루션 (PROCESS)
   -------------------------------------------------------------------------- */
.b2-process {
    padding: 80px 0 100px;
    overflow: hidden;
    background: #edf1f8;
}
.b2-process-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: .85;
    animation: b2BgDrift 30s ease-in-out infinite alternate;
}
.b2-process .b2-sec-head { margin-bottom: 52px; }
.b2-process .b2-sec-tit { font-size: 52px; }
.b2-process .b2-sec-desc { margin-top: 6px; font-size: 18px; color: #777; }
.b2-process-box {
    display: grid;
    grid-template-columns: 560px 1fr;
    align-items: center;
    gap: 56px;
    padding: 32px 34px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(18, 26, 92, .08);
}
.b2-process-photo {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
    transition: transform .4s var(--b2-ease);
    transform-style: preserve-3d;
}
.b2-process-photo img { width: 100%; transition: transform 1.2s var(--b2-ease); }
.b2-process-photo:hover img { transform: scale(1.06); }
.b2-process-tit { font-size: 31px; font-weight: 700; line-height: 1.35; color: var(--b2-navy); }
.b2-process-desc { margin: 26px 0 40px; font-size: 16px; line-height: 1.6; color: #777; }
.b2-process-steps { display: flex; flex-direction: column; gap: 22px; }
.b2-process-step {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .6s, transform .8s var(--b2-ease);
    transition-delay: var(--b2-delay, 0s);
}
.b2-process-box.is-in .b2-process-step { opacity: 1; transform: none; }
.b2-process-step strong { display: block; font-size: 20px; color: var(--b2-blue); }
.b2-process-step span { display: block; margin-top: 2px; font-size: 16px; color: #666; }
.b2-check {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    fill: none;
    stroke: #14c1a0;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.b2-check circle { stroke-dasharray: 63; stroke-dashoffset: 63; transition: stroke-dashoffset .8s ease-out; transition-delay: inherit; }
.b2-check path { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .5s ease-out; transition-delay: calc(var(--b2-delay, 0s) + .6s); }
.b2-process-box.is-in .b2-check circle,
.b2-process-box.is-in .b2-check path { stroke-dashoffset: 0; }
.b2-process-box.is-in .b2-check circle { transition-delay: var(--b2-delay, 0s); }

/* --------------------------------------------------------------------------
   6. 4대 안심 보장
   -------------------------------------------------------------------------- */
.b2-why { padding: 150px 0 130px; }
.b2-why-inner {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(0, 908px);
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}
.b2-why-left { text-align: center; }
.b2-why-left .b2-sec-tit { font-size: 56px; }
.b2-why-left .b2-sec-desc { margin-top: 10px; font-size: 18px; color: #666; }
.b2-why-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 90px auto 0;
}
.b2-why-item {
    position: relative;
    width: 100%;
    height: 64px;
    padding: 0 20px;
    border: 4px solid #e8f0fb;
    background: #fff;
    font-size: 24px;
    font-weight: 700;
    color: #7c80a6;
    overflow: hidden;
    transition: color .4s, background .4s, border-color .4s, transform .4s var(--b2-ease);
}
.b2-why-item:hover { color: var(--b2-blue); transform: translateX(6px); }
.b2-why-item.is-active {
    border-color: var(--b2-blue);
    background: var(--b2-blue);
    color: #fff;
    transform: scale(1.03);
}
.b2-why-timer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, .6);
    transform: scaleX(0);
    transform-origin: 0 50%;
}
.b2-why-item.is-active .b2-why-timer { animation: b2Timer 4s linear forwards; }
.b2-why-list.is-paused .b2-why-timer { animation-play-state: paused; }

.b2-why-photo {
    position: relative;
    aspect-ratio: 908 / 600;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(18, 26, 92, .18);
}
.b2-why-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: b2SlowZoom 18s ease-in-out infinite alternate;
}
.b2-why-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(40, 46, 110, .55), rgba(30, 36, 100, .8));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.b2-why-cap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 32px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s, transform .6s var(--b2-ease);
}
.b2-why-cap.is-active { opacity: 1; transform: none; transition-delay: .15s; }
.b2-why-cap strong { font-size: 26px; }
.b2-why-cap span { margin-top: 4px; font-size: 18px; color: rgba(255, 255, 255, .9); }

/* --------------------------------------------------------------------------
   7. 고객 후기
   -------------------------------------------------------------------------- */
.b2-review {
    z-index: 3;
    padding: 110px 0 140px;
    background: #0d47a6;
}
.b2-review-glow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.b2-review-glow::before,
.b2-review-glow::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}
.b2-review-glow::before {
    top: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: rgba(70, 140, 255, .45);
    animation: b2Blob1 14s ease-in-out infinite alternate;
}
.b2-review-glow::after {
    right: -10%;
    bottom: -30%;
    width: 600px;
    height: 600px;
    background: rgba(0, 210, 255, .25);
    animation: b2Blob2 16s ease-in-out infinite alternate;
}
.b2-review .b2-sec-head { position: relative; z-index: 2; margin-bottom: 70px; }
.b2-review .b2-sec-desc { margin-top: 4px; font-size: 18px; }

.b2-review-swiper { position: relative; z-index: 2; padding: 20px 0 30px; }
.b2-review-swiper .swiper-slide {
    width: 765px;
    opacity: .55;
    transform: scale(.9);
    transition: opacity .6s, transform .6s var(--b2-ease);
}
.b2-review-swiper .swiper-slide-active { opacity: 1; transform: scale(1); }
.b2-review-card {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 314px;
    padding: 0 40px 0 52px;
    border-radius: 157px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(0, 10, 60, .3);
}
.b2-review-photo {
    flex: 0 0 246px;
    width: 246px;
    height: 246px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #ddd;
}
.b2-review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--b2-ease); }
.b2-review-card:hover .b2-review-photo img { transform: scale(1.1) rotate(2deg); }
.b2-review-type {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 4px;
    background: #eaf2fd;
    font-size: 15px;
    color: var(--b2-blue);
}
.b2-review-tit { margin-top: 12px; font-size: 21px; font-weight: 700; line-height: 1.4; color: #222; }
.b2-review-text { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: #666; }
.b2-review-star { margin-top: 12px; font-size: 20px; letter-spacing: 2px; color: #f6c400; text-shadow: 0 0 1px #8a6d00; }
.b2-review-writer { margin-top: 8px; font-size: 15.5px; color: #3c7be0; }

.b2-review-cta {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 5;
    transform: translate(-50%, 50%);
}
.b2-review-cta .b2-btn {
    height: 72px;
    padding: 0 30px;
    border: 6px solid #fff;
    border-radius: 10px;
    font-size: 22px;
}

/* --------------------------------------------------------------------------
   키프레임
   -------------------------------------------------------------------------- */
@keyframes b2KenBurns { from { scale: 1.18; } to { scale: 1; } }
@keyframes b2HeroUp {
    from { opacity: 0; transform: translateY(40px); filter: blur(10px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes b2Orb { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.25); } }
@keyframes b2Caret { 50% { opacity: 0; } }
@keyframes b2TextShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes b2Wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes b2BandIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes b2Marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes b2Drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(24px, 18px) rotate(6deg); } }
@keyframes b2BadgeGlow { 0% { box-shadow: 0 0 0 0 rgba(0, 228, 255, .6); } 100% { box-shadow: 0 0 0 16px rgba(0, 228, 255, 0); } }
@keyframes b2Dot { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes b2RowFlash {
    0% { box-shadow: inset 0 0 0 999px rgba(255, 214, 110, .5); }
    100% { box-shadow: inset 0 0 0 999px rgba(255, 214, 110, 0); }
}
@keyframes b2BgDrift { from { transform: scale(1) translateX(0); } to { transform: scale(1.1) translateX(-3%); } }
@keyframes b2Timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes b2SlowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }

/* --------------------------------------------------------------------------
   반응형
   -------------------------------------------------------------------------- */
@media (max-width: 1600px) {
    .b2-hero-tit { font-size: 96px; }
    .b2-hero-point { font-size: 40px; }
    .b2-hero-sub { font-size: 26px; }
    .b2-band-right { padding: 0 40px; }
    .b2-band-tel { font-size: 20px; }
    .b2-marquee-track span { font-size: 22px; }
    .b2-why-inner { grid-template-columns: 1fr 1.1fr; }
    .b2-why-left .b2-sec-tit { font-size: 46px; }
    .b2-why-list { margin-top: 60px; }
}

@media (max-width: 1280px) {
    .b2-hero-tit { font-size: 80px; }
    .b2-hero-point { font-size: 34px; }
    .b2-hero-sub { font-size: 22px; }
    .b2-hero-desc { font-size: 18px; }
    .b2-band-left { width: 42%; }
    .b2-band-right { width: 58%; padding: 0 24px; }
    .b2-band-tel { font-size: 17px; }
    .b2-band-tel-label svg { width: 24px; height: 24px; }
    .b2-stats .b2-sec-tit,
    .b2-live .b2-sec-tit,
    .b2-process .b2-sec-tit { font-size: 44px; }
    .b2-stat-num strong { font-size: 72px; }
    .b2-stat-label { font-size: 17px; }
    .b2-stat-desc { font-size: 14px; }
    .b2-service-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
    .b2-process-box { grid-template-columns: 1fr 1fr; gap: 40px; }
    .b2-process-tit { font-size: 28px; }
    .b2-why-inner { grid-template-columns: 1fr; max-width: 900px; }
    .b2-why-left .b2-sec-tit { font-size: 44px; }
    .b2-why-list { margin-top: 40px; }
}

@media (max-width: 1024px) {
    .b2-hero-band { flex-direction: column; height: auto; }
    .b2-band-left,
    .b2-band-right { width: 100%; }
    .b2-band-left { height: 44px; }
    .b2-band-right { height: 56px; justify-content: center; }
    .b2-band-right .b2-btn { display: none; }
    .b2-hero-content { height: calc(100% - 100px); }
    .b2-hero-scroll { display: none; }
    .b2-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .b2-process-box { grid-template-columns: 1fr; }
    .b2-process-photo { max-width: 580px; margin: 0 auto; }
    .b2-review-swiper .swiper-slide { width: 640px; }
    .b2-review-card { height: 280px; gap: 20px; padding: 0 30px 0 34px; }
    .b2-review-photo { flex-basis: 200px; width: 200px; height: 200px; }
    .b2-review-text { font-size: 14px; }
}

@media (max-width: 768px) {
    .b2-hero { height: auto; min-height: 640px; padding-bottom: 100px; }
    .b2-hero-content { height: auto; min-height: 540px; }
    .b2-hero-tit { font-size: 52px; word-spacing: 0; }
    .b2-hero-point { margin-top: 16px; font-size: 24px; }
    .b2-hero-sub { font-size: 15px; }
    .b2-hero-desc { margin: 18px 0 30px; font-size: 15px; }
    .b2-hero-desc br { display: none; }
    /* 좁은 화면에서는 문구가 흰 빛 번짐 밖(사진 위)까지 걸쳐서 글자 뒤에 흰 그림자로 가독성 확보 */
    .b2-hero-sub,
    .b2-hero-desc { text-shadow: 0 0 10px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9); }
    .b2-hero-light span { width: 200px !important; height: 200px !important; }
    .b2-marquee-track span { padding: 0 60px 0 40px; font-size: 17px; }
    .b2-band-tel { font-size: 15px; gap: 4px; }
    .b2-band-tel-label { margin-right: 2px; }

    .b2-stats { padding: 80px 0 90px; }
    .b2-stats .b2-sec-tit,
    .b2-live .b2-sec-tit,
    .b2-process .b2-sec-tit,
    .b2-why-left .b2-sec-tit { font-size: 28px; }
    .b2-live .b2-sec-desc,
    .b2-process .b2-sec-desc { font-size: 14px; }
    .b2-stat-card { padding: 20px 18px 22px; }
    .b2-stat-num { margin: 20px 0 16px; gap: 6px; }
    .b2-stat-num strong { font-size: 52px; }
    .b2-stat-num span { font-size: 15px; }
    .b2-stat-label { font-size: 15px; }
    .b2-stat-desc { font-size: 13px; }

    .b2-live { padding: 60px 0 70px; }
    .b2-live-deco { width: 200px; }
    .b2-live-badge { font-size: 16px; height: 26px; }
    .b2-live-board { max-height: 350px; } /* 모바일 줄 높이 70px × 5 */
    .b2-live-row {
        grid-template-columns: 76px 1fr auto;
        grid-template-rows: auto auto;
        gap: 2px 12px;
        height: 70px;
        padding: 0 14px;
        font-size: 14px;
    }
    .b2-live-type { grid-row: 1 / 3; height: 26px; font-size: 13px; }
    .b2-live-type.is-consent { font-size: 11px; }
    .b2-live-type.is-protect { font-size: 12px; }
    .b2-live-subject { grid-column: 2 / 3; padding-left: 0; font-weight: 600; }
    .b2-live-time { grid-column: 3 / 4; grid-row: 1 / 3; min-width: 52px; font-size: 12px; }
    .b2-live-area,
    .b2-live-name { grid-column: 2 / 3; font-size: 12.5px; color: #777; }
    .b2-live-area { grid-row: 2; }
    .b2-live-name { grid-row: 2; padding-left: 90px; }

    .b2-service { padding: 80px 0; }
    .b2-service-grid { gap: 4px; }
    .b2-service-card { aspect-ratio: 3 / 4; }
    .b2-service-name { font-size: 18px; padding: 10px 6px 12px; }
    .b2-service-ph { padding-bottom: 44px; }
    .b2-service-tit { font-size: 22px; }
    .b2-service-tags { gap: 6px; margin: 16px 0 18px; }
    .b2-service-tags li { font-size: 13px; padding: 1px 10px; border-width: 1px; }
    .b2-service-desc { font-size: 14px; }
    .b2-service-desc br { display: none; }
    .b2-service-over { padding: 18px 16px; }

    .b2-process { padding: 70px 0; }
    .b2-process-box { padding: 16px 16px 30px; gap: 30px; }
    .b2-process-text { padding: 0 6px; }
    .b2-process-tit { font-size: 22px; }
    .b2-process-desc { margin: 16px 0 26px; font-size: 14px; }
    .b2-process-desc br { display: none; }
    .b2-process-step strong { font-size: 16px; }
    .b2-process-step span { font-size: 14px; }

    .b2-why { padding: 80px 0; }
    .b2-why-left .b2-sec-desc { font-size: 14px; }
    .b2-why-item { height: 54px; font-size: 18px; }
    .b2-why-photo { aspect-ratio: 4 / 3; border-radius: 12px; }
    .b2-why-caption { height: auto; min-height: 104px; }
    .b2-why-cap { padding: 0 18px; }
    .b2-why-cap strong { font-size: 18px; }
    .b2-why-cap span { font-size: 13.5px; }

    .b2-review { padding: 80px 0 110px; }
    .b2-review .b2-sec-head { margin-bottom: 30px; }
    .b2-review-swiper .swiper-slide { width: 84vw; }
    .b2-review-card {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-height: 400px;
        gap: 16px;
        padding: 28px 24px;
        border-radius: 28px;
    }
    .b2-review-photo { flex-basis: auto; width: 96px; height: 96px; }
    .b2-review-tit { font-size: 18px; }
    .b2-review-tit br { display: none; }
    .b2-review-text,
    .b2-review-writer { font-size: 13.5px; }
    .b2-review-cta .b2-btn { height: 60px; font-size: 17px; border-width: 4px; white-space: nowrap; }
}

/* 2열이 좁아지는 구간 (태블릿 세로 ~ 큰 폰 가로) */
@media (max-width: 600px) {
    .b2-service-name { font-size: 15px; padding: 8px 4px 10px; }
    .b2-service-tit { font-size: 18px; }
    .b2-service-tags { gap: 4px; margin: 10px 0 12px; }
    .b2-service-tags li { font-size: 11.5px; padding: 1px 7px; }
    .b2-service-desc { font-size: 12.5px; }
    .b2-service-over { padding: 14px 10px; }
    .b2-why-item { font-size: 16px; }
    .b2-review-cta .b2-btn { height: 56px; padding: 0 18px; font-size: 16px; }
}

@media (max-width: 480px) {
    .b2-hero { min-height: 600px; }
    .b2-hero-content { min-height: 500px; padding: 0 16px; }
    .b2-hero-tit { font-size: 42px; }
    .b2-hero-point { font-size: 20px; }
    .b2-hero-sub { font-size: 13px; }
    .b2-hero-sub b { display: block; }
    .b2-hero-desc { font-size: 14px; }
    .b2-band-tel-label { display: none; }
    .b2-stats-grid { gap: 4px; padding: 3px; }
    .b2-stat-card { padding: 16px 12px 18px; }
    .b2-stat-num strong { font-size: 40px; }
    .b2-stat-num span { font-size: 13px; }
    .b2-stat-label { font-size: 14px; }
    .b2-stat-desc { font-size: 12px; }
    .b2-live-name { padding-left: 76px; }
    .b2-service-grid { grid-template-columns: 1fr; gap: 6px; }
    .b2-service-card { aspect-ratio: 5 / 4; }
    .b2-service-name { font-size: 17px; }
    .b2-service-tit { font-size: 22px; }
    .b2-service-tags li { font-size: 12.5px; }
    .b2-service-desc { font-size: 14px; }
    .b2-service-over { padding: 16px 14px; }
    .b2-process-tit { font-size: 20px; }
    .b2-why-photo { aspect-ratio: 1 / 1; }
    .b2-review-cta .b2-btn { height: 52px; font-size: 15px; border-width: 3px; }
}

@media (max-width: 380px) {
    .b2-hero-tit { font-size: 36px; }
    .b2-hero-point { font-size: 18px; }
    .b2-stat-num strong { font-size: 34px; }
    .b2-service-card { aspect-ratio: 1 / 1; }
    .b2-service-tags { margin: 8px 0 10px; }
    .b2-service-desc { font-size: 13px; }
    .b2-live-row { grid-template-columns: 64px 1fr auto; padding: 0 10px; gap: 2px 8px; }
    .b2-live-type { font-size: 12px; }
    .b2-live-name { padding-left: 64px; }
}

/* 움직임 줄이기 설정 사용자 — 애니메이션으로만 나타나던 요소를 처음부터 보이게 */
@media (prefers-reduced-motion: reduce) {
    .b2-hero-ani { opacity: 1; transform: none; filter: none; }
    .b2-hero-bg { scale: 1; translate: none; }
    .b2-process-step { opacity: 1; transform: none; }
    .b2-check circle,
    .b2-check path { stroke-dashoffset: 0; }
    .b2-typing::after { display: none; }
    .b2-hero-shine {
        background: none;
        -webkit-text-fill-color: currentColor;
        color: var(--b2-blue);
    }
    .b2-why-item.is-active .b2-why-timer { transform: scaleX(1); }
    .b2-live-bg,
    .b2-process-photo { transform: none !important; }
}
