.sticky-reveal-text-section {
    position: relative;
    height: 220vh;
    background: var(--color-bright);
}

.sticky-reveal-text-section__sticky {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.sticky-reveal-text-section__inner {
    width: 100%;
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 var(--layout-side-margin);
    text-align: center;
}

.sticky-reveal-text-section__eyebrow {
    margin: 0;
    font-size: var(--font-size-xxlarge);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-point);
}

.sticky-reveal-text-section__title {
    margin: 60px 0 0;
    font-size: var(--font-size-huge);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
    word-break: keep-all;
}

.sticky-reveal-text-section__desc {
    max-width: 1100px;
    margin: 40px auto 0;
    font-size: var(--font-size-exlarge);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-dark);
    word-break: keep-all;
}

.reveal-char {
    color: #d9d9d9;
    transition: color 0.18s linear;
}

.reveal-char.is-visible {
    color: var(--color-dark);
}

.reveal-char.is-space {
    display: inline;
}

@media (max-width: 1024px) {
    .sticky-reveal-text-section {
        height: 180vh;
    }

    .sticky-reveal-text-section__title {
        margin-top: var(--gap-40);
        font-size: var(--font-size-xxxxxlarge);
    }

    .sticky-reveal-text-section__desc {
        margin-top: var(--gap-30);
        font-size: var(--font-size-xlarge);
    }
}

@media (max-width: 767px) {
    .sticky-reveal-text-section {
        height: 160vh;
    }

    .sticky-reveal-text-section__inner {
        padding: 0 25px;
    }

    .sticky-reveal-text-section__eyebrow {
        font-size: var(--font-size-large);
    }

    .sticky-reveal-text-section__title {
        margin-top: var(--gap-30);
        font-size: var(--font-size-xxxxlarge);
        line-height: 1.4;
    }

    .sticky-reveal-text-section__desc {
        margin-top: var(--gap-20);
        font-size: var(--font-size-large);
        line-height: 1.7;
    }
}


/*-------------------------------------------------------*/

.service-scope-section {
    position: relative;
    background: var(--color-background);
    height: 520vh;
}

.service-scope-section__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.service-scope-section__inner {
    max-width: var(--layout-width);
    height: 100%;
    margin: 0 auto;
    padding: var(--gap-140) var(--layout-side-margin);
}

.service-scope-section__head {
    text-align: center;
}

.service-scope-section__eyebrow {
    margin: 0;
    font-size: var(--font-size-xxlarge);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-point);
}

.service-scope-section__title {
    margin: var(--gap-30) 0 0;
    font-size: var(--font-size-huge);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-dark);
}

.service-scope-section__body {
    position: relative;
    height: calc(100% - 180px);
    margin-top: var(--gap-80);
}

.service-scope-section__image-area {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.service-scope-section__image-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1.12;
    background: #ddd;
}

.service-scope-section__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-scope-section__image.is-active {
    opacity: 1;
    transform: scale(1);
}

.service-scope-section__text-area {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.service-scope-section__track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(0);
    will-change: transform;
}

.service-scope-section__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
    width: 340px;
}

.service-scope-section__item.is-left {
    margin-right: auto;
    padding-right: 40px;
    text-align: right;
}

.service-scope-section__item.is-right {
    margin-left: auto;
    padding-left: 40px;
    text-align: left;
}



.service-scope-section__item-title {
    margin: 0;
    font-size: var(--font-size-xxlarge);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-dark);
}

.service-scope-section__list {
    margin: var(--gap-30) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-border);
}

.service-scope-section__list li {
    position: relative;
    margin: 0;
    padding: 18px 0 18px 30px;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-normal);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-font);
    text-align: left;
}

.service-scope-section__item.is-left .service-scope-section__list li {
    padding: 18px 30px 18px 0;
    text-align: right;
}

.service-scope-section__list li::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0;
    width: 18px;
    height: 18px;
    background: url("/project/templates/image/services/checkbox-circle-fill.svg") no-repeat center center / contain;
}

.service-scope-section__item.is-left .service-scope-section__list li::before {
    left: auto;
    right: 0;
}

/* 항목별 이미지 - 데스크탑에서 숨김 */
.service-scope-section__item-image {
    display: none;
}

@media (max-width: 1280px) {
    .service-scope-section__image-area {
        width: 300px;
    }

    .service-scope-section__item {
        width: 300px;
        min-height: 500px;
    }
}

