/* 메인 배너 */
#marketing-main-banner {
  background: 
  url('/Nhome/assets/images/business-introduction/marketing/marketing-service-main-banner.jpg');
  background-size: cover;
  background-position: center;
}

.main-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
}

.marketing-main-banner-content {
  position: absolute;
  right: 80px;
  bottom: 32px;
  text-align: right;
}



/* scroll down */
.next-section-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 32px;
  left: 50%;
  translate: -50% 0%;
  color: var(--white);
  z-index: 100;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 767px) {
  .next-section-scroll {
    bottom: 20px;
  }
}

.next-section-scroll .interaction {
  width: 8px;
  height: 20px;
}

/* 메인 이벤트 */
#marketing-event {
  padding-top: 120px;
  padding-bottom: 180px;
}

@media (max-width: 1279px) {
  #marketing-event {
    padding-top: 100px;
    padding-bottom: 160px;
  }
}

@media (max-width: 767px) {
  #marketing-event {
    padding-top: 80px;
    padding-bottom: 120px;
  }
}

.service-list-title p{
  white-space: nowrap;
}

.description {
  margin-top: 24px;
}

/* 인쇄, 디자인 */
#marketing-design {
  background-color: var(--gray-000);
  padding-top: 120px;
  padding-bottom: 180px;
}

@media screen and (max-width: 1279px) {
  #marketing-design {
    padding-top: 100px;
    padding-bottom: 160px;
  }
}

@media screen and (max-width: 767px) {
  #marketing-design {
    padding-top: 80px;
    padding-bottom: 120px;
  }
}

.design-content-layout {
  display: flex;
  gap: 48px;
}

@media screen and (max-width: 1279px) {
  .design-content-layout {
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .design-content-layout {
    flex-direction: column;
    gap: 40px;
  }
}

.design-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 767px) {
  .design-card {
    gap: 12px;
  }
}

/* 크리닝 서비스 */
#marketing-cleaning {
  padding-top: 120px;
  padding-bottom: 180px;
}

@media screen and (max-width: 1279px) {
  #marketing-cleaning {
    padding-top: 100px;
    padding-bottom: 160px;
  }
}

@media screen and (max-width: 767px) {

  #marketing-cleaning {
    padding-top: 80px;
    padding-bottom: 120px;
  }
}

/* 종합 환경 관리 */
#marketing-environment {
  display: flex;
  flex-direction: column;
  background-color: var(--gray-000);
  position: relative;
}

@media (max-width: 1279px) {
  #marketing-environment {
    display: none;
  }
}

/* 스냅 스크롤 컨테이너 */
.marketing-environment-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.marketing-environment-content {
  position: relative;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* padding-bottom: 50vh; */
}

.marketing-environment-container {
  /* 첫 번째 컨테이너가 화면 중앙에 오도록 초기 오프셋 */
  padding-top: 20vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 80px;
  /* min-height 제거 - 자연스러운 높이 사용 */
  /* padding: 0 var(--layout-padding); */
  max-width: var(--layout-max-width);
  margin: 0 auto 60px auto; /* 컨테이너 간 60px 간격 */
  opacity: 0.3;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-sizing: border-box;
}

/* 마지막 컨테이너는 margin-bottom 없음 */
.marketing-environment-container:last-child {
  margin-bottom: 0;
}

/* 현재 활성화된 컨테이너 */
.marketing-environment-container.active {
  opacity: 1;
  transform: scale(1);
}

/* 이전/다음 컨테이너는 살짝 보이게 */
.marketing-environment-container.adjacent {
  opacity: 0.2;
  transform: scale(0.98);
}

/* 서비스 콘텐츠 스타일 */
.marketing-environment-content {
  grid-column: 1 / 6;
  z-index: 2;
}

.environment-subtitle {
  margin-bottom: 4px;
}

.environment-title {
  margin-bottom: 36px;
}

@media screen and (max-width: 767px) {
  .environment-title {
    margin-bottom: 24px;
  }
}

.environment-list {
  list-style: disc;
  padding-left: 20px;
}

.environment-list li::marker {
  font-size: 0.7em;
}

.marketing-environment-container img {
  grid-column: 6 / 13;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

/* 모바일 반응형 */
@media (max-width: 1279px) {
  .marketing-environment-container {
    gap: 60px;
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .marketing-environment-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
  }

  .marketing-environment-content {
    grid-column: 1;
  }

  .marketing-environment-container img {
    grid-column: 1;
    max-height: 40vh;
  }
}

/* Tablet, Mobile */
#marketing-environment-mobile {
  display: none;
}

@media (max-width: 1279px) {
  #marketing-environment-mobile {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 160px;
    padding-bottom: 160px;
    background-color: var(--gray-000);
  }
}

@media (max-width: 767px) {
  #marketing-environment-mobile {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.marketing-environment-container-mobile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.marketing-environment-container-mobile img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.environment-title-mobile {
  margin-bottom: 24px;
}

