/* ===========================================
   5聽 원인교정 시스템 페이지 스타일
   =========================================== */

.banner-title>span {
    font-weight: 500;
    font-size: 41px;
}

.banner-decorations {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: 660px;
    pointer-events: none;
    z-index: 2;
}


/* ===========================================
   장식 요소 섹션
   =========================================== */

.decoration-section {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.decoration-circles {
    position: relative;
    width: 40px;
    height: 172px;
}

.decoration-circles:before {
    content: "";
    height: 120px;
    width: 2px;
    background: linear-gradient(to bottom, #fff 0%, #005E32 100%);
    position: absolute;
    top: 33px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.decoration-circles .circle-large {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    top: 132px;
    opacity: 0.10;
    background: #41D891;
    border-radius: 50%;
}

.decoration-circles .circle-medium {
    position: absolute;
    width: 22px;
    height: 22px;
    left: 9px;
    top: 141px;
    opacity: 0.10;
    background: #005E32;
    border-radius: 50%;
}

.decoration-circles .circle-small {
    position: absolute;
    width: 10px;
    height: 10px;
    left: 15px;
    top: 147px;
    opacity: 0.20;
    background: #005E32;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}

.decoration-circles .circle-tiny {
    position: absolute;
    width: 4px;
    height: 4px;
    left: 18px;
    top: 150px;
    background: #005E32;
    border-radius: 50%;
}


/* ===========================================
   중앙 타이틀 섹션
   =========================================== */

.system-intro {
    width: 100%;
    padding: 70px 0 0;
    text-align: center;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.intro-number {
    color: #111111;
    font-size: 100px;
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
    line-height: 100px;
    margin: 0;
}

.intro-title {
    color: #3E3E3E;
    font-size: 36px;
    font-family: 'MaruBuriOTF', 'MaruBuri', 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 57.6px;
    margin: 0;
}


/* ===========================================
   5감 소개 섹션
   =========================================== */

.five-senses-intro {
    width: 100%;
    padding: 180px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.intro-text-wrapper {
    text-align: center;
    max-width: 800px;
}

.main-title {
    color: #3E3E3E;
    font-size: 56px;
    font-family: 'MaruBuriOTF', 'MaruBuri', 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 89.6px;
    margin: 0 0 23px 0;
}

.sub-title {
    color: #3E3E3E;
    font-size: 36px;
    font-family: 'MaruBuriOTF', 'MaruBuri', 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 57.6px;
    margin: 0 0 24px 0;
}

.description {
    color: #555555;
    font-size: 20px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 32px;
    margin: 0;
}


/* ===========================================
   5감 카드 슬라이더 섹션
   =========================================== */

.five-senses-cards {
    width: 100%;
    padding: 60px 0;
}

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

.senses-swiper {
    width: 100%;
    overflow: visible;
}

.senses-swiper .swiper-wrapper {
    align-items: center;
}

.sense-card {
    width: 100%;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.sense-image {
    width: 380px;
    height: 348px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.sense-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sense-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sense-title {
    color: #111111;
    font-size: 30px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    line-height: 30px;
    margin: 0;
}

.sense-badge {
    color: #555555;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    line-height: 16px;
}

.sense-description {
    color: #767676;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 16px;
    text-align: center;
    margin: 0;
}


/* ===========================================
   상세 시스템 섹션
   =========================================== */

.detailed-systems {
    width: 100%;
    max-width: 1197px;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    gap: 46px;
}

.system-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 44px;
}

.system-image-wrapper {
    flex: 1;
    height: 500px;
    position: relative;
    overflow: hidden;
}

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

.system-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.system-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.system-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.system-title {
    color: #005E32;
    font-size: 32px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 32px;
    margin: 0;
}

.system-badge {
    padding: 8px 12px;
    background: #005E32;
    border-radius: 4px;
    color: white;
    font-size: 24px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 24px;
}

.system-subtitle {
    color: #555555;
    font-size: 22px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    line-height: 35.2px;
    margin: 0;
}

.system-description {
    color: #555555;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 25.6px;
    margin: 0;
}

.system-treatments {
    padding: 30px 20px;
    background: #F7F7FB;
    border-radius: 16px;
    border: 1px solid #E5E5EC;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.treatment-item {
    display: flex;
    flex-direction: column;
}

.treatment-item strong {
    color: #555555;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    line-height: 25.6px;
}

.treatment-item span {
    color: #555555;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 25.6px;
}

.system-number {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 100px;
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
    line-height: 100px;
    z-index: 2;
    background: linear-gradient(to left, #C9D1CE 0%, #D8DEDC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ===========================================
   치료 과정 섹션
   =========================================== */

.treatment-process {
    width: 100%;
    padding: 180px 360px;
    background: #F7FBF7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 75px;
}

.process-header {
    text-align: center;
}

.process-title {
    color: #3E3E3E;
    font-size: 36px;
    font-family: 'MaruBuriOTF', 'MaruBuri', 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 57.6px;
    margin: 0;
}

.process-steps {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 12px;
}

.step-item {
    flex: 1;
    height: 500px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #7D7D7D;
    opacity: 0.8;
}

.step-image {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.step-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 227px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, black 100%);
}

.step-content {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 122px;
}

.step-label {
    color: white;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 25.6px;
    margin-bottom: 8px;
}

.step-title {
    color: white;
    font-size: 34px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 54.4px;
    margin: 0;
}

.step-duration {
    color: white;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 25.6px;
    margin: 8px 0 0 0;
}


/* 화살표 아이콘 */

.arrow-icon {
    width: 60px;
    height: 60px;
    background: #F7FBF7;
    border-radius: 50%;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 -35px;
    position: relative;
    z-index: 2;
}


/* ===========================================
   하단 치료법 섹션 (호버 효과)
   =========================================== */

.treatment-methods {
    width: 100%;
    display: flex;
    height: 400px;
}

.method-item {
    flex: 1;
    position: relative;
    background: black;
    overflow: hidden;
    transition: flex 0.5s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.method-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.method-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.method-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.method-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    transition: transform 0.3s ease;
    width: max-content;
}

.method-title {
    color: white;
    font-size: 32px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    line-height: 51.2px;
    margin: 0;
}

.method-subtitle {
    color: white;
    font-size: 20px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 32px;
    margin: 5px 0 0 0;
}

.method-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(128deg, #2D3C17 0%, #090D04 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}


/* PC 호버 효과 */

@media (min-width: 1025px) {
    .method-item:hover {
        flex: 2;
    }
    .method-item:hover .method-bg-overlay {
        opacity: 0.6;
    }
    .method-item:hover .method-image img {
        opacity: 0.6;
    }
    .method-item:not(:hover) {
        flex: 0.5;
    }
}


/* ===========================================
   반응형 - 태블릿 (1024px 이하)
   =========================================== */

@media (max-width: 1024px) {
    .banner-title>span {
        font-size: 30px;
    }
    .main-banner {
        padding: 0px 0px 0;
        height: auto;
        min-height: auto;
    }
    .banner-decorations {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        transform: none;
        max-width: 90%;
        pointer-events: none;
        z-index: 2;
        margin: 0 auto;
        padding: 0;
        padding-top: 40px;
        margin-bottom: -70px;
    }
    /* 장식 요소 */
    .decoration-section {}
    .decoration-circles {
        width: 30px;
        height: 120px;
    }
    .decoration-circles:before {
        content: "";
        height: 70px;
    }
    .decoration-circles .circle-large {
        width: 30px;
        height: 30px;
        top: 90px;
    }
    .decoration-circles .circle-medium {
        width: 16px;
        height: 16px;
        left: 7px;
        top: 97px;
    }
    .decoration-circles .circle-small {
        width: 8px;
        height: 8px;
        left: 11px;
        top: 101px;
    }
    .decoration-circles .circle-tiny {
        width: 3px;
        height: 3px;
        left: 13.5px;
        top: 103.5px;
    }
    /* 중앙 타이틀 */
    .system-intro {
        padding-top: 30px;
    }
    .intro-number {
        font-size: 60px;
        line-height: 60px;
    }
    .intro-title {
        font-size: 32px;
        line-height: 51.2px;
    }
    /* 5감 소개 */
    .five-senses-intro {
        padding: 116px 16px 60px;
    }
    .main-title {
        font-size: 32px;
        line-height: 51.2px;
    }
    .sub-title {
        font-size: 20px;
        line-height: 32px;
    }
    .description {
        font-size: 14px;
        line-height: 22.4px;
    }
    /* 5감 카드 슬라이더 */
    .five-senses-cards {
        padding: 40px 0;
    }
    .senses-swiper .swiper-slide {
        width: 200px;
    }
    .sense-card {
        height: auto;
        gap: 20px;
    }
    .sense-image {
        width: 200px;
        height: 180px;
    }
    .sense-title {
        font-size: 24px;
        line-height: 24px;
    }
    .sense-badge {
        font-size: 14px;
        line-height: 14px;
    }
    .sense-description {
        font-size: 12px;
        line-height: 12px;
    }
    /* 상세 시스템 */
    .detailed-systems {
        padding: 0px 16px;
        gap: 40px;
        max-width: none;
        margin: 25px 0 80px;
    }
    .system-item {
        flex-direction: column;
        gap: 0px;
        align-items: flex-start;
    }
    .system-image-wrapper {
        width: 100%;
        height: 300px;
    }
    .system-content {
        width: 100%;
    }
    .system-title {
        font-size: 28px;
        line-height: 28px;
    }
    .system-badge {
        font-size: 20px;
        line-height: 20px;
    }
    .system-subtitle {
        font-size: 20px;
        line-height: 32px;
    }
    .system-number {
        position: static;
        text-align: center;
        font-size: 80px;
        line-height: 80px;
        margin-bottom: 20px;
        right: auto;
        margin-top: -40px;
    }
    /* 치료 과정 */
    .treatment-process {
        padding: 80px 16px;
        gap: 30px;
    }
    .process-title {
        font-size: 21px;
        line-height: 33.6px;
    }
    .process-steps {
        flex-direction: column;
    }
    .arrow-icon {
        transform: rotate(90deg);
        margin: -35px 0;
    }
    .step-item {
        width: 100%;
        height: 300px;
        flex: auto;
    }
    .step-content {
        min-height: 80px;
        bottom: 28px;
        justify-content: flex-end;
    }
    .step-title {
        font-size: 24px;
        line-height: 38.4px;
    }
    /* 하단 치료법 */
    .treatment-methods {
        display: grid;
        /* flex-direction: column; */
        height: auto;
        grid-template-columns: repeat(2, 1fr);
    }
    .method-item {
        height: 200px;
        transition: none;
    }
    .method-overlay {
        background: rgb(0 0 0 / 10%);
    }
    .method-title {
        font-size: 20px;
        line-height: 32px;
    }
    .method-subtitle {
        font-size: 14px;
        line-height: 22.4px;
    }
    .method-item:first-child {
        grid-column: 2 span;
    }
    /* 모바일에서는 호버 효과 제거 */
    .method-item:hover {
        flex: 1;
    }
    .method-item:hover .method-bg-overlay {
        opacity: 0;
    }
    .method-item:not(:hover) {
        flex: 1;
    }
    .method-item:first-child .method-content {
        transform: translate(0, -50%);
        left: 32px;
        text-align: left;
    }
    .method-item:first-child .method-image img {
        opacity: 1;
    }
    .method-item:first-child .method-image .method-overlay {
        display: none;
    }
}


/* ===========================================
   반응형 - 작은 모바일 (480px 이하)
   =========================================== */

@media (max-width: 480px) {
    .intro-number {
        font-size: 48px;
        line-height: 48px;
    }
    .intro-title {
        font-size: 24px;
        line-height: 38.4px;
    }
    .system-title {
        font-size: 24px;
        line-height: 24px;
    }
    .system-badge {
        font-size: 16px;
        line-height: 16px;
    }
    .system-subtitle {
        font-size: 18px;
        line-height: 28.8px;
    }
}