@media (max-width: 1024px) {
    .service-scope-section {
        height: auto;
    }

    .service-scope-section__sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .service-scope-section__inner {
        padding: var(--gap-100) var(--layout-side-margin);
    }

    .service-scope-section__body {
        height: auto;
        margin-top: var(--gap-60);
    }

    /* 공용 이미지 영역 숨김 - 항목별 이미지로 대체 */
    .service-scope-section__image-area {
        display: none;
    }

    .service-scope-section__text-area {
        height: auto;
        overflow: visible;
    }

    .service-scope-section__track {
        position: static;
        transform: none !important;
    }

    .service-scope-section__item {
        width: 100%;
        min-height: auto;
        margin: 0 0 var(--gap-60);
        padding: 0;
        opacity: 1;
        text-align: left;
    }

    .service-scope-section__item.is-left,
    .service-scope-section__item.is-right {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .service-scope-section__item.is-left .service-scope-section__list li {
        padding: 18px 0 18px 30px;
        text-align: left;
    }

    .service-scope-section__item.is-left .service-scope-section__list li::before {
        right: auto;
        left: 0;
    }

    /* 항목별 이미지 표시 */
    .service-scope-section__item-image {
        display: block;
        width: 100%;
        margin-bottom: var(--gap-30);
        overflow: hidden;
        aspect-ratio: 16 / 9;
    }

    .service-scope-section__item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

@media (max-width: 767px) {
    .service-scope-section__inner {
        padding: var(--gap-80) 25px;
    }

    .service-scope-section__eyebrow {
        font-size: var(--font-size-large);
    }

    .service-scope-section__title {
        margin-top: var(--gap-20);
        font-size: var(--font-size-xxxxlarge);
        line-height: 1.4;
    }

    .service-scope-section__body {
        margin-top: var(--gap-40);
    }

    .service-scope-section__item-title {
        font-size: var(--font-size-large);
    }

    .service-scope-section__list {
        margin-top: var(--gap-20);
    }

    .service-scope-section__list li {
        padding: 14px 0 14px 26px;
        font-size: var(--font-size-small);
    }

    .service-scope-section__list li::before {
        top: 20px;
        width: 16px;
        height: 16px;
    }
}


/*-------------------------------------------------------
  grout-intro-section  (줄눈시공 소개 – 왼쪽 스크롤 / 오른쪽 고정 이미지)
-------------------------------------------------------*/

.grout-intro-section {
    position: relative;
    height: 400vh;
    background: var(--color-bright);
}

.grout-intro-section__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.grout-intro-section__layout {
    display: flex;
    width: 100%;
    height: 100%;
	justify-content: space-between;
}

/* ── 왼쪽 텍스트 컬럼 ── */
.grout-intro-section__text-col {
    position: relative;
    width: 50%;
	max-width:570px;
    height: 100%;
    overflow: hidden;
}

.grout-intro-section__text-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
}

.grout-intro-section__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    padding: 0 var(--gap-80) 0 var(--layout-side-margin);
}

.grout-intro-section__eyebrow {
    margin: 0;
    font-size: var(--font-size-xlarge);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-point);
}

.grout-intro-section__title {
    margin: var(--gap-10) 0 0;
    font-size: var(--font-size-xxxxlarge);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-dark);
    word-break: keep-all;
}

.grout-intro-section__desc {
    margin: var(--gap-20) 0 0;
    font-size: var(--font-size-large);
    font-weight: 400;
    line-height: 1.9;
    color: #838383;
    word-break: keep-all;
}

.grout-intro-section__recommend-list {
    margin: var(--gap-20) 0 0;
    padding: 0;
    list-style: none;
}

.grout-intro-section__recommend-list li {
    display: flex;
    align-items: center;
    gap: var(--gap-20);
    padding: 12px 0;
    font-size: var(--font-size-large);
    font-weight: 400;
    line-height: 1.6;
    color: #838383;
}

.grout-intro-section__recommend-list li::before {
    content: "";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: url("/project/templates/image/services/checkbox-circle-fill.svg") no-repeat center center / contain;
}

/* 모바일 이미지 – 데스크탑에서 숨김 */
.grout-intro-section__mobile-img {
    display: none;
}

/* ── 오른쪽 이미지 컬럼 ── */
.grout-intro-section__image-col {
    position: relative;
    width: 50%;
    height: 100%;
    flex-shrink: 0;
}

.grout-intro-section__image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

/* nth-child z-index: 마지막(4번째)이 최상단 → 처음 표시 */
.grout-intro-section__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.grout-intro-section__img:nth-child(1) { z-index: 1; }
.grout-intro-section__img:nth-child(2) { z-index: 2; }
.grout-intro-section__img:nth-child(3) { z-index: 3; }
.grout-intro-section__img:nth-child(4) { z-index: 4; opacity: 1; } /* 초기값: 처음 표시 이미지 */

