@charset "utf-8";

/* =================================================================
   에코원클린 서브페이지 전용 스타일 시트
   파일명: /assets/css/contents.css
   ================================================================= */

:root {
    --color-navy: var(--color-primary-dark); /* 딥그린 테마에 맞춘 메인 포인트 다크 컬러 */
    --color-border: var(--color-line);       /* 딥그린 테마의 기본 보더선 */
    --color-text-body: var(--color-muted);   /* 딥그린 테마의 본문 텍스트 컬러 */
    --color-bg-light: var(--color-panel);    /* 딥그린 테마의 연한 배경색 */
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* =========================================
   1. 서브페이지 공통 Hero (Page Top)
   ========================================= */
.page-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background: #101827;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    --page-hero-image: url("../images/hero-bg.webp");
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%), var(--page-hero-image);
    background-position: center;
    background-size: cover;
    z-index: -2;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 36%;
    background: linear-gradient(180deg, rgba(16, 24, 39, 0) 0%, rgba(16, 24, 39, 0.35) 100%);
    z-index: -1;
}

.page-hero--removal {
    --page-hero-image: url("/assets/images/clean-office-after.webp");
    background-position: center;
}

.page-hero--office {
    --page-hero-image: url("../images/ecowon-office-intro-clean-20260620.webp");
    background-position: center;
}

.page-hero--store {
    --page-hero-image: url("../images/ecowon-store-intro-clean-20260620.webp");
    background-position: center;
}

.page-hero--government {
    --page-hero-image: url("../images/ecowon-government-intro-clean-20260620.webp");
    background-position: center;
}

.page-hero--school {
    --page-hero-image: url("../images/ecowon-school-intro-clean-20260620.webp");
    background-position: center;
}

.page-hero--regular {
    --page-hero-image: url("../images/ecowon-hero-regular-20260629.webp");
    background-position: center;
}

.page-hero--grout {
    --page-hero-image: url("../images/ecowon-hero-grout-20260629.webp");
    background-position: center;
}

.page-hero--about {
    --page-hero-image: url("../images/hero-about.webp");
    background-position: center;
}

.page-hero--building {
    --page-hero-image: url("/assets/images/building-services/ecowon-building-hero-20260620.webp");
    background-position: center;
}

.page-hero--outerwall {
    --page-hero-image: url("/assets/images/building-services/ecowon-outerwall-hero-20260620.webp");
    background-position: center;
}

.page-hero--facility {
    --page-hero-image: url("/assets/images/building-services/ecowon-facility-hero-20260620.webp");
    background-position: center;
}

.page-hero--home {
    --page-hero-image: url("../images/ecowon-hero-residential-premium-1920x800-20260619.webp");
    background-position: center;
}

.page-hero--move {
    --page-hero-image: url("../images/ecowon-hero-move-cleaning.webp");
    background-position: center;
}

.page-hero--organizer {
    --page-hero-image: url("../images/ecowon-hero-organizer-cleaning.webp");
    background-position: center;
}

.page-hero--tile {
    --page-hero-image: url("../images/ecowon-hero-tile-20260629.webp");
    background-position: center;
}

.page-hero--polishing {
    --page-hero-image: url("../images/ecowon-hero-polishing-20260629.webp");
    background-position: center;
}

.page-hero--elastic {
    --page-hero-image: url("../images/homecare-generated-20260622/elastic-balcony-after-20260622.webp");
    background-position: center;
}

.page-hero--certificates {
    --page-hero-image: url("../images/certificates_overview_v2.webp");
    background-position: center;
}

.page-hero--location {
    --page-hero-image: url("../images/ecowon-about-hero-20260619.webp");
    background-position: center;
}

.page-hero--support {
    --page-hero-image: url("/assets/images/ecowon-clean-tools-regen-20260619.webp");
    background-position: center;
}

.page-hero--aircon {
    --page-hero-image: url("../images/aircon-service-20260626-unique/aircon-hero-20260626.webp");
    background-position: center;
}

.page-hero--sysaircon {
    --page-hero-image: url("../images/aircon-service-20260626-unique/sysaircon-hero-20260626.webp");
    background-position: center;
}

.page-hero__inner {
    position: relative;
    color: var(--color-white);
    padding: 0 24px;
    width: 100%;
    max-width: var(--container);
}

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0;
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-hero__text {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.92;
    word-break: keep-all;
    line-height: 1.6;
}

