.flow-section {
  padding: 70px 0 120px;
  background: #FFFFFF;
}

.flow-section.wedding-day {
  padding-top: 40px;
}

.flow-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 220px;
}

.flow-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 70px;
}

.flow-subtitle {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 2.24px;
  color: #B33D31;
  text-align: left;
}

.flow-subtitle.blue {
  color: #33658A;
}

.flow-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 40.8px;
  color: #251D03;
}

.flow-decoration {
  margin-top: 8px;
}

.decoration-line {
  width: 272px;
  height: 3.69px;
}

.flow-content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.flow-image {
  position: relative;
  flex-shrink: 0;
}

.flow-main-image {
  width: 191px;
  height: 247px;
  object-fit: cover;
}

.flow-decoration-image {
  position: absolute;
  bottom: -28px;
  right: -20px;
  width: 100px;
  height: 52px;
  object-fit: cover;
}

.flow-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: linear-gradient(180deg, #AE3F35 0%, #455BA0 100%);
  border-radius: 20px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 32px;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50px;
  right: 0;
  height: 1px;
  background: #D9D9D9;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.step-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.step-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 38.4px;
  color: #251D03;
  flex: 1;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 50px;
}

.step-description {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
  color: #251D03;
}

.step-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #B33D31 0%, #8B2F26 100%);
  color: #FFFFFF;
  padding: 8px 28px;
  border-radius: 80px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 25.2px;
  text-align: center;
  transition: all 0.3s ease;
  width: fit-content;
}

.step-button:hover {
  background: linear-gradient(135deg, #9A2F26 0%, #7A251F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179, 61, 49, 0.3);
}

.button-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .flow-container {
    padding: 0 40px;
  }
  
  .flow-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .flow-image {
    align-self: center;
  }
  
  .flow-title {
    font-size: 28px;
    line-height: 34px;
  }
  
  .step-title {
    font-size: 20px;
    line-height: 32px;
  }
  
  .decoration-line {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .flow-container {
    padding: 0 20px;
  }
  
  .flow-section {
    padding: 40px 0 80px;
  }
  
  .flow-header {
    margin-bottom: 40px;
  }
  
  .flow-title {
    font-size: 24px;
    line-height: 30px;
  }
  
  .step-title {
    font-size: 18px;
    line-height: 28px;
  }
  
  .step-description {
    font-size: 13px;
    line-height: 20px;
  }
  
  .step-content {
    margin-left: 40px;
  }
  
  .step-header {
    gap: 8px;
  }
  
  .step-icon {
    width: 32px;
    height: 32px;
  }
  
  .flow-steps::before {
    left: 16px;
  }
}