.environment-list-mobile {
  list-style: disc;
  padding-left: 16px;
}

.environment-list-mobile li::marker {
  font-size: 0.8em;
}


/* 간판, 사인 */
#marketing-sign {
  padding-top: 120px;
  padding-bottom: 180px;
}

@media screen and (max-width: 1279px) {
  #marketing-sign {
    padding-top: 100px;
    padding-bottom: 160px;
  }
}

@media screen and (max-width: 767px) {
  #marketing-sign {
    padding-top: 80px;
    padding-bottom: 120px;
  }
}

.sign-description {
  margin-top: 24px;
}

.sign-content-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

@media screen and (max-width: 1279px) {
  .sign-content-layout {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .sign-content-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.sign-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 767px) {
  .sign-card {
    gap: 12px;
  }
}

/* 프로세스 */
#marketing-process {
  padding-top: 120px;
  padding-bottom: 180px;
  position: relative;
  background-color: var(--gray-000);
}

.process-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/Nhome/assets/images/business-introduction/marketing/process/work-process-background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

@media (max-width: 767px) {
  .process-background {
    background-position: 15% center;
  }
}

@media screen and (max-width: 1279px) {
  #marketing-process {
    padding-top: 100px;
    padding-bottom: 160px;
  }
}

.process-layout {
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.process-content-layout {
  display: flex;
  gap: 24px;
  width: 100%;
  margin-top: 60px;
}

@media screen and (max-width: 1279px) {
  .process-content-layout {
    display: grid;
    column-gap: 12px;
    row-gap: 24px;
    padding: 0px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .process-content-layout {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px;
  }
}

.process-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

@media screen and (max-width: 1279px) {
  .process-card {
  }
}

.process-card-title {
  display: flex;
  margin-top: 24px;
  gap: 12px;
}

@media screen and (max-width: 1279px) {
  .process-card-title {
    margin-top: 0px;
  }
}

@media screen and (max-width: 767px) {
  .process-card-title {
    margin-top: 12px;
  }
}

.process-card-description {
  margin-top: 16px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .process-card-description {
    margin-top: 8px;
  }
}

/* 공사 */
#marketing-construction {
  display: flex;
  flex-direction: column;
  background-color: var(--gray-000);
  position: relative;
}

@media (max-width: 1279px) {
  #marketing-construction {
    display: none;
  }
}

/* 스냅 스크롤 컨테이너 */
.marketing-construction-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.marketing-construction-content {
  position: relative;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* padding-bottom: 50vh; */
}

.marketing-construction-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 80px;
  
  /* min-height 제거 - 자연스러운 높이 사용 */
  /* 첫 번째 컨테이너가 화면 중앙에 오도록 초기 오프셋 */
  padding-top: 20vh;
  /* padding: 0 var(--layout-padding); */
  max-width: var(--layout-max-width);
  margin: 0 auto 60px auto; /* 컨테이너 간 60px 간격 */
  opacity: 0.3;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-sizing: border-box;
}

/* 마지막 컨테이너는 margin-bottom 없음 */
.marketing-construction-container:last-child {
  margin-bottom: 0;
}

/* 현재 활성화된 컨테이너 */
.marketing-construction-container.active {
  opacity: 1;
  transform: scale(1);
}

/* 이전/다음 컨테이너는 살짝 보이게 */
.marketing-construction-container.adjacent {
  opacity: 0.2;
  transform: scale(0.98);
}

/* 서비스 콘텐츠 스타일 */
.marketing-construction-content {
  grid-column: 1 / 6;
  z-index: 2;
}

.construction-subtitle {
  margin-bottom: 4px;
}

.construction-title {
  margin-bottom: 36px;
}

.construction-list {
  list-style: disc;
  padding-left: 20px;
}

.construction-list li::marker {
  font-size: 0.7em;
}

.marketing-construction-container img {
  grid-column: 6 / 13;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

/* 모바일 반응형 */
@media (max-width: 1279px) {
  .marketing-construction-container {
    gap: 60px;
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .marketing-construction-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
  }

  .marketing-construction-content {
    grid-column: 1;
  }

  .marketing-construction-container img {
    grid-column: 1;
    max-height: 40vh;
  }
}

/* Tablet, Mobile */
#marketing-construction-mobile {
  display: none;
}

@media (max-width: 1279px) {
  #marketing-construction-mobile {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 160px;
    padding-bottom: 160px;
    background-color: var(--gray-000);
  }
}

@media (max-width: 767px) {
  #marketing-construction-mobile {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .construction-title {
    margin-bottom: 24px;
  }
}

.marketing-construction-container-mobile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.marketing-construction-container-mobile img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 유통 */
#marketing-distribution {
  padding-top: 120px;
  padding-bottom: 180px;
}