.page-hero__text span {
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .page-hero {
        height: 320px;
    }
    .page-hero__title {
        font-size: 32px;
    }
    .page-hero__text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 260px;
    }
    .page-hero__eyebrow {
        font-size: 11px;
        margin-bottom: 10px;
    }
    .page-hero__title {
        font-size: 26px;
    }
    .page-hero__text {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* =========================================
   2. 회사소개 페이지 (.page-about)
   ========================================= */
.page-about {
    padding: 100px 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 0;
    padding-bottom: 100px;
}

.about-intro__media {
    flex: 1;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--color-border);
    background: var(--color-panel);
}

.about-intro__media img,
.service-overview__media img,
.service-features__media img,
.service-steps__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro__content {
    flex: 1.2;
}

.about-intro__text {
    font-size: 17px;
    color: var(--color-text-body);
    line-height: 1.8;
}

.about-intro__text p {
    margin-bottom: 16px;
}

.about-intro__text p:last-child {
    margin-bottom: 0;
}

.about-proof-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.about-proof-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(4, 132, 109, 0.12);
    border-radius: var(--radius-md);
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 800;
}

.about-proof-list .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-size: 22px;
}

.about-vision {
    padding: 0 0 100px;
}

.about-vision__panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: stretch;
    padding: 58px;
    border: 1px solid rgba(4, 132, 109, 0.12);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-white) 0%, #f4faf8 100%);
    box-shadow: var(--shadow-card);
}

.about-vision__content {
    align-self: center;
}

.about-vision__text {
    margin-top: 22px;
    color: var(--color-text-body);
    font-size: 17px;
    line-height: 1.8;
}

.about-vision__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-vision__metric {
    min-height: 220px;
    padding: 28px 22px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 26px rgba(8, 34, 62, 0.05);
}

.about-vision__metric strong {
    display: block;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.about-vision__metric span {
    display: block;
    color: var(--color-primary-dark);
    font-size: 22px;
    font-weight: 850;
    margin-bottom: 12px;
}

.about-vision__metric p {
    color: var(--color-text-body);
    font-size: 14.5px;
    line-height: 1.65;
}

.about-values {
    margin-bottom: 0;
}

.about-standards {
    padding: 100px 0;
    background: var(--color-white);
}

.about-standards__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.about-standards__card {
    position: relative;
    min-height: 260px;
    padding: 34px 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.about-standards__card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 13px;
    font-weight: 900;
}

.about-standards__card h3 {
    color: var(--color-primary-dark);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.4;
    margin-bottom: 14px;
}

.about-standards__card p {
    color: var(--color-text-body);
    font-size: 15px;
    line-height: 1.75;
}

.about-company {
    padding: 0 0 100px;
}

.about-company__panel {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 58px;
    padding: 56px;
    border-radius: var(--radius-lg);
    background: var(--color-primary-deep);
    color: var(--color-white);
    box-shadow: var(--shadow-lift);
}

.about-company__head .section-header__eyebrow,
.about-company__head .section-header__title {
    color: var(--color-white);
}

.about-company__text {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.75;
}

.about-company__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-company__list div {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
}

.about-company__list .about-company__wide {
    grid-column: 1 / -1;
}

.about-company__list dt {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 800;
}

.about-company__list dd {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.55;
}

.about-company__list a {
    color: inherit;
}

@media (max-width: 1024px) {
    .page-about {
        padding: 60px 0;
    }
    .about-intro {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 0;
        padding-bottom: 60px;
    }
    .about-intro__title {
        font-size: 30px;
    }
    .about-intro__text {
        font-size: 16px;
    }
    .about-proof-list {
        grid-template-columns: 1fr;
    }
    .about-vision {
        padding-bottom: 60px;
    }
    .about-vision__panel {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 34px;
    }
    .about-standards {
        padding: 70px 0;
    }
    .about-standards__grid {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }
    .about-company {
        padding-bottom: 70px;
    }
    .about-company__panel {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .about-vision__panel,
    .about-company__panel {
        padding: 30px 22px;
    }
    .about-vision__metrics {
        grid-template-columns: 1fr;
    }
    .about-vision__metric {
        min-height: auto;
    }
    .about-company__list {
        grid-template-columns: 1fr;
    }
    .about-standards__card {
        min-height: auto;
        padding: 28px 22px;
    }
}

/* =========================================
   3. 서비스 상세 페이지 공통 레이아웃
   ========================================= */
.page-service-detail {
    padding: 100px 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.about-intro__eyebrow,
.service-overview__eyebrow,
.section-header__eyebrow {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.3;
}

.about-intro__title,
.service-overview__title,
.section-header__title {
    font-size: 38px;
    font-weight: 800;
    color: #000000;
    line-height: 1.28;
}

.section-header__title {
    margin-bottom: 12px;
}

.section-header__text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    color: #64748b;
    line-height: 1.55;
}

.section-header {
    margin-bottom: 50px;
}

.about-intro__title,
.service-overview__title {
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .about-intro__title,
    .service-overview__title,
    .section-header__title {
        font-size: 30px !important;
    }
}

@media (max-width: 768px) {
    .about-intro__title,
    .service-overview__title,
    .section-header__title {
        font-size: 26px !important;
    }
    .section-header__text {
        padding: 0 20px;
        font-size: 16px;
        word-break: keep-all;
    }
}

@media (max-width: 1024px) {
    .page-service-detail {
        padding: 60px 0;
    }
}

/* 서비스 개요 (Overview) */
.service-overview {
    display: flex;
    align-items: stretch;
    gap: 80px;
    margin-bottom: 0;
    padding-bottom: 100px;
    position: relative;
}

.service-overview__content {
    flex: 1.2;
}

.service-overview__text {
    font-size: 17px;
    color: var(--color-text-body);
    line-height: 1.55;
    margin-bottom: 30px;
}

.service-overview__signature {
    margin-top: 30px;
    color: var(--color-text-dark, #13211d);
    font-size: 1.1rem;
    font-weight: 700;
}

/* 3대 핵심 가치 배지 */
.overview-badges {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.overview-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary-soft);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.overview-badge-item span.icon {
    font-size: 18px;
    color: var(--color-primary);
}

.service-overview__media {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--color-border);
    background: var(--color-panel);
    position: relative;
}

.service-overview__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.03);
    pointer-events: none;
}