/* ── 태블릿 / 모바일 (≤1024px) ── */
@media (max-width: 1024px) {
    .grout-intro-section {
        height: auto;
    }

    .grout-intro-section__sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .grout-intro-section__layout {
        flex-direction: column;
    }

    .grout-intro-section__text-col {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .grout-intro-section__text-track {
        position: static;
        transform: none !important;
    }

    .grout-intro-section__panel {
        height: auto;
        justify-content: flex-start;
        padding: var(--gap-80) var(--layout-side-margin);
    }

    /* 모바일 이미지 표시 */
    .grout-intro-section__mobile-img {
        display: block;
        width: 100%;
        margin-bottom: var(--gap-30);
        overflow: hidden;
        aspect-ratio: 16 / 9;
    }

    .grout-intro-section__mobile-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* 오른쪽 이미지 컬럼 숨김 */
    .grout-intro-section__image-col {
        display: none;
    }

    .grout-intro-section__title {
        font-size: var(--font-size-xxlarge);
    }
}

@media (max-width: 767px) {
    .grout-intro-section__panel {
        padding: var(--gap-60) 25px;
    }

    .grout-intro-section__eyebrow {
        font-size: var(--font-size-normal);
    }

    .grout-intro-section__title {
        font-size: var(--font-size-xlarge);
        margin-top: var(--gap-5);
    }

    .grout-intro-section__desc {
        font-size: var(--font-size-normal);
        margin-top: var(--gap-15);
    }

    .grout-intro-section__recommend-list li {
        font-size: var(--font-size-normal);
        gap: var(--gap-15);
    }

    .grout-intro-section__recommend-list li::before {
        width: 20px;
        height: 20px;
    }
}

/*--------------------------CTA 문의 영역----------------------------*/

.main-contact-banner {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
}

.main-contact-banner__bg {
    position: absolute;
    inset: -15% 0;
    will-change: transform;
}

.main-contact-banner__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-contact-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.main-contact-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1000px;
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: var(--gap-140) var(--layout-side-margin);
}

.main-contact-banner__content {
    width: 100%;
    max-width: 1080px;
    text-align: center;
}

.main-contact-banner__eyebrow {
    margin: 0;
    font-size: var(--font-size-xxlarge);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-point);
}

.main-contact-banner__title {
    margin: var(--gap-60) 0 0;
    font-size: var(--font-size-huge);
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-bright);
    word-break: keep-all;
}

.main-contact-banner__desc {
    margin: var(--gap-140) 0 0;
    font-size: var(--font-size-xxlarge);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    word-break: keep-all;
}

.main-contact-banner__button-wrap {
    display: flex;
    justify-content: center;
    margin-top: var(--gap-60);
}




.btn-fill-hover--light .btn-fill-hover__icon svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}


@media (max-width: 1280px) {
    .main-contact-banner__inner {
        min-height: 860px;
    }

    .main-contact-banner__title {
        font-size: var(--font-size-xxxxxlarge);
    }

    .main-contact-banner__desc {
        margin-top: var(--gap-100);
        font-size: var(--font-size-xlarge);
    }
}

@media (max-width: 1024px) {
    .main-contact-banner__inner {
        min-height: 760px;
        padding: var(--gap-100) var(--layout-side-margin);
    }

    .main-contact-banner__eyebrow {
        font-size: var(--font-size-large);
    }

    .main-contact-banner__title {
        margin-top: var(--gap-40);
        font-size: var(--font-size-xxxxlarge);
    }

    .main-contact-banner__desc {
        margin-top: var(--gap-80);
        font-size: var(--font-size-large);
    }
}

@media (max-width: 767px) {
    .main-contact-banner__inner {
        min-height: 620px;
        padding: var(--gap-80) 25px;
    }

    .main-contact-banner__content {
        max-width: 100%;
    }

    .main-contact-banner__eyebrow {
        font-size: var(--font-size-normal);
    }

    .main-contact-banner__title {
        margin-top: var(--gap-30);
        font-size: var(--font-size-xxxxlarge);
        line-height: 1.45;
    }

    .main-contact-banner__desc {
        margin-top: var(--gap-50);
        font-size: var(--font-size-normal);
        line-height: 1.7;
    }

    .main-contact-banner__button-wrap {
        margin-top: var(--gap-40);
    }

    .btn-fill-hover--light .btn-fill-hover__icon svg {
        width: 16px;
        height: 16px;
    }
}
