/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Dream Orphans', sans-serif;
    overflow-x: hidden;
}

/* 커스텀 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 16px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    position: relative;
}

/* 점선 효과를 위한 배경 이미지 - 점선 길이 키움 */
::-webkit-scrollbar-track {
    background:
        linear-gradient(to bottom, transparent 0%, transparent 30%, #BAD6FF 30%, #BAD6FF 70%, transparent 70%, transparent 100%);
    background-size: 2px 20px;
    background-repeat: repeat-y;
    background-position: center;
}

::-webkit-scrollbar-thumb {
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 1) 0%, rgba(186, 214, 255, 1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* 000000 10% 투명도 테두리 */
    min-height: 20px;
    border-color: #ffffff;
    box-shadow: 2px 2px 3.1px #00000040;
}

::-webkit-scrollbar-thumb:hover {
    background: radial-gradient(50% 50% at 50% 50%, rgba(240, 248, 255, 1) 0%, rgba(156, 199, 255, 1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    min-height: 20px;
    border-color: #f0f8ff;
    box-shadow: 2px 2px 4px #00000050;
}

::-webkit-scrollbar-corner {
    background: #f0f0f0;
}

::-webkit-scrollbar-button {
    display: none;
}

/* Firefox용 대체 스타일 */
@-moz-document url-prefix() {
    html {
        scrollbar-width: thin;
        scrollbar-color: #BAD6FF #f0f0f0;
    }
}



.main-section {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 100px;
    overflow: hidden;
}

.main-row {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: calc(90vh - 120px);
    margin-top: 120px;
    margin-left: calc(-50vw + 50%);
}

/* 메인 탭*/
.main-wrapper {
    display: flex;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    margin-top: 85px;
    /* 하단을 점진적으로 흐리게 */
    -webkit-mask: linear-gradient(to bottom, black 95%, transparent 100%);
    mask: linear-gradient(to bottom, black 95%, transparent 100%);
}

.video-panel {
    flex: 0 0 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    /* absolute positioning을 위해 */
}

.video-panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: transparent;
}

.main-video.visible {
    opacity: 1;
}



.tab {
    flex: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab[data-index="0"] {
    background: url('/home_assets/img/main/skin_booster.png') center / cover no-repeat;
}

.tab[data-index="1"] {
    background: url('/home_assets/img/main/body_center.png') top center / cover no-repeat;
}

.tab[data-index="2"] {
    background: url('/home_assets/img/main/jab_center.png') top center / cover no-repeat;
}

.main-wrapper.hovered {
    -webkit-mask: none;
    mask: none;
}

/* Hover 시 전체 폭 재구성 */
.main-wrapper.hovered .video-panel {
    flex: 0 0 calc(65vw);
    opacity: 1;
    visibility: visible;
}

.main-wrapper.hovered .tab {
    flex: 0 0 calc(5vw);
}

.main-wrapper.hovered .tab.hovered {
    flex: 0 0 calc(25vw);
}


/* Signature 텍스트 스타일 */
.signature-text {
    width: 100%;
    text-align: center;
    padding: 100px 0 60px 0;
    font-family: 'Dream Orphans', sans-serif;
}

.signature-main {
    font-family: 'Dream Orphans', sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: #1D4074;
    margin-bottom: -10px;
    letter-spacing: 2px;
}

.signature-sub {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    font-size: 24px;
    font-weight: 200;
    color: #1D4074;
    letter-spacing: 1px;
}

/* Signature 이미지 섹션 */
.signature-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    padding: 0 20px;
    margin-bottom: 60px;
    gap: 80px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.signature-img-container {
    width: 319px;
    height: 501px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 10px 13px 19.6px rgba(0, 0, 0, 0.25);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-top: 60px;

    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.2s ease, transform 1.2s ease, box-shadow 0.3s ease;
}

.signature-img-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.signature-img-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50px;
    width: 219px;
    height: 226px;
    background: linear-gradient(360deg, rgba(217, 217, 217, 0) 50%, rgba(170, 204, 255, 0.35) 91%);
    border-radius: 109.5px/113px;
    filter: blur(10px);
    z-index: 3;
}

.signature-img {
    width: 319px;
    height: 501px;
    object-fit: cover;
    display: block;
    border-radius: 24px 24px 0 0;
    position: relative;
    z-index: 4;
    border-radius: 24px;
}

.signature-img-text {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
    z-index: 5;
    width: 319px;
    height: 110px;

    /* 배경 추가 */
    background: linear-gradient(180deg, rgba(235, 242, 252, 0) 0%, rgba(158, 172, 194, 0.152654) 22.6%, rgba(74, 96, 131, 0.318029) 60.1%, rgba(58, 82, 119, 0.35) 100%);

    /* 하단 정렬 및 간격 */
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
    justify-content: center;

    border-radius: 0 0 24px 24px;
}

/* Real Model 섹션 */
.real-model-section {
    width: 100%;
    padding: 200px 0 80px 0;
    position: relative;
    z-index: 1;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.real-model-section::before {
    content: '';
    position: absolute;
    top: 390px;
    left: 20%;
    width: 270px;
    height: 270px;
    background: radial-gradient(ellipse at 20% 20%, #AACCFF 0%, rgba(170, 204, 255, 0.3) 30%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    filter: blur(1px);
}

.real-model-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at 70% 70%, #AACCFF 0%, rgba(170, 204, 255, 0.3) 20%, rgba(170, 204, 255, 0.15) 40%, rgba(170, 204, 255, 0.05) 60%, rgba(255, 255, 255, 0) 80%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
}

.real-model-text {
    text-align: left;
    margin-left: 25%;
    margin-bottom: 10px;
    font-size: 24px;
    color: #1D4074;
    position: relative;
    z-index: 2;
}

.geunal-text {
    font-family: 'Dream Orphans', sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: #1D4074;
}

.real-model-text {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    font-weight: 200;
    font-size: 24px;
}

/* 슬라이더 스타일 */
.carousel {
    padding: 10px 0;
}

.carousel-cell {
    width: 240px;
    height: 620px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 12px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-cell img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.h30 {
    height: 30%;
}

.h40 {
    height: 40%;
}

.h45 {
    height: 45%;
}

.h50 {
    height: 50%;
}

.h55 {
    height: 55%;
}

.h60 {
    height: 60%;
}

.h70 {
    height: 70%;
}

.h100 {
    height: 100%;
}

.column-slide {
    width: 240px;
}

.single-slide {
    width: 420px;
}

.wide-slide {
    width: 330px;
}

/* 스킨랩센터 섹션 */
.skin-lab-section {
    width: 100%;
    padding: 480px 20px 80px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.skin-lab-section::before {
    content: '';
    position: absolute;
    top: 55%;
    right: -45%;
    width: 1600px;
    height: 1600px;
    background: radial-gradient(ellipse at 70% 70%, #AACCFF 0%, rgba(170, 204, 255, 0.4) 25%, rgba(170, 204, 255, 0.2) 50%, rgba(255, 255, 255, 0) 75%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.4;
    filter: blur(3px);
    transform: translateY(-50%);
}

.skin-lab-section::after {
    content: '';
    position: absolute;
    top: 40%;
    right: 10%;
    width: 950px;
    height: 950px;
    background: radial-gradient(ellipse at 70% 30%, #AACCFF 0%, rgba(170, 204, 255, 0.4) 25%, rgba(170, 204, 255, 0.2) 50%, rgba(255, 255, 255, 0) 75%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
    filter: blur(2px);
    transform: translateY(-50%);
}

.skin-lab-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.skin-lab-content::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -70%;
    width: 1400px;
    height: 1400px;
    background: radial-gradient(circle, #AACCFF 0%, rgba(170, 204, 255, 0.6) 20%, rgba(170, 204, 255, 0.3) 40%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(2px);
    transform: translateY(-50%);
}

.skin-lab-text {
    flex: 1;
    font-family: 'Pretendard', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(-40px);
    position: relative;
    z-index: 4;
}

.skin-lab-title {
    font-family: 'Dream Orphans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #1D4074;
    margin-bottom: 16px;
    width: 100%;
}

.skin-lab-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 200;
    color: #555;
    line-height: 1.8;
    margin-bottom: 100px;
    width: 530px;
}

.highlight-bg-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.skin-lab-highlight {
    font-family: 'Pretendard', sans-serif;
    line-height: 1.6;
    width: 770px;
}

.skin-lab-highlight strong {
    font-size: 48px;
    font-weight: 600;
}

.skin-lab-highlight-desc {
    font-size: 40px;
    font-weight: 200;
}

.skin-lab-bold {
    font-size: 40px;
    font-weight: 600;
}

.skin-lab-image-wrap {
    flex: 1;
    text-align: center;
    min-width: 710px;
    position: relative;
}

.skin-lab-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
    z-index: 3;
    border-radius: 0 0 12px 12px;
}

.skin-lab-image {
    width: 710px;
    height: 850px;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.highlight-bg-wrapper .orange-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 150px;
    background: radial-gradient(ellipse at 50% 30%,
            rgba(255, 213, 154, 0.4) 0%,
            rgba(255, 213, 154, 0.25) 35%,
            rgba(255, 213, 154, 0.1) 55%,
            rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
    filter: blur(18px);
    pointer-events: none;
}




/* 병원 안내 영역 */
.clinic-info-section {
    width: 100%;
    padding: 400px 0 120px 0;
    display: flex;
    justify-content: center;
}

.clinic-info-content {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    min-height: 500px;
}

.clinic-map-area {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.clinic-divider {
    width: 1px;
    background-color: #ddd;
    flex-shrink: 0;
    align-self: stretch;
}

.clinic-info-area {
    flex: 1;
    padding-left: 20px;
    min-width: 600px;
    display: flex;
    align-items: flex-end;
}

.clinic-map {
    flex: none;
    position: relative;
    border: 1px solid #1D4074;
    border-radius: 250px 250px 0 0;
    padding: 5px;
}

.clinic-map #map {
    width: 500px;
    height: 600px;
    border-radius: 250px 250px 0 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.clinic-text {
    font-family: 'Pretendard', sans-serif;
    color: #000000;
    text-align: left;
    width: 100%;
}

.clinic-hours {
    margin-bottom: 50px;
}

.clinic-hours h3,
.clinic-direction h3 {
    font-family: 'Pretendard', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000000;
    text-align: left;
}

.clinic-hours ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    width: 100%;
    text-align: left;
}

.clinic-hours ul li {
    display: flex;
    justify-content: flex-start;
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 300;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    min-width: 300px;
    color: #000000;
}

.clinic-hours ul li span:first-child {
    flex: 3;
    text-align: left;
}

.clinic-hours ul li span:last-child {
    flex: 7;
    text-align: left;
}

.clinic-hours ul li:last-child {
    border-bottom: none;
}

.clinic-hours ul li .friday-time {
    font-weight: 500;
}

.clinic-hours .note {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 200;
    color: #888;
    margin-top: 15px;
    text-align: left;
}

.clinic-direction p {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #000000;
}

.clinic-direction p:last-child {
    margin-bottom: 0;
}

.clinic-direction .address {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.clinic-icons {
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.clinic-icons a {
    text-decoration: none;
    color: inherit;
}

/* .clinic-icons img[alt="인스타그램"] {
    width: 34px;
    height: 34px;
}

.clinic-icons img[alt="네이버"] {
    width: 26px;
    height: 26px;
}

.clinic-icons img[alt="카카오톡"] {
    width: 33px;
    height: 43px;
} */

.clinic-icons img {
    width: 46px;
    height: 46px;
    margin: 0 6px;
    vertical-align: middle;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.clinic-icons img:hover {
    opacity: 0.7;
}

.clinic-contact {
    margin: 0;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: nowrap;
}

.clinic-contact p {
    margin: 0;
}

.clinic-contact strong {
    font-family: 'Dream Orphans', sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: #000000;
    white-space: nowrap;
}

.clinic-contact .phone-number {
    font-family: 'Caviar Dreams', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #000000;
    white-space: nowrap;
}

.select-privacy-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    margin-right: 15px;
}

.privacy-consent-inline {
    position: absolute;
    top: -20px;
    right: 15px;
    background-color: rgba(125, 131, 145, 0.3);
    padding: 0 4px;
    font-size: 11px;
    line-height: 1;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.privacy-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.privacy-checkbox {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.privacy-checkmark {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.privacy-checkmark:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.privacy-checkbox:checked+.privacy-checkmark {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.privacy-checkbox:checked+.privacy-checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #7D8391;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    animation: checkFadeIn 0.3s ease forwards;
}

@keyframes checkFadeIn {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.privacy-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
}

.privacy-detail-link {
    text-decoration: underline;
    cursor: pointer;
    color: #ffffff;
}

.privacy-detail-link:hover {
    text-decoration: none;
    opacity: 0.8;
    color: #ffffff;
}

/* 하단 고정바 */
.bottom-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 1500px;
    height: auto;
    min-height: 100px;
    background: linear-gradient(to bottom, rgba(189, 212, 255, 0.3) 0%, rgba(232, 241, 255, 0.2) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e0e0e0;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    padding: 15px 25px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    flex-wrap: wrap;
}

#consultationForm {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.bottom-input {
    color: #404040CC;
}

.bottom-input:first-child {
    width: 226px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: white;
    flex-shrink: 0;
    margin-right: 15px;
    box-shadow: 0 4px 10.1px rgba(0, 0, 0, 0.25);
}

.bottom-input:nth-child(2) {
    width: 226px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: white;
    flex-shrink: 0;
    margin-right: 40px;
    box-shadow: 0 4px 10.1px rgba(0, 0, 0, 0.25);
}

.bottom-input:focus {
    outline: none;
    border-color: #1D4074;
    box-shadow: 0 0 0 2px rgba(29, 64, 116, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bottom-select {
    width: 300px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #404040CC;
    font-weight: 400;
    background: white;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 15px;
    box-shadow: 0 4px 10.1px rgba(0, 0, 0, 0.25);
}

.bottom-select:focus {
    outline: none;
    border-color: #1D4074;
    box-shadow: 0 0 0 2px rgba(29, 64, 116, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bottom-consultation-btn {
    width: 165px;
    height: 55px;
    background: white;
    color: #9A9595;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 60px;
    box-shadow: 0 4px 10.1px rgba(0, 0, 0, 0.25);
}

.bottom-consultation-btn:hover {
    background: #f8f9fa;
    border-color: #9A9595;
}

.bottom-icons {
    display: flex;
    gap: 10px;
    margin-right: auto;
}

.bottom-icon-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    text-align: center;
    gap: 10px;
    min-width: 70px;
}

.bottom-icon-item img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.bottom-icon-item span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #1F1F1F;
    line-height: 1.2;
    white-space: pre-line;
    text-align: left;
}

/* Top 버튼 */
button.top-button {
    height: 40px !important;
    width: 50px !important;
    background: transparent !important;
    border: none !important;
    font-family: 'Pretendard', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px !important;
    margin-left: 5px !important;
    order: 999 !important;
    z-index: 1001 !important;
    pointer-events: auto !important;
    position: relative !important;
}

button.top-button:hover {
    transform: translateY(-1px) !important;
    background: transparent !important;
    border: none !important;
}

.top-button .top-arrow {
    font-size: 15px !important;
    line-height: 1 !important;
    margin-bottom: 12px !important;
    color: #838383 !important;
}

.top-button span {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #353131 !important;
    pointer-events: none !important;
    margin-bottom: 12px;
}

.scroll-animate {
    opacity: 0;
    transition: opacity 1.4s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
}

.orange-circle.scroll-animate {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s ease, visibility 0s linear 1.4s;
}

.orange-circle.scroll-animate.animate-in {
    opacity: 0.8;
    visibility: visible;
    transition-delay: 0s;
}

/* 푸터 기본 스타일 수정 */
.site-footer {
    min-height: 448px;
    height: 100%;
    background: #CBDCF5;
    color: rgba(255, 255, 255, 0.9);
    padding: 48px 0 120px 0;
    /* 하단에 하단 고정바 공간 확보 */
    font-family: 'Pretendard', system-ui, -apple-system, 'Segoe UI', sans-serif;
    position: relative;
    z-index: 1;
}

.site-footer .footer-inner {
    max-width: 1500px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 19px;
}

/* 왼쪽 영역 */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 550px;
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.brand-mark-icon {
    width: 84px;
    height: 79px;
}

.brand-mark {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
}

.brand-lines {
    margin: auto;
    text-align: center;
}

.brand-lines .brand-ko {
    font-family: 'Pretendard', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.2px;
    line-height: 1.1;
}

.brand-lines .brand-en {
    font-family: 'Pretendard', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 200;
    font-size: 13px;
    letter-spacing: 0.2px;
    line-height: 1.1;
}

/* 세로 구분선 */
.footer-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.35);
    opacity: 0.7;
}

/* 오른쪽 영역 */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links {
    font-family: 'Pretendard', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links .sep {
    margin: 0 12px;
    opacity: 0.7;
}

.corp-info {
    font-family: 'Pretendard', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
    white-space: nowrap;
}

.copyright {
    font-family: 'Pretendard', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 18px;
    opacity: 0.95;
}

/* 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
    .site-footer {
        padding: 10px 0 80px 0;
        /* 모바일 하단 고정바 공간 확보 */
        min-height: auto;
    }

    .site-footer .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
        text-align: center;
    }

    .footer-divider {
        display: none;
    }

    .footer-left {
        width: 100%;
        align-items: center;
        order: 1;
    }

    /* 모바일에서 로고를 가로 배치 */
    .footer-logo {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        justify-content: center;
    }

    .brand-mark-icon {
        width: 48px;
        height: 45px;
        flex-shrink: 0;
    }

    .brand-mark {
        max-width: 200px;
        flex-shrink: 0;
    }

    .brand-lines {
        margin: 0;
        text-align: center;
    }

    .brand-lines .brand-ko {
        font-size: 16px;
    }

    .brand-lines .brand-en {
        font-size: 12px;
    }

    .footer-right {
        width: 100%;
        align-items: center;
        text-align: center;
        order: 2;
    }

    .footer-links {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-links .sep {
        margin: 0 8px;
    }

    .corp-info {
        font-size: 13px;
        line-height: 1.6;
        gap: 8px;
        text-align: center;
        white-space: normal;
        max-width: 100%;
    }

    .copyright {
        font-size: 12px;
        text-align: center;
        margin-top: 15px;
    }

    /* SNS 아이콘 - 모바일에서 4개 세로 정렬 */
    .clinic-icons {
        order: 3;
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        align-items: center;
        padding-bottom: 20px;
    }

    .clinic-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .clinic-icons img {
        width: 45px;
        height: 45px;
    }

    /* 하단 고정바 모바일 스타일 수정 */
    .bottom-fixed-bar {
        width: 100%;
        left: 0;
        transform: none;
        padding: 0;
        flex-direction: column;
        gap: 0;
        height: auto;
        min-height: auto;
        transition: all 0.3s ease;
        overflow: hidden;
        min-width: auto;
        z-index: 1000;
        /* 푸터보다 위에 유지 */
    }

    /* 모바일 토글 버튼 */
    .bottom-bar-toggle {
        width: 100%;
        height: 50px;
        background: linear-gradient(to bottom, rgba(189, 212, 255, 0.4) 0%, rgba(232, 241, 255, 0.3) 100%);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 1001;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(224, 224, 224, 0.5);
    }

    .bottom-bar-toggle:hover {
        background: linear-gradient(to bottom, rgba(189, 212, 255, 0.5) 0%, rgba(232, 241, 255, 0.4) 100%);
    }

    .toggle-icon {
        font-size: 16px;
        color: #666;
        margin-right: 8px;
        transition: transform 0.3s ease;
    }

    .toggle-text {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: #666;
    }

    .bottom-fixed-bar.collapsed .toggle-icon {
        transform: rotate(180deg);
    }

    .bottom-bar-content {
        width: 100%;
        padding: 15px;
        background: linear-gradient(to bottom, rgba(189, 212, 255, 0.3) 0%, rgba(232, 241, 255, 0.2) 100%);
        backdrop-filter: blur(10px);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        overflow: hidden;
    }

    .bottom-fixed-bar.collapsed .bottom-bar-content {
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {

    /* 하단 고정바 기본 스타일 수정 */
    .bottom-fixed-bar {
        width: 100%;
        left: 0;
        transform: none;
        padding: 0;
        flex-direction: column;
        gap: 0;
        height: auto;
        min-height: auto;
        transition: all 0.3s ease;
        overflow: hidden;
    }

    /* 접기/펼치기 토글 버튼 */
    .bottom-bar-toggle {
        width: 100%;
        height: 50px;
        background: linear-gradient(to bottom, rgba(189, 212, 255, 0.4) 0%, rgba(232, 241, 255, 0.3) 100%);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 1001;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(224, 224, 224, 0.5);
    }

    .bottom-bar-toggle:hover {
        background: linear-gradient(to bottom, rgba(189, 212, 255, 0.5) 0%, rgba(232, 241, 255, 0.4) 100%);
    }

    .toggle-icon {
        font-size: 16px;
        color: #666;
        margin-right: 8px;
        transition: transform 0.3s ease;
    }

    .toggle-text {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: #666;
    }

    /* 접힌 상태에서 아이콘 회전 */
    .bottom-fixed-bar.collapsed .toggle-icon {
        transform: rotate(180deg);
    }

    /* 메인 콘텐츠 영역 */
    .bottom-bar-content {
        width: 100%;
        padding: 15px;
        background: linear-gradient(to bottom, rgba(189, 212, 255, 0.3) 0%, rgba(232, 241, 255, 0.2) 100%);
        backdrop-filter: blur(10px);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        overflow: hidden;
    }

    /* 접힌 상태 */
    .bottom-fixed-bar.collapsed .bottom-bar-content {
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        padding: 0 15px;
    }

    /* 폼 스타일 */
    #consultationForm {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .bottom-input:first-child,
    .bottom-input:nth-child(2) {
        width: 100%;
        margin-right: 0;
    }

    .bottom-select {
        width: 100%;
        margin-right: 0;
        height: 34px;
        font-size: 16px;
    }

    .bottom-consultation-btn {
        width: 100%;
        margin-right: 0;
        height: 50px;
        font-size: 16px;
        margin-top: 5px;
    }

    .bottom-icons {
        justify-content: center;
        margin: 15px 0 0 0;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .bottom-icon-item span {
        font-size: 11px;
    }

    /* 개인정보 동의 영역 */
    .select-privacy-wrapper {
        width: 100%;
        align-items: center;
        margin-right: 0;
    }

    .privacy-consent-inline {
        position: static;
        background-color: rgba(125, 131, 145, 0.2);
        padding: 5px 10px;
        border-radius: 6px;
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }

    .privacy-text,
    .privacy-detail-link {
        font-size: 11px;
    }

    /* 모바일에서 Top 버튼 숨기기 */
    .top-button {
        display: none !important;
    }

    /* 스킨랩센터 모바일 최적화 */
    .skin-lab-section {
        padding: 200px 20px 80px 20px;
    }

    .skin-lab-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    /* 이미지를 위로 이동 */
    .skin-lab-image-wrap {
        order: 1;
        min-width: auto;
        text-align: center;
    }

    .skin-lab-image {
        width: 100%;
        height: auto;
        max-width: 350px;
    }

    /* 텍스트를 아래로 이동 */
    .skin-lab-text {
        order: 2;
        text-align: center;
        transform: none;
    }

    .skin-lab-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .skin-lab-desc {
        font-size: 16px;
        text-align: center;
        margin-bottom: 30px;
        width: 100%;
        max-width: none;
        line-height: 1.6;
    }

    .skin-lab-highlight {
        width: 100%;
        max-width: none;
        text-align: center;
    }

    .skin-lab-highlight strong {
        font-size: 24px;
    }

    .skin-lab-highlight-desc {
        font-size: 20px;
    }

    .skin-lab-bold {
        font-size: 20px;
    }

    /* 오렌지 원 효과도 모바일에 맞게 조정 */
    .highlight-bg-wrapper .orange-circle {
        width: 300px;
        height: 60px;
    }

    /* 시그니처 섹션 모바일 최적화 */
    .signature-text {
        padding: 40px 20px 30px 20px;
    }

    .signature-main {
        font-size: 32px;
        margin-bottom: -5px;
    }

    .signature-sub {
        font-size: 16px;
    }

    /* 시그니처 이미지들 세로 배치 및 중앙 정렬 */
    .signature-images {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
        max-width: none;
        align-items: center;
        margin-bottom: 40px;
    }

    .signature-img-container {
        flex: none;
        width: 90vw;
        max-width: 350px;
        height: auto;
        margin: 0;
        border-radius: 20px;
    }

    .signature-img-container::before {
        top: -40px;
        left: 60px;
        right: 60px;
        width: calc(100% - 120px);
        height: 80px;
    }

    .signature-img {
        width: 100%;
        height: 420px;
        border-radius: 20px 20px 0 0;
    }

    .signature-img-text {
        font-size: 16px;
        bottom: 20px;
        font-weight: 600;
    }

    /* 병원 안내 섹션 모바일 최적화 */
    .clinic-info-section {
        padding: 200px 20px 120px 20px;
    }

    .clinic-info-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 0;
        max-width: 100%;
    }

    /* 지도를 위로 이동 */
    .clinic-map-area {
        order: 1;
        padding-right: 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .clinic-divider {
        display: none;
    }

    /* 텍스트를 아래로 이동 */
    .clinic-info-area {
        order: 2;
        padding-left: 0;
        min-width: auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* 지도 크기 조정 */
    .clinic-map {
        width: 90vw;
        max-width: 350px;
    }

    .clinic-map #map {
        width: 100%;
        height: 280px;
    }

    /* 텍스트 영역 중앙 정렬 및 여백 조정 */
    .clinic-text {
        text-align: center;
        width: 100%;
        max-width: 350px;
        padding: 0 10px;
    }

    .clinic-hours {
        margin-bottom: 40px;
    }

    .clinic-hours h3,
    .clinic-direction h3 {
        font-size: 20px;
        margin-bottom: 15px;
        text-align: center;
    }

    /* 진료시간 리스트 중앙 정렬 */
    .clinic-hours ul {
        max-width: 280px;
        margin: 0 auto 10px auto;
    }

    .clinic-hours ul li {
        font-size: 14px;
        padding: 6px 0;
        justify-content: space-between;
    }

    .clinic-hours ul li span:first-child {
        flex: none;
        width: 60px;
        text-align: left;
    }

    .clinic-hours ul li span:last-child {
        flex: 1;
        text-align: right;
    }

    .clinic-hours .note {
        font-size: 12px;
        text-align: center;
        margin-top: 10px;
    }

    /* 오시는 길 텍스트 중앙 정렬 */
    .clinic-direction p {
        font-size: 14px;
        text-align: center;
        margin-bottom: 12px;
    }

    .clinic-direction .address {
        font-size: 13px;
        text-align: center;
        margin-bottom: 20px;
    }

    /* 아이콘 중앙 정렬 */
    .clinic-icons {
        text-align: center;
        margin-bottom: 20px;
    }

    /* .clinic-icons img[alt="인스타그램"] {
        width: 28px;
        height: 28px;
    }

    .clinic-icons img[alt="네이버"] {
        width: 22px;
        height: 22px;
    }

    .clinic-icons img[alt="카카오톡"] {
        width: 28px;
        height: 36px;
    } */


    /* 연락처 정보 모바일 최적화 */
    .clinic-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .clinic-contact strong {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .clinic-contact .phone-number {
        font-size: 24px;
    }
}

/* 데스크톱에서는 기존 스타일 유지 */
@media (min-width: 769px) {
    .bottom-bar-toggle {
        display: none;
    }

    .bottom-bar-content {
        display: contents;
    }
}