@media (max-width: 1024px) {
    .service-overview {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }
    .service-overview__title {
        font-size: 30px;
    }
    .service-overview__text {
        font-size: 16px;
    }
    .overview-badges {
        flex-wrap: wrap;
        gap: 10px;
    }
    .overview-badge-item {
        width: 100%;
        justify-content: center;
    }
}

/* 추천 타겟 체크리스트 (Target Recommendation) */
.service-targets {
    background: var(--color-bg-light);
    padding: 100px 0;
    margin-bottom: 0;
    position: relative;
}

.service-targets__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.service-targets__card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(4, 132, 109, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-targets__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(4, 132, 109, 0.1);
    border-color: var(--color-primary);
    background: var(--color-white);
}

.service-targets__card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-targets__icon {
    font-size: 32px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

.service-targets__card:hover .service-targets__icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.service-targets__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 6px 12px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    margin-bottom: 0;
}

.service-targets__card:hover .service-targets__badge {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.service-targets__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
    line-height: 1.42;
}

.service-targets__text {
    font-size: 15px;
    color: var(--color-text-body);
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-targets__arrow {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    gap: 4px;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s;
}

.service-targets__card:hover .service-targets__arrow {
    transform: translateX(6px);
    opacity: 1;
}

@media (max-width: 1200px) {
    .service-targets__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-targets {
        padding: 60px 0;
    }
    .service-targets__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-targets__card {
        padding: 30px 20px;
    }
}

/* 서비스 과정 및 기법 (Technology / Process Grid) */
.service-steps {
    padding: 100px 0;
    margin-bottom: 0;
    position: relative;
}

.service-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    margin-top: 50px;
}

.service-steps__card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-steps__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.service-steps__card-media {
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
    background: var(--color-panel);
}

.service-steps__card-media img {
    transition: transform 0.5s ease;
}

.service-steps__card:hover .service-steps__card-media img {
    transform: scale(1.05);
}

.service-steps__card-body {
    padding: 30px 24px;
    flex-grow: 1;
}

.service-steps__card-number {
    font-size: 12px;
    font-weight: 850;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    display: block;
    line-height: 1.3;
}

.service-steps__card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
    line-height: 1.28;
}

.service-steps__card-text {
    font-size: 14.5px;
    color: var(--color-text-body);
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .service-steps {
        padding: 60px 0;
    }
    .service-steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 768px) {
    .service-steps__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        margin-top: 30px;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        scroll-padding-left: 20px;
        padding-inline: 20px;
        margin-inline: -20px;
    }

    .service-steps__card {
        flex-shrink: 0;
        width: 80%;
        scroll-snap-align: start;
        box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    }

    .service-steps__card-media {
        aspect-ratio: 16 / 9;
    }
}

/* Before/After 이미지 슬라이더 (.service-gallery) */
.service-gallery {
    padding: 100px 0;
    background: var(--color-white);
    margin-bottom: 0;
}

