/* ========================================
   기본 스타일
   ======================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI',
        'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #111111;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { display: block; max-width: 100%; }

/* ========================================
   1. 메인 히어로 섹션
   ======================================== */

/* 홈에서만 헤더를 흰색 배경 + 하단 라인으로 띠와 시각적 구분 */
.header {
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.home-hero {
    position: relative;
    width: 100%;
    /* 옅은 그레이-핑크 배경 (위가 살짝 진하고 자연스럽게 밝아짐) */
    background:#F4EAEA;
    overflow: hidden;
    /* 헤더가 absolute로 0~95px을 덮으므로, 그 아래부터 띠가 시작되게 padding-top 추가 */
    padding-top: 95px;
}

.hero-top-bar {
    width: 100%;
    background: #a6756a2d;
    /* 텍스트가 세로 중앙에 오도록 패딩을 위/아래 동일하게 */
    padding: 34px 20px 24px;
    text-align: center;
}

.hero-top-bar-text {
    color: #ffffff;
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 3px;
}

.home-hero-wrapper {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0px 80px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    min-height: 890px;
}

/* 좌측 텍스트 영역 */
.hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
}

.hero-eyebrow {
    font-size: 28px;
    color: #B89690;
    font-weight: 300;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.hero-main-title {
    font-size: 72px;
    font-weight: 700;
    color: #111111;
    line-height: 1.15;
    margin-bottom: 52px;
    letter-spacing: -1px;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 26px;
    color: #1f1f1f;
    font-weight: 400;
    margin: 0 0 22px;
    white-space: nowrap;
}

.hero-divider {
    width: 100%;
    max-width: 680px;
    height: 1px;
    background: #1f1f1f;
    margin: 0 0 22px;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 0;
}

.hero-tag {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #B89690;
    color: #A6756A;
    font-size: 18px;
    font-weight: 500;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-tag-note {
    margin-left: 6px;
    font-size: 22px;
    color: #555;
    font-weight: 300;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 우측 인물 + 회전 로고 */
.hero-right {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    /* 인물이 wrapper 우측 끝까지 닿게 + 좌측으로도 확장 */
    margin-right: -80px;
    margin-left: -120px;
}

.hero-person {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 890px;
    max-height: none;
    max-width: none;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
}

/* 메인 엠블럼: 가운데 JN은 고정, 외곽 ring만 회전 */
.hero-emblem {
    position: absolute;
    top: 50%;
    right: 38%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.hero-emblem-ring,
.hero-emblem-jn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-emblem-ring {
    animation: rotateEmblemRing 30s linear infinite;
    transform-origin: center center;
}

@keyframes rotateEmblemRing {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* 우측 워터마크 등에서 재사용되는 단순 회전 keyframe */
@keyframes rotateLogo {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}

/* ========================================
   2. BEFORE & AFTER 섹션
   ======================================== */
.ba-section {
    padding: 150px 20px 70px;
    background: #FAF8F9;
}

.ba-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 60px;
    align-items: flex-start;
}

.ba-left {
    padding-left: 20px;
}

.ba-label {
    font-size: 16px;
    color: #A6756A;
    letter-spacing: 8px;
    font-weight: 500;
    margin-bottom: 22px;
    
}

.ba-title {
    font-size: 42px;
    color: #111111;
    font-weight: 700;
    margin-bottom: 80px;
}

.ba-viewmore {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid #111111;
    color: #111111;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ba-viewmore:hover {
    background: #A6756A;
    border-color: #A6756A;
    color: #ffffff;
}

/* 우측 */
.ba-right {
    position: relative;
}

.ba-tabs {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.ba-tab {
    font-size: 18px;
    color: #888;
    cursor: pointer;
    padding: 6px 4px;
    font-weight: 400;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.ba-tab.active {
    color: #111111;
    font-weight: 700;
    border-bottom: 1.5px solid #111111;
}

/* 슬라이더 전체 - 양옆 fade는 의사요소로 처리 (mask-image는 자식의 box-shadow를 잘라내므로 사용 안 함) */
/* overflow-x: clip + overflow-y: visible — 좌우는 자르되 위아래 그림자는 자유롭게 표시 */
.ba-slider {
    position: relative;
    padding: 50px 0;
    overflow-x: clip;
    overflow-y: visible;
}

/* 좌우 fade gradient — 양옆 카드가 슬라이더 가장자리에서 자연스럽게 사라지는 효과 */
/* top/bottom을 padding(50px)과 동일하게 두어 위아래 padding 영역(그림자 표시 공간)은 의사요소가 덮지 않도록 함 */
.ba-slider::before,
.ba-slider::after {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    width: 12%;
    z-index: 5;
    pointer-events: none;
}

.ba-slider::before {
    left: 0;
    background: linear-gradient(to right, #FAF8F9 0%, rgba(250, 248, 249, 0) 100%);
}

.ba-slider::after {
    right: 0;
    background: linear-gradient(to left, #FAF8F9 0%, rgba(250, 248, 249, 0) 100%);
}

.ba-viewport {
    
}

.ba-track {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.ba-slide {
    border: 10px solid #ffffff;
    flex: 0 0 70.2%;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 14px rgba(166, 117, 106, 0.361);
    opacity: 0.55;
    transform: scale(0.8);
    transform-origin: center center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ba-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 6; /* 의사요소(z-index 5) 위에 표시되어 그림자가 fade에 덮이지 않도록 */
}

/* 활성 카드 바로 이전 카드: 오른쪽 가장자리(활성 쪽) 기준으로 축소 → 활성 카드에 붙음 */
.ba-slide.prev {
    transform-origin: right center;
}

/* 활성 카드 바로 다음 카드: 왼쪽 가장자리(활성 쪽) 기준으로 축소 → 활성 카드에 붙음 */
.ba-slide.next {
    transform-origin: left center;
}

.ba-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    aspect-ratio: 2 / 1;
}

.ba-before, .ba-after {
    position: relative;
    overflow: hidden;
}

.ba-before { background: #ECECEC; }
.ba-after  { background: #C8C8C8; }

.ba-before img, .ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* 비로그인 사용자: BEFORE 이미지 블러 처리 */
.ba-before.is-locked img {
    filter: blur(18px);
    transform: scale(1.1);
}

.ba-before-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.ba-before-lock-text {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 라벨 - 카드 하단에 오버레이 */
.ba-labels {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 2;
}

.ba-labels span {
    padding: 14px 20px;
    text-align: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

.ba-labels .lbl-before { background: rgba(80, 60, 55, 0.78); }
.ba-labels .lbl-after  { background: rgba(166, 117, 106, 0.78); }

/* 화살표 - 활성 카드와 양옆 카드 사이 갭에 위치 */
.ba-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #B89690;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, color 0.2s;
}

.ba-arrow:hover { color: #A6756A; opacity: 0.85; }

.ba-arrow svg {
    width: 50px;
    height: 50px;
    stroke: currentColor;
    stroke-width: 1.4;
    fill: none;
}

/* 활성 카드와 양옆 카드 사이 갭 영역에 배치 */
.ba-arrow.prev {
    left: 13.4%;
    right: auto;
    transform: translate(-50%, -50%);
}
.ba-arrow.next {
    left: auto;
    right: 13.4%;
    transform: translate(50%, -50%);
}

/* 점 인디케이터 */
.ba-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.ba-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E5D5D0;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.2s;
}

.ba-dot.active {
    background: #A6756A;
}

/* ========================================
   3. CHECK POINT 섹션
   ======================================== */
.check-section {
    padding: 100px 20px 120px;
    background: #ffffff;
}

.check-header {
    text-align: center;
    margin-bottom: 70px;
}

.check-eyebrow {
    font-size: 14px;
    color: #A6756A;
    letter-spacing: 8px;
    font-weight: 500;
    margin-bottom: 22px;
}

.check-title {
    font-size: 38px;
    color: #111111;
    font-weight: 700;
    margin-bottom: 28px;
}

.check-desc {
    font-size: 15px;
    color: #777;
    line-height: 1.9;
}

.check-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.check-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px ;
    box-shadow: 0 0px 10px rgba(203, 167, 156, 0.223);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.check-card-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 1px;
}

.check-card-title {
    font-size: 20px;
    color: #111111;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}

.check-card-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 30px;
}

.check-card-image {
    width: 100%;
    overflow: hidden;
    margin-top: auto;
}

.check-card-image img {
    width: 100%;
    object-fit: cover;
}

/* ========================================
   4. JN SOLUTION 섹션
   ======================================== */
.solution-section {
    padding: 120px 20px 120px;
    background: #ffffff;
}

.solution-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-left {
    position: relative;
}

.solution-face {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}


/* 우측 솔루션 리스트 */
.solution-right .solution-eyebrow {
    font-size: 14px;
    color: #A6756A;
    letter-spacing: 6px;
    font-weight: 500;
    margin-bottom: 18px;
}


.solution-title {
    font-size: 38px;
    color: #111111;
    font-weight: 600;
    margin-bottom: 30px;
}

.solution-list {
    /* 숫자 정렬 계산용 변수 (타이틀 크기 바꾸면 자동으로 따라옴) */
    --title-fz: 28px;
    --title-lh: 1.3;
    --title-mb: 20px;
    --num-fz: 26px;
    border-top: 1px solid #e5e5e5;
}

.solution-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding: 20px 0;
    align-items: start;
    border-bottom: 1px solid #e5e5e5;
}

.solution-num {
    font-size: var(--num-fz);
    color: #999;
    font-weight: 400;
    line-height: 1;
    /* 타이틀 시각 중앙 → 설명 첫 줄 위치로 내림
       = 타이틀 높이의 절반 + 타이틀 하단 마진 */
    padding-top: calc(var(--title-fz) * var(--title-lh) / 2 + var(--title-mb));
}

.solution-item-title {
    font-size: var(--title-fz);
    line-height: var(--title-lh);
    color: #111111;
    font-weight: 700;
    margin-bottom: var(--title-mb);
}

.solution-item-desc {
    font-size: 16px;
    color: #777;
    line-height: 1.7;
}

/* ========================================
   5. 의료진 배너 섹션
   ======================================== */
.doctor-banner {
    background: url('/gnuboard5/img/home-banner-back.png') center / cover no-repeat;
    padding: 120px 20px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.doctor-banner-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 380px;
}

.doctor-eyebrow {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
    letter-spacing: 0.5px;
}

.doctor-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
    color: #ffffff;
}

.doctor-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    max-width: 620px;
    margin-bottom: 120px;
}

.doctor-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.doctor-image {
    max-height: 620px;
    height: auto;
    width: auto;
}

/* ========================================
   6. 워터마크 섹션
   ======================================== */
.watermark-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.watermark-slider {
    width: 100%;
    overflow: hidden;
}

.watermark-track {
    display: flex;
    gap: 80px;
    animation: scroll-left 40s linear infinite;
    width: max-content;
}

.watermark-text {
    font-size: 110px;
    font-family: Impact, 'Arial Narrow Bold', sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px #a6756a88;
    font-weight: 500;
    letter-spacing: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   7. REAL REVIEW 섹션
   ======================================== */
/* 두 리뷰 섹션을 감싸는 그룹 컨테이너 (워터마크 위치 기준점) */
.review-group {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* 우측 회전 워터마크 - 컨테이너 (외부 ring만 회전, 중앙 JN 고정) */
.review-rotating-logo {
    position: absolute;
    top: 50%;
    right: -160px;             /* 일부 화면 밖으로 잘리게 */
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: multiply;
}

.review-rotating-logo-ring,
.review-rotating-logo-jn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.review-rotating-logo-ring {
    animation: rotateEmblemRing 30s linear infinite;
    transform-origin: center center;
}

.review-section {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.review-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.review-wrapper.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.review-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 80px 20px 80px 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-eyebrow {
    font-size: 14px;
    color: #A6756A;
    letter-spacing: 8px;
    font-weight: 500;
    margin-bottom: 22px;
}

.review-title {
    font-size: 30px;
    color: #111111;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 36px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.review-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ========================================
   반응형 - 태블릿 (max 1200px)
   ======================================== */
@media (max-width: 1200px) {
    .home-hero-wrapper {
        padding: 60px 30px 50px;
        min-height: 680px;
    }
    .hero-main-title { font-size: 50px; }
    .hero-subtitle { font-size: 18px; }
    .hero-emblem { width: 360px; height: 360px; }
    .hero-person { max-height: 600px; }

    .ba-wrapper { gap: 40px; }
    .ba-title { font-size: 32px; margin-bottom: 50px; }
    .ba-slider { padding: 0 50px; }

    .check-title, .solution-title { font-size: 30px; }
    .check-grid { gap: 20px; }

    .solution-wrapper { gap: 50px; }

    .doctor-title { font-size: 30px; }
    .doctor-image { max-height: 380px; }

    .watermark-text { font-size: 80px; }

    .review-wrapper { gap: 50px; }
    .review-title { font-size: 24px; }
}

/* ========================================
   반응형 - 모바일 (max 768px)
   ======================================== */
@media (max-width: 768px) {
    /* 모바일 헤더 높이(약 85px)에 맞춰 줄임 */
    .home-hero { padding-top: 85px; }

    .hero-top-bar { padding: 18px 16px; }
    .hero-top-bar-text { font-size: 11px; letter-spacing: 0; }

    /* 모바일에서 영문 타이틀/이브로의 자간을 0으로 통일 (가독성 향상) */
    .hero-eyebrow,
    .ba-label,
    .ba-viewmore,
    .check-eyebrow,
    .check-card-label,
    .solution-eyebrow,
    .doctor-eyebrow,
    .review-eyebrow {
        letter-spacing: 0;
    }

    /* 모바일: 이미지는 우측 영역에만, 텍스트는 좌측에 (레퍼런스 이미지 4) */
    .home-hero-wrapper {
        display: block;
        padding: 0;
        min-height: 620px;
        position: relative;
    }

    /* 텍스트 - 좌측 상단 (이미지 위에 오버레이, 상단에서 200px 떨어뜨림) */
    .hero-left {
        position: relative;
        z-index: 3;
        padding: 200px 28px 50px;
        justify-content: flex-start;
        align-items: flex-start;
        min-height: 620px;
        box-sizing: border-box;
    }

    .hero-eyebrow {
        font-size: 16px;
        margin-bottom: 14px;
        color: #B89690;
        font-weight: 400;
        text-shadow: none;
        white-space: normal;
    }
    .hero-main-title {
        font-size: 40px;
        margin-bottom: 0;
        color: #111;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -0.5px;
        text-shadow: none;
        white-space: normal;
    }

    /* 모바일에서 타이틀을 "제이앤 / 성형외과" 2줄로 표시 */
    .hero-title-line {
        display: block;
    }

    /* 모바일에서는 부제/구분선/태그 숨김 (레퍼런스 디자인) */
    .hero-subtitle,
    .hero-divider,
    .hero-tags {
        display: none;
    }

    /* 이미지 - 전체 폭으로 확장하여 왼쪽 배경(peach blob)이 텍스트 뒤에 보이도록 */
    .hero-right {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        margin: 0;
        z-index: 1;
        overflow: hidden;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        min-height: 620px;
        pointer-events: none;
    }
    .hero-person {
        width: 100%;
        height: 100%;
        max-height: none;
        max-width: none;
        min-height: 0;
        object-fit: cover;
        object-position: 50% center;
    }

    /* JN 엠블럼 - 인물 이미지 뒤 좌하단에 위치 */
    .hero-emblem {
        width: 320px;
        height: 320px;
        top: auto;
        bottom: 60px;
        right: auto;
        left: 20px;
        transform: none;
        z-index: 1;
        opacity: 0.55;
        mix-blend-mode: normal;
    }

    .ba-section {
        padding: 70px 20px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .ba-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
        max-width: 100%;
    }
    .ba-left { text-align: center; padding-left: 0; }
    .ba-title { font-size: 26px; margin-bottom: 30px; }
    .ba-tabs { gap: 24px; justify-content: center; }
    .ba-tab { font-size: 15px; }
    /* 모바일 슬라이더: 좌우 padding 제거(중앙 정렬 보장), 위아래는 그림자 공간 확보 */
    .ba-right {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .ba-slider {
        padding: 30px 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .ba-arrow { width: 32px; height: 32px; font-size: 22px; }
    .ba-labels span { padding: 10px 14px; font-size: 13px; }

    .check-section { padding: 70px 20px 80px; }
    .check-title { font-size: 24px; margin-bottom: 20px; }
    .check-desc { font-size: 13px; }
    .check-grid { grid-template-columns: 1fr; gap: 20px; }
    .check-card { padding: 30px 24px; }
    .check-card-title { font-size: 17px; }

    .solution-section { padding: 60px 20px 80px; }
    .solution-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .solution-title { font-size: 24px; margin-bottom: 28px; }
    /* 변수만 덮어쓰면 padding-top 자동 재계산됨 */
    .solution-list {
        --title-fz: 16px;
        --title-mb: 10px;
        --num-fz: 18px;
    }
    .solution-item { grid-template-columns: 56px 1fr; gap: 14px; padding: 20px 0; }
    .solution-item-desc { font-size: 13px; }

    .doctor-banner { padding: 60px 20px 0; }
    .doctor-banner-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        min-height: 0;
        align-items: end;
    }
    .doctor-title { font-size: 22px; margin-bottom: 20px; }
    .doctor-desc { font-size: 13px; margin: 0 auto; }
    .doctor-image-wrap { height: auto; }
    .doctor-image { max-height: 320px; display: block; margin: 0 auto; }

    .watermark-section { padding: 30px 0; }
    .watermark-text { font-size: 44px; letter-spacing: 6px; }
    .watermark-track { gap: 40px; }

    .review-section { padding: 50px 20px; }
    .review-wrapper,
    .review-wrapper.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .review-wrapper.reverse .review-image { order: -1; }
    .review-image { border-radius: 40px 12px 40px 12px; }
    .review-title { font-size: 18px; margin-bottom: 22px; }
    .review-list li { font-size: 13px; }
    /* 모바일에서는 워터마크 숨김 */
    .review-rotating-logo { display: none; }
}

/* ========================================
   반응형 - 작은 모바일 (max 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-main-title { font-size: 28px; }
    .hero-tag-note { display: block; margin-left: 0; margin-top: 8px; }

    .ba-title { font-size: 22px; }
    .check-title { font-size: 20px; }
    .solution-title { font-size: 20px; }
    .doctor-title { font-size: 18px; }
    .review-title { font-size: 16px; }

    .watermark-text { font-size: 32px; letter-spacing: 4px; }

    /* 활성 카드와 양옆 카드 사이 갭 영역에 배치 */
.ba-arrow.prev {
    left: 5.4%;
    right: auto;
    transform: translate(-50%, -50%);
}
.ba-arrow.next {
    left: auto;
    right: 5.4%;
    transform: translate(50%, -50%);
}
}