@media screen and (max-width: 1279px) {
  #marketing-distribution {
    padding-top: 100px;
    padding-bottom: 160px;
  }
}

@media screen and (max-width: 767px) {
  #marketing-distribution {
    padding-top: 80px;
    padding-bottom: 120px;
  }
}

.marketing-img-container {
  margin: 80px 0px;

}

@media screen and (max-width: 1279px) {
  .marketing-img-container {
    margin: 56px 0px;
  }
}

@media screen and (max-width: 767px) {
  .marketing-img-container {
    margin: 40px 0px;
  }
}

.marketing-img-container img {
  width: 100%;
  height: 372px;
  object-fit: cover;
  object-position: top;
}

.position-center img {
  width: 100%;
  height: 372px;

  object-position: center;

} 

@media screen and (max-width: 1279px) {
  .marketing-img-container img {
    height: 260px;
  }
}

@media screen and (max-width: 767px) {
  .marketing-img-container img {
    height: 260px;
  }
}

.distribution-card-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.distribution-card-layout {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (max-width: 1279px) {
  .distribution-card-layout {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

  .distribution-arrow {
    transform: rotate(90deg);
  }
}

.distribution-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  padding-right: 78px;
  padding-bottom: 152px;
  border-radius: 8px;
  flex: 1;
  height: 280px;
}

@media screen and (max-width: 1279px) {
  .distribution-card {
    padding: 20px;
    width: 100%;
    flex: 1;
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  .distribution-card {
    padding-left: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
  }
}

.distribution-card-info {
  margin-top: 16px;
}

.distribution-franchise-container {
  margin-top: 48px;
}

.distribution-franchise-info {
  margin-top: 32px;
  display: flex;
  gap: 48px;
}

@media screen and (max-width: 1279px) {
  .distribution-franchise-info {
    flex-direction: column;
    gap: 24px;
  }
}

.distribution-franchise-card {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 0 0;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
  background-color: var(--gray-000);
}

@media screen and (max-width: 1279px) {
  .distribution-franchise-card {
    padding: 32px 24px;
  }
}

@media screen and (max-width: 767px) {
  .distribution-franchise-card {
    padding: 32px 16px;
  }
}

/* 편의점 */
#marketing-convenience {
  display: flex;
  flex-direction: column;
  background-color: var(--gray-000);
  position: relative;
}

@media (max-width: 1279px) {
  #marketing-convenience {
    display: none;
  }
}

/* 스냅 스크롤 컨테이너 */
.marketing-convenience-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.marketing-convenience-content {
  position: relative;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* padding-bottom: 50vh; */
}

.marketing-convenience-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 80px;
  /* min-height 제거 - 자연스러운 높이 사용 */
  /* 첫 번째 컨테이너가 화면 중앙에 오도록 초기 오프셋 */
  padding-top: 20vh;
  max-width: var(--layout-max-width);
  margin: 0 auto 60px auto; /* 컨테이너 간 60px 간격 */
  opacity: 0.3;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-sizing: border-box;
}

/* 마지막 컨테이너는 margin-bottom 없음 */
.marketing-convenience-container:last-child {
  margin-bottom: 0;
}

/* 현재 활성화된 컨테이너 */
.marketing-convenience-container.active {
  opacity: 1;
  transform: scale(1);
}

/* 이전/다음 컨테이너는 살짝 보이게 */
.marketing-convenience-container.adjacent {
  opacity: 0.2;
  transform: scale(0.98);
}

/* 서비스 콘텐츠 스타일 */
.marketing-convenience-content {
  grid-column: 1 / 6;
  z-index: 2;
}

.convenience-subtitle {
  margin-bottom: 4px;
}

.convenience-title {
  margin-bottom: 36px;
}

@media screen and (max-width: 767px) {
  .convenience-title {
    margin-bottom: 24px;
  }
}

.convenience-list {
  list-style: disc;
  padding-left: 20px;
}

.convenience-list li::marker {
  font-size: 0.7em;
}

.marketing-convenience-container img {
  grid-column: 6 / 13;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

/* 모바일 반응형 */
@media (max-width: 1279px) {
  .marketing-convenience-container {
    gap: 60px;
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .marketing-convenience-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
  }

  .marketing-convenience-content {
    grid-column: 1;
  }

  .marketing-convenience-container img {
    grid-column: 1;
    max-height: 40vh;
  }
}

/* Tablet, Mobile */
#marketing-convenience-mobile {
  display: none;
}

@media (max-width: 1279px) {
  #marketing-convenience-mobile {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 160px;
    padding-bottom: 160px;
    background-color: var(--gray-000);
  }
}

@media (max-width: 767px) {
  #marketing-convenience-mobile {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.marketing-convenience-container-mobile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.marketing-convenience-container-mobile img {
  width: 100%;
  height: auto;
  object-fit: cover;
}