.service-gallery__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container);
    margin: 50px auto 0 auto;
}

.service-gallery__info-panel {
    display: flex;
    flex-direction: column;
}

.service-gallery__info-panel .section-header {
    text-align: left !important;
}

.service-gallery__info-panel .section-header__title {
    margin-bottom: 16px;
}

.service-gallery__info-panel .section-header__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.before-after-slider-wrap {
    width: 100%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--color-border);
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    background: var(--color-panel);
}

.before-after-slider .before-after-slider__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.before-after-slider .before-after-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    pointer-events: none;
}

.before-after-slider .before-after-slider__image:nth-child(1) {
    z-index: 2;
}

.before-after-slider .before-after-slider__image:nth-child(2) {
    z-index: 1;
}

.before-after-slider .before-after-slider__handle {
    position: absolute;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--color-white);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-after-slider .before-after-slider__handle::after {
    content: "< >";
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    color: #111111;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.05em;
    font-family: inherit;
    transition: background-color 0.3s, transform 0.2s;
}

.before-after-slider .before-after-slider__handle:hover::after {
    background: #f8f9fa;
    transform: scale(1.05);
}

/* 이미지 배지 스타일 (이전/이후 미니멀 라운드 필 뱃지 이관) */
.finder-slider-label {
    position: absolute;
    top: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border-radius: 30px;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.finder-slider-label::before {
    display: none;
}

.finder-slider-label--before {
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.finder-slider-label--after {
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    color: #111111;
}

@media (max-width: 1024px) {
    .service-gallery__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-gallery__info-panel .section-header {
        text-align: center !important;
    }
    .service-gallery__info-panel .section-header__text {
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .service-gallery {
        padding: 60px 0;
    }
    .before-after-slider {
        aspect-ratio: 4 / 3;
    }
}

/* 핵심 기술 특장점 (.service-features) */
.service-features {
    padding: 100px 0;
    margin-bottom: 0;
    position: relative;
}

.service-features--dark {
    background-color: var(--color-primary-deep) !important;
    color: var(--color-white);
}

.service-features--dark .section-header__title {
    color: var(--color-white) !important;
}

.service-features--dark .section-header__text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.features-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.features-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}

.features-card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.features-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.features-card:hover .features-card__media img {
    transform: scale(1.06);
}

.features-card__body {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.features-card__number {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 10px;
    line-height: 1.3;
}

.features-card__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
    line-height: 1.28;
}

.features-card__text {
    font-size: 14.5px;
    color: var(--color-text-body);
    line-height: 1.55;
}

/* 다크 테마 카드 스타일 */
.service-features--dark .features-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-features--dark .features-card__title {
    color: var(--color-white);
}

.service-features--dark .features-card__text {
    color: rgba(255, 255, 255, 0.8);
}

.service-features--dark .features-card__number {
    color: var(--color-accent);
    background: rgba(247, 192, 74, 0.15);
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .service-features {
        padding: 60px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .features-card__body {
        padding: 24px 20px;
    }
}

/* 자주 묻는 질문 (.service-faq) - 단독 섹션 구성 */
.service-faq {
    padding-bottom: 100px;
}

.service-faq__list {
    margin-top: 30px !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-faq__item {
    background: var(--color-panel);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-faq__item:hover {
    background: var(--color-primary-soft);
    border-color: rgba(4, 132, 109, 0.15);
}

.service-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-ink);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
    gap: 16px;
}

.service-faq__question span.arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: var(--color-primary);
    font-weight: 400;
    transition: transform 0.3s ease, color 0.3s;
}

.service-faq__item.active {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(4, 132, 109, 0.05);
}

.service-faq__item.active .service-faq__question {
    color: var(--color-primary-dark);
}

.service-faq__item.active .service-faq__question span.arrow {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.service-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.service-faq__answer-inner {
    padding: 0 28px 22px 28px;
    font-size: 14.5px;
    color: var(--color-text-body);
    line-height: 1.7;
    border-top: none;
}

@media (max-width: 1024px) {
    .service-faq {
        padding-bottom: 60px;
    }
}

/* 하단 문의 CTA 배너 */
.service-cta {
    position: relative;
    padding: 80px 0; /* 여백 80px 규격화 */
    color: var(--color-white);
    margin-bottom: 0 !important;
    text-align: center; /* 텍스트 가운데 정렬 */
    background-color: var(--color-primary-deep);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* 어두운 오버레이 */
.service-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* 가독성을 위한 검은색 65% 오버레이 */
    z-index: 1;
}

.service-cta__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column; /* 세로 일렬 배치 */
    align-items: center; /* 가로 가운데 정렬 */
    justify-content: center;
    gap: 28px; /* 간격 균형있게 */
}

.service-cta__content {
    width: 100%;
    max-width: 800px;
}

.service-cta__title {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: var(--font-heavy);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-white) !important;
}

.service-cta__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 전화번호 영역 추가 */
.service-cta__phone {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: var(--font-bold);
    color: #3fab4a !important; /* 초록색(#3fab4a)으로 변경 */
    margin-top: 18px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.service-cta__phone a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* 아이콘과 텍스트 간격 */
}

.service-cta__phone a i {
    font-size: 1.15em;
    opacity: 0.9;
}

.service-cta__phone a:hover {
    opacity: 0.8;
}

.service-cta__phone span {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

.service-cta__actions {
    display: flex;
    flex-direction: row; /* 버튼 가로 나란히 배치 */
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.button.button--subpage-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 16.5px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-width: 240px;
}

.button.button--subpage-cta.button--primary {
    background: #3fab4a; /* 초록색(#3fab4a)으로 변경 */
    color: var(--color-white, #ffffff);
    border: 1px solid transparent;
    box-shadow: none !important; /* 그림자 완전 제거 */
}

.button.button--subpage-cta.button--primary:hover {
    background: transparent;
    color: var(--color-white);
    border-color: #3fab4a; /* 초록색 테두리로 전환 */
    transform: translateY(-3px);
    box-shadow: none !important; /* 그림자 제거 */
}

.button.button--subpage-cta.button--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

.button.button--subpage-cta.button--outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: none !important; /* 그림자 제거 */
}

/* 카카오톡 노란색 버튼 스타일 */
.button.button--subpage-cta.button--kakao {
    background: #fee500;
    color: #191919;
    border: 1px solid transparent;
}

.button.button--subpage-cta.button--kakao:hover {
    background: #f7e314;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: none !important; /* 그림자 제거 */
}

.button.button--subpage-cta.button--kakao i {
    margin-right: 8px;
    font-size: 1.25em;
    vertical-align: middle;
}

@media (max-width: 1024px) {
    .service-cta__container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .service-cta {
        padding: 80px 24px;
    }
    .service-cta__title {
        font-size: 26px;
    }
    .service-cta__text {
        font-size: 15px;
    }
    .service-cta__actions {
        width: 100%;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .service-cta {
        padding: 60px 20px;
    }
    .button.button--subpage-cta {
        width: 100%;
        min-width: unset;
    }
}

/* =================================================================
   에코원클린 줄눈시공 탭 및 인터랙션 관련 스타일
   (service-grout.html 인라인 스타일 이관 및 중복 최적화)
   ================================================================= */
.eco-tabs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.eco-tab-btn {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    color: var(--color-muted);
    min-height: 44px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.eco-tab-btn:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.eco-tab-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 8px 16px rgba(4, 132, 109, 0.18);
}

/* 비포/애프터 갤러리 내 세로 배치 탭 대응 */
.service-gallery__info-panel .eco-tabs-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 30px;
    gap: 8px;
}
.service-gallery__info-panel .eco-tab-btn {
    text-align: left;
    padding: 14px 24px;
    border-radius: 10px;
    width: 100%;
    max-width: 280px;
}

/* 반응형 그리드 보완 (PC) */
@media (min-width: 1025px) {
    .service-targets__grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.scope-detail-panel {
    display: none;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-card);
    animation: fadeSlideIn 0.35s ease-out;
}
.scope-detail-panel.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    padding: 0;
}
.scope-img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
}
.scope-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.scope-img-wrap:hover img {
    transform: scale(1.08);
}

/* 반응형 미디어 쿼리 통합 및 최적화 */
@media (max-width: 1024px) {
    .service-gallery__info-panel {
        min-width: 0;
    }
    .service-gallery__info-panel .eco-tabs-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-direction: row;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        margin-top: 20px;
        margin-bottom: 24px;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .service-gallery__info-panel .eco-tab-btn {
        padding: 8px 18px;
        font-size: 13px;
        flex-shrink: 0;
        width: auto;
        text-align: center;
    }
    .scope-detail-panel.active {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eco-tabs-container {
        justify-content: flex-start !important;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        margin-top: 20px;
        margin-bottom: 24px;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .eco-tab-btn {
        padding: 8px 18px;
        font-size: 13px;
        flex-shrink: 0;
    }
    .scope-detail-panel.active {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    /* 인라인 PC 여백이 남아 있는 작업범위 섹션만 모바일 밀도로 보정 */
    .page-service-detail .service-scope-table {
        padding-block: 60px !important;
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================================
   에코원클린 회사소개 리뉴얼 페이지
   파일: /pages/about.html
   ================================================================= */
.brand-profile {
    --cb-ink: #111514;
    --cb-muted: #5d6864;
    --cb-soft: #f5f8f7;
    --cb-line: #dfe7e4;
    --cb-green: #158f69;
    --cb-green-dark: #0c6049;
    --cb-dark: #101413;
    --cb-dark-2: #1b211f;
    --cb-shadow: 0 24px 70px rgba(17, 21, 20, 0.1);
    background: #ffffff;
    color: var(--cb-ink);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.about-redesign .floating-quick-menu {
    display: none;
}

.cb-shell {
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: var(--container);
    margin-inline: auto;
}

.cb-hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-height) - 132px);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--cb-line);
    background: #ffffff;
}

.cb-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.08fr);
    align-items: center;
    gap: 70px;
}

.cb-hero__copy h1 {
    max-width: 680px;
    color: var(--cb-ink);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.cb-hero__lead {
    max-width: 610px;
    margin-top: 22px;
    color: var(--cb-muted);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.75;
}

.cb-hero__actions,
.cb-overview__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 850;
    line-height: 1;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cb-button:hover {
    transform: translateY(-2px);
}

.cb-button--primary {
    background: var(--cb-green);
    color: #ffffff;
}

.cb-button--primary:hover {
    background: var(--cb-green-dark);
}

.cb-button--ghost {
    border: 1px solid var(--cb-line);
    background: #ffffff;
    color: var(--cb-ink);
}

.cb-button--ghost:hover {
    border-color: var(--cb-green);
    color: var(--cb-green-dark);
}

.cb-button--dark {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.cb-button--dark:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.cb-hero__signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 680px;
    margin-top: 38px;
    border-top: 1px solid var(--cb-line);
    border-bottom: 1px solid var(--cb-line);
}

.cb-hero__signals div {
    padding: 18px 22px 18px 0;
}

.cb-hero__signals div + div {
    padding-left: 22px;
    border-left: 1px solid var(--cb-line);
}

.cb-hero__signals dt {
    color: var(--cb-green-dark);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 8px;
}

.cb-hero__signals dd {
    color: var(--cb-muted);
    font-size: 14px;
    line-height: 1.55;
}

.cb-hero__media {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cb-soft);
    box-shadow: var(--cb-shadow);
}

.cb-hero__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.cb-hero__media figcaption {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 24px;
    color: var(--cb-muted);
    font-size: 14px;
    font-weight: 750;
    background: #ffffff;
    border-top: 1px solid var(--cb-line);
}

.cb-section {
    padding: 118px 0;
}

.cb-section-head {
    max-width: 720px;
}

.cb-section-head--wide {
    max-width: 840px;
    margin-inline: auto;
    text-align: center;
}

.cb-section-head--sticky {
    position: sticky;
    top: calc(var(--header-height) + 34px);
    align-self: start;
}

.cb-section-head span,
.cb-overview__info > span {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--cb-green);
    font-size: 15px;
    font-weight: 900;
}

.cb-section-head h2,
.cb-overview__info h2,
.cb-overview__cta h2 {
    color: var(--cb-ink);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: 0;
}

.cb-section-head p {
    margin-top: 22px;
    color: var(--cb-muted);
    font-size: 17px;
    line-height: 1.8;
}

.cb-intro {
    background: #ffffff;
}

.cb-intro__grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    gap: 88px;
    align-items: start;
}

.cb-intro__body {
    max-width: 760px;
}

.cb-intro__body > p {
    color: var(--cb-muted);
    font-size: 19px;
    line-height: 1.9;
}

.cb-intro__body > p + p {
    margin-top: 24px;
}

.cb-intro__quote {
    margin-top: 44px;
    padding: 34px 38px;
    border-left: 4px solid var(--cb-green);
    background: var(--cb-soft);
}

.cb-intro__quote strong {
    display: block;
    color: var(--cb-green-dark);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cb-intro__quote p {
    color: var(--cb-ink);
    font-size: 24px;
    font-weight: 850;
    line-height: 1.45;
}

.cb-vision {
    background: var(--cb-soft);
}

.cb-vision__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 70px;
    align-items: center;
}

.cb-vision__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.cb-vision__list article {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px 24px;
    align-items: start;
    min-height: 142px;
    padding: 28px;
    border: 1px solid var(--cb-line);
    border-radius: 8px;
    background: #ffffff;
}

.cb-vision__list .material-symbols-outlined {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--cb-green);
    background: rgba(21, 143, 105, 0.1);
    font-size: 30px;
}

.cb-vision__list h3 {
    color: var(--cb-ink);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.35;
}

.cb-vision__list p {
    grid-column: 2;
    color: var(--cb-muted);
    font-size: 15.5px;
    line-height: 1.75;
}

.cb-process {
    background: #ffffff;
}

.cb-process__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.34fr) minmax(0, 0.66fr);
    gap: 58px;
    align-items: start;
}

.cb-text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 34px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    color: var(--cb-green-dark);
    font-size: 15px;
    font-weight: 900;
}

.cb-process__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding-top: 26px;
    border-top: 1px solid var(--cb-line);
}

.cb-process__steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    border: 1px solid var(--cb-line);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.cb-process__steps li::before {
    content: "";
    position: absolute;
    top: -31px;
    left: 22px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cb-green);
    box-shadow: 0 0 0 6px rgba(21, 143, 105, 0.12);
}

.cb-process__steps img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(0.86);
}

.cb-process__steps div {
    padding: 22px 18px 24px;
}

.cb-process__steps strong {
    display: block;
    color: var(--cb-green);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 14px;
}

.cb-process__steps h3 {
    color: var(--cb-ink);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 10px;
}

.cb-process__steps p {
    color: var(--cb-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.cb-values {
    padding: 108px 0;
    background: var(--cb-dark);
    color: #ffffff;
}

.cb-values__grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
    gap: 64px;
    align-items: start;
}

.cb-values .cb-section-head h2 {
    color: #ffffff;
}

.cb-values .cb-section-head span {
    color: #62c495;
}

.cb-values__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cb-values__items article {
    min-height: 280px;
    padding: 34px 26px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.cb-values__items article:last-child {
    border-right: 0;
}

.cb-values__items .material-symbols-outlined {
    color: #62c495;
    font-size: 42px;
    margin-bottom: 28px;
}

.cb-values__items h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 14px;
}

.cb-values__items p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14.5px;
    line-height: 1.75;
}

.cb-scope {
    background: #ffffff;
}

.cb-scope__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid var(--cb-line);
    border-bottom: 1px solid var(--cb-line);
}

.cb-scope__rail a {
    display: flex;
    min-height: 154px;
    flex-direction: column;
    justify-content: center;
    padding: 28px 26px;
    border-right: 1px solid var(--cb-line);
    transition: background-color 180ms ease, color 180ms ease;
}

.cb-scope__rail a:last-child {
    border-right: 0;
}

.cb-scope__rail a:hover {
    background: var(--cb-soft);
}

.cb-scope__rail strong {
    color: var(--cb-ink);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cb-scope__rail span {
    color: var(--cb-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.cb-overview {
    padding: 0 0 112px;
    background: #ffffff;
}

.cb-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 560px;
    border: 1px solid var(--cb-line);
}

.cb-overview__info {
    padding: 58px 56px;
    background: #ffffff;
}

.cb-overview__info h2 {
    max-width: 560px;
    font-size: 34px;
    line-height: 1.28;
}

.cb-overview__info dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 42px;
    border-top: 1px solid var(--cb-line);
}

.cb-overview__info dl div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 58px;
    padding: 15px 0;
    border-bottom: 1px solid var(--cb-line);
}

.cb-overview__info dl div:nth-child(odd) {
    padding-right: 24px;
}

.cb-overview__wide {
    grid-column: 1 / -1;
}

.cb-overview__info dt {
    color: var(--cb-muted);
    font-size: 14px;
    font-weight: 850;
}

.cb-overview__info dd {
    color: var(--cb-ink);
    font-size: 15.5px;
    font-weight: 750;
    line-height: 1.55;
}

.cb-overview__cta {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 560px;
    padding: 58px;
    color: #ffffff;
    background-image: linear-gradient(180deg, rgba(16, 20, 19, 0.08) 0%, rgba(16, 20, 19, 0.92) 100%), url("../images/ecowon-about-hero-20260619.webp");
    background-position: center;
    background-size: cover;
}

.cb-overview__cta h2 {
    max-width: 650px;
    color: #ffffff;
    font-size: 38px;
}

.cb-overview__cta p {
    max-width: 560px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 1180px) {
    .cb-hero__grid,
    .cb-intro__grid,
    .cb-vision__layout,
    .cb-process__grid,
    .cb-values__grid,
    .cb-overview__grid {
        grid-template-columns: 1fr;
    }

    .cb-hero {
        min-height: auto;
    }

    .cb-hero__copy h1 {
        font-size: 46px;
    }

    .cb-section-head--sticky {
        position: static;
    }

    .cb-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cb-process__steps li {
        min-height: auto;
    }

    .cb-values__items,
    .cb-scope__rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cb-values__items article:nth-child(2n),
    .cb-scope__rail a:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 768px) {
    .cb-hero {
        padding: 46px 0 44px;
    }

    .cb-hero__grid {
        gap: 34px;
    }

    .cb-hero__copy h1 {
        font-size: 34px;
        line-height: 1.16;
    }

    .cb-hero__lead {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.7;
    }

    .cb-hero__actions,
    .cb-overview__actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 28px;
    }

    .cb-button {
        width: 100%;
    }

    .cb-hero__actions {
        flex-direction: row;
        gap: 10px;
    }

    .cb-hero__actions .cb-button {
        flex: 1 1 0;
        width: auto;
        min-height: 48px;
        padding: 0 12px;
        font-size: 14px;
    }

    .cb-hero__signals {
        display: none;
    }

    .cb-hero__media img {
        aspect-ratio: 16 / 9;
    }

    .cb-hero__media figcaption {
        display: none;
    }

    .cb-section {
        padding: 76px 0;
    }

    .cb-section-head h2,
    .cb-overview__info h2,
    .cb-overview__cta h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .cb-section-head p {
        font-size: 15.5px;
    }

    .cb-intro__body > p {
        font-size: 16px;
    }

    .cb-intro__quote {
        padding: 26px 24px;
    }

    .cb-intro__quote p {
        font-size: 20px;
    }

    .cb-vision__list article {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 24px 20px;
    }

    .cb-vision__list .material-symbols-outlined {
        width: 46px;
        height: 46px;
        font-size: 26px;
    }

    .cb-process__steps,
    .cb-values__items,
    .cb-scope__rail {
        grid-template-columns: 1fr;
    }

    .cb-process__steps li::before {
        display: none;
    }

    .cb-values {
        padding: 78px 0;
    }

    .cb-values__items article,
    .cb-values__items article:nth-child(2n),
    .cb-scope__rail a,
    .cb-scope__rail a:nth-child(2n) {
        border-right: 0;
    }

    .cb-values__items article + article,
    .cb-scope__rail a + a {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .cb-scope__rail a + a {
        border-top-color: var(--cb-line);
    }

    .cb-overview {
        padding-bottom: 76px;
    }

    .cb-overview__info,
    .cb-overview__cta {
        padding: 34px 24px;
    }

    .cb-overview__info dl {
        grid-template-columns: 1fr;
    }

    .cb-overview__info dl div,
    .cb-overview__info dl div:nth-child(odd) {
        grid-template-columns: 92px minmax(0, 1fr);
        padding-right: 0;
    }

    .cb-overview__cta {
        min-height: 430px;
    }
}


/* =================================================================
   에코원클린 서브페이지 카테고리 탭 (section-tabs)
   ================================================================= */
.section-tabs {
  background-color: var(--color-bg-light, #f7f9f8);
  border-bottom: 1px solid rgba(4, 132, 109, 0.15);
  padding-block: 0;
  text-align: center;
}

.section-tabs__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: var(--container, 1200px);
  box-sizing: border-box;
  margin-inline: auto;
  padding-inline: var(--page-gutter, 20px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.section-tabs__inner::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.section-tabs__link {
  display: inline-block;
  flex: 0 0 auto;
  padding: 16px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-ink-light, #5c6b65);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease);
  white-space: nowrap;
}

.section-tabs__link:hover {
  color: var(--color-primary, #04846d);
}

.section-tabs__link.is-active {
  color: var(--color-primary, #04846d);
  border-bottom-color: var(--color-primary, #04846d);
}

@media (max-width: 768px) {
  .section-tabs__inner {
    justify-content: flex-start;
  }
  .section-tabs__link {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* =================================================================
   인증서 페이지 전용 레이아웃 오버라이드 및 단독 이미지 스타일
   ================================================================= */
.service-overview--cert-grid {
    display: block !important;
    padding-top: 10px !important;
    padding-bottom: 40px !important;
}
.service-overview__media-single {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--color-panel, #fff);
}
.service-overview__media-single img {
    width: 100%;
    height: auto;
    display: block